git使用

Posted zhengmeisong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git使用相关的知识,希望对你有一定的参考价值。

向一个已存在的git上添加其他目录:

1 git init
2 git remote add xxx https://git.xxx.com/xxx/xxx.git
3 git add xx
4 git commit -m "xxx"
5 git pull https://git.xxx.com/xxx/xxx.git
6 git push cropdata master

 

以上是关于git使用的主要内容,如果未能解决你的问题,请参考以下文章