git和gitHub交互工作流和常用命令
交互工作流
解决方案:
- git clone
- git checkout -b my-feature
- git diff
- git add
- git commit
- git push origin my-feature
- git checkout main
- git pull orgin master
- git checkout my-feature
- git rebase main
- git push -f origin my-feature
- Squash and merge
git命令官网。
https://training.github.com/downloads/zh_CN/github-git-cheat-sheet/

WeChat - 微信公众号