Skip to content

Git

BP

[Git Flow]1 []2

Commands

git add . -A # all repo, all change
git add . # current dir and subdir, without delete

Questions

  • stash vs stage
git stash -- 藏匿暂存,不参与commit流程
git add -- 进入staged

Refs


  1. Git workflow and best practice 

  2. [A successful Git branching model][https://nvie.com/posts/a-successful-git-branching-model/] 

评论