======>>>>>>>> $ cd ~
=======>>>>>>> $vim .profile
.profile contents:
alias ls='ls -G'vi
alias gitdeleteall="git checkout | grep ^D | awk '{print \$2}' | xargs -n 1 -I {} git rm {}”
alias gpullm='git pull origin master ; git submodule update'
alias svnrm='svn status | grep ^! | awk "{print \"svn rm \"\$2}"'
alias svnadd='svn status | grep ^? | awk “{print \"svn add \"\$2}"'
alias svnaddall="svn status | grep ^? | grep -v 'StreamingAssets/VoxelSaves/' | sed 's/^\?[ ]*/svn add \"/' | sed 's/$/\"@/' | bash"
alias svnrmall="svn status | grep ^! |sed 's/^![ ]*/svn rm \"/' | sed 's/$/\"@/' | bash"
export PATH=$PATH:/Users/apple/pzk/egret/protobuf.js/bin
svn command
svn checkout url //url is the address of the preject
svn update //update resources
svn revert . //revert local change
svn revert filepath //revert the change of a file
svn add . //
svn addfile-path //
svn rm . //
svn rm file-path //
svn commit -m “info” // commit you change to remote
svn log -l 10 filePath //check the commit log
svn merge -r version1:version2 filepath //
svn diff filepath //check the diffrent of file
svn revert -R filepath //
$ svn propset svn:ignore "Scripts
Scripts.meta" .
//create new branch
网友评论