Reputation: 293
So in Git you can squash multiple commits into a single commit. So for example, let's say I checked in a change, but I realized I forgot something small, so I make the change locally and then I commit again. With Git squash you can merge those into one commit.
My question is does TFS have any sort of method for doing the same thing?
Upvotes: 8
Views: 2192
Reputation: 51073
No, its not supported. You can't change the history of every changest in TFVC. If it can be achieved , it's a violation of the principle of source control.
And also you can't create a new changest then merge with the old changest, There have been a featured request in Uservoice and be declined by PM of TFS.
TFS to merge multiple, non-continuous changesets.
Thanks for the feedback on this idea. We have reviewed this feedback and determined that we will not be able to complete this suggestion in the foreseeable future.
Matt Mitrik TFS Program Manager
Upvotes: 3
Reputation: 58980
No. TFVC uses a totally different version control paradigm than Git; it does not support history rewriting actions like squashing and amending.
Upvotes: 6