Adding comments to checkintool

I recently switched to using git-tfs so that TFS is not a nightmare to work with. :) However, I noticed an annoying detail that I seem to be unable to track in documents and on the Internet.

The problem is with comments when using git tfs checkintool . When the Visual Studio Check-in dialog box appears, all my commit commit comments will be added to the current comment.

Then I have to delete everything except the last comment before registering.

This may be due to the fact that I am using TFS gated check-ins, however I am not sure. When using private registrations, registration never ends with the server. I'll just be back Checkin cancelled! . Then, as soon as the gated line has passed, I do git tfs pull to combine everything together.

Has anyone else seen this? What is the best action to clear comments?

ADDITIONAL INFORMATION:

This really has to do with TFS private verification. When the private check was disabled and I did one session, the comments were cleared.

So, I think the same behavior should be visible if many checks are canceled, and I make a lot of git tfs pull requests over time. I think that the local branch of the wizard never fully registers a click on the server.

How can I point this to git locally?

+4
source share
1 answer

Not sure I fully understand your workflow, but have you tried using the --no-build-default-comment flag with checkintool? By default, checkintool merges all comments, since the last time he thought it was synchronized with tfs, but this flag overrides this behavior, leaving you with an empty dialog.

+1
source

All Articles