Git-TFs: TFS Changeset for Git Commit?

At work, we use TFS, and I'm trying to get the Git-TFS tool working so that I have more flexibility when working with local commits before pushing them to our TFS repo.

It works for me, but when I do git tfs ct, it checks all my commits into one set of TFS changes. Am I missing something, or is it the way it should work? If it does not drag each of my transactions individually into TFS as separate sets of changes, then this seems to be the main goal of using Git-tfs.

+5
source share
1 answer

I use the rcheckin command, which commits your new git change tables to tfs one at a time, reloading the remaining commits after each tfs commit, to get a normal tree. Using the checkintool subcommand, mergecommit is created - I don’t remember that git compromise is performed.

So, we use the usual git workflow: we check the function branch, work on it, the verification wizard and "git tfs pull", if necessary, reinstall the function branch against the master, and then combine the function for mastering and do it git tfs rcheckin. Finally, remove the function branch. In rare cases, this did not succeed (due to the locked tfs file), rcheckin stopped, leaving everything in a reasonable state, so that as soon as the obstacle was cleared, there was no problem continuing.

, git -tfs TFS .

+9

All Articles