VirtualBox果然还是不及VMware, 越用越慢,让人崩溃啊。现在公司又不让自己装软件了(正版也不行),只好另辟蹊径。好在Java可以跨平台,于是便在Window 7里新搭了开发环境,在Window下写代码和Unit Test,去Linux下编译验证,代码通过P4 Shelve传递。几次下来,发现P4 Command挺方便,总结几个Alias和大家分享。 😆
1 2 3 4 5 6 7 8 9 |
# Used in tcsh alias ppc p4 changes -s pending -c $P4CLIENT alias prc p4 revert -c \!:1 //... alias puf p4 unshelve -s \!:1 -c \!:2 -f //... alias pdc p4 change -d \!:1 alias pc p4 change alias psfg p4 sync -f //xx/yy/zz/... alias psg p4 sync //xx/yy/zz/... alias pdec p4 describe \!:1 |