We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有时我们想要删除某个仓库的所有历史提交记录,这是就可以使用orphan命令
git checkout --orphan newborn master
这时候的newborn分支就是一个崭新的分支,拥有master的所有文件,但是没有任何记录,我们把这个branch提交到远端覆盖远端即可
The text was updated successfully, but these errors were encountered:
No branches or pull requests
有时我们想要删除某个仓库的所有历史提交记录,这是就可以使用orphan命令
这时候的newborn分支就是一个崭新的分支,拥有master的所有文件,但是没有任何记录,我们把这个branch提交到远端覆盖远端即可
The text was updated successfully, but these errors were encountered: