This is a migrated thread and some comments may be shown as answers.

Create GIt Repo from TFS for changes between changesets

0 Answers 33 Views
TFS Integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rajeshkumar
Top achievements
Rank 1
Rajeshkumar asked on 11 Dec 2015, 12:22 PM

Hi all,

Can anyone tell me if it's possible (and how) to create a git repository from TFS which contains only the changes between 2 specific change-sets in a TFS project?

The intention is to then use GitHub for windows to (1) view the change-set check-in comments for the change-sets and also (2) to be able to see the code file changes for each change-set.

I don't want all the change-sets as that will be huge hence my need to restrict them.

I tried a quick clone specifying a change-set but no source files were retrieved (and even if it did work this would also, I assume, include the latest code which I don't necessarily want - again hence my need to restrict to between 2 specified change-sets).

git tfs quick-clone http://server:8080/tfs/DefaultCollection $/project/folder/Root/ -c=12345

All thoughts and direction appreciated!

Thanks,

Raj


Tags
TFS Integration
Asked by
Rajeshkumar
Top achievements
Rank 1
Share this question
or