Lea*_*yes 5 git github
上下文: 在GitHub上启动项目并且一直在试验git命令.该项目的历史是凌乱的.
问题:如何删除所有历史记录并将所有提交消息替换为"已上载项目源的初始版本"?
And*_*ndy 7
此选项将允许您保留项目的所有配置文件 git reset --soft <sha_of_initial_commit> git commit -a --amend -m "initial commit"
git reset --soft <sha_of_initial_commit>
git commit -a --amend -m "initial commit"
归档时间:
14 年,11 月 前
查看次数:
475 次
最近记录: