首页 > 代码库 > svn vs git , scp

svn vs git , scp

scp


把本地文件上传到服务器上

scp -P 1234 config/cert/dev/client.pem dev@xx.xxx.xxx:/srv/rorapps/fgcc/config/cert/production


svn VS git 

svn

svn checkout server_url

svn status

svn diff  **file

svn add **file

svn commit -m "xxx"


git

git clone server_url

git status

svn diff  **file

git add -A

git commit -m "xxx"

git push origin master