3
Git 新建无历史记录分支
source link: https://fann.im/blog/2013/08/23/git-checkout-orphan/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Meet @fannheyward
Git 新建无历史记录分支
Aug 23, 2013
git checkout --orphan NEW_BRANCH_NAME
在代码开源分发等时候往往需要去掉不必要的历史记录,这种新分支方式会很方便。
Was this page helpful?
Meet @fannheyward
Heyward Fann, aka fannheyward, a developer based in Beijing, China.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK