Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot combine commits using TortoiseGit

I have two branches with several commits each. On one branch, I can go to the log, select two commits, and TortoiseGit shows "combine to one commit" in the context menu. On the other branch this option does not show in the context menu. Both sequence of commits is very similar; add file then modify it, so there is no difference really between the branches.

What factors would cause this "combine to one commit" to not be available? I'm wondering if I should just switch to the command line.

like image 920
JC. Avatar asked Mar 16 '10 22:03

JC.


1 Answers

You must have the branch checked out in order to combine commits using TortoiseGit.

like image 124
JC. Avatar answered Sep 19 '22 10:09

JC.