I have a project hosted on TFS, let's call it GenderBlender. Two teams work on GenderBlender. One team got the latest code from TFS and hosted it on Github. Made some commits to that GitHub. How can I move those changes from Github to Tfs without commit history and just one big commit under my account?
Asked
Active
Viewed 32 times
1
-
Are you moving it to Git, or to TFVC? – Daniel Mann Apr 24 '19 at 23:54
-
I will be moving it from my local git repository to my local tfs repository and then committing them to the tfs. – Obviously Apr 25 '19 at 00:02
-
That didn't answer my question -- "tfs" is not a version control system. Are you using a TFVC repository hosted in TFS, or a Git repository hosted in TFS? – Daniel Mann Apr 25 '19 at 02:43
-
TFVC repository – Obviously Apr 25 '19 at 04:39
1 Answers
2
I will be moving it from my local git repository to my local tfs repository and then committing them to the tfs.
That is actually the idea: copy the all files from the Git repo to the tfs working tree (be it a TFVC workspace or a Git one)
- If it is a Git repo, Git will detect the changes: add and commit.
- If it is a TFVC workspace, use a reconcile command to detect the changes

VonC
- 1,262,500
- 529
- 4,410
- 5,250