git注意事项

1,在github中新建空的工程,第一次提交代码的时候

使用命令  $ git push -u origin master -f

后面就直接push就行了

posted @ 2018-09-26 10:54  大棒子  阅读(117)  评论(0编辑  收藏  举报