menu

git和gitHub交互工作流篇

  • date_range 03/10/2022 00:00
    点击量:
    info
    sort
    git
    label
    git
git和gitHub交互工作流和常用命令

交互工作流
解决方案:

  1. git clone
  2. git checkout -b my-feature
  3. git diff
  4. git add
  5. git commit
  6. git push origin my-feature
  7. git checkout main
  8. git pull orgin master
  9. git checkout my-feature
  10. git rebase main
  11. git push -f origin my-feature
  12. Squash and merge
    git命令官网。

    https://training.github.com/downloads/zh_CN/github-git-cheat-sheet/