首页 > 其他分享 >git 操作(自用)

git 操作(自用)

时间:2022-11-23 18:36:26浏览次数:57  
标签:origin git init fillcourse add 自用 push 操作

git 操作

  1. git init

  2. git remote add origin https://#.git

  3. git pull origin fillcourse --allow-unrelated-histories

  4. git add -A

  5. git commit -m "init"

  6. git branch fillcourse //分支名

  7. git checkout fillcourse

  8. git add -A

  9. git commit -m "init"

  10. 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 )

标签:origin,git,init,fillcourse,add,自用,push,操作
From: https://www.cnblogs.com/BULE-bule/p/16919383.html

相关文章