github被zf断断续续的墙掉,只能多试几次;习惯用svn了,作为git新手,把svn跟git命令对比了一下,瞬间发现好方便记忆了;

(1)获取代码仓库克隆:https://github.com/cobbxia/cppcheckII.git

这个命令相当于svn co $codebase

 

(2)增加新文件到代码仓库中

git add *

相当于svn add

(3)增加注释 
git commit -m "commit"

相当于svn commit

(4)提交到远程仓库git push -u origin master

相当于svn ci


(5)更新git pull

相当于svn update

 

总体而言还是感觉github更好用一些

 

相关文章:

  • 2021-05-04
  • 2021-05-17
  • 2022-12-23
  • 2021-05-08
  • 2021-06-02
  • 2021-08-21
猜你喜欢
  • 2021-07-31
  • 2021-09-30
  • 2022-01-02
  • 2021-10-10
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
相关资源
相似解决方案