git 操作(自用)
git 操作
-
git init
-
git remote add origin https://#.git
-
git pull origin fillcourse --allow-unrelated-histories
-
git add -A
-
git commit -m "init"
-
git branch fillcourse //分支名
-
git checkout fillcourse
-
git add -A
-
git commit -m "init"
-
git push origin fillcourse
使用强制push的方法:
$ git push -u origin master -f
链接:https://www.cnblogs.com/chenwolong/p/GIT.html
上传新添加的
git add -A
git commit -m "新增内容"
git push origin master:dlnu_kjc(或
git )