相关疑难解决方法(0)

修剪Git提交/压缩Git历史

我每隔几分钟就会将我的代码检查到一个Git分支中,并且评论最终会变成"Everything broken again again"和其他荒谬.

然后,每隔几分钟/小时/天,我会做一个真正的评论,比如"修正了第22,55号错误".我如何区分这两个概念?我希望能够删除所有我的频繁提交,然后离开严肃的提交.

git branch

66
推荐指数
3
解决办法
1万
查看次数

Git:在分支中合并而不会污染主历史

好的:

在svn和bzr中,我可以分支,提交,合并,我的提交历史记录将如下所示:

41: Theodore R. Smith 2013-09-14 Jump to list by name instead of number.
40: Theodore R. Smith 2013-09-14 [merge] [m] Miscellaneous cleanups.
  39.1.4: Theodore R. Smith 2013-09-14 [m] Removed old files.
  39.1.3: Theodore R. Smith 2013-09-14 [m] Fixed bug where test could not...
  39.1.2: Theodore R. Smith 2013-09-14 [m] Fixed a CSS layout bug from th...
  39.1.1: Theodore R. Smith 2013-09-14 [m] Fixed a typo.
39: Theodore R. Smith 2013-09-14 Added a progress bar.
38: Theodore R. Smith …
Run Code Online (Sandbox Code Playgroud)

git version-control bazaar git-merge

3
推荐指数
1
解决办法
1638
查看次数

标签 统计

git ×2

bazaar ×1

branch ×1

git-merge ×1

version-control ×1