Git常用命令

git clone git@gitlab.liyupei.cn:root/test1.git  #从Gitlab上clone项目 cd test1 git add test1.txt    #将test1.txt添加到仓库,等待提交 git commit -m “This is a test”  #将test1.txt提交到本地仓库 git pull origin master #拉取远程mast …