There's a github project that I've added to my TFS repo as a submodule. I've made a few commits to the submodule/github project that have not yet been accepted into the public github project. How do I get those local commits off my machine to somewhere TFS can access them so TFS can build my entire project (including the modified submodule)?
Asked
Active
Viewed 26 times
1 Answers
1
You could:
- create an Git empty repo in your TFS server,
- change the submodule url from the GitHub one to your new local repo
See "Changing remote repository for a git submodule" - push your local commits to that new repo
- add/commit and push in your parent project (where you changed the submodule repo url)

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
That's the exact solution I got working yesterday, so I guess I did it right! :) Thanks for posting the answer, hopefully this helps someone else in the same predicament. – J. Allen Jul 28 '17 at 16:15