总结git常用命令

git clone  XXX    下载

git branch -a  列出所有branch

git checkout -b mybranch origin/17.01  取远程分支并创建一个新分支

git config core.fileMode false  不要管file mode权限

git add  xxx         添加变换的文件

git commit -m "XXXXX"  本次提交日志

git push 提交


git clean –fdx 清理

参考:

https://blog.csdn.net/carolzhang8406/article/details/49757101

猜你喜欢

转载自blog.csdn.net/wangcg123/article/details/79658539