- Create a new folder.
- Launch a Git Bash prompt and navigate to this folder.
- Use git to clone the SVN repository to this folder.
- git svn clone http://svn/repo/here/trunk (Taken from http://stackoverflow.com/a/79178/224531)
- This may take a while if there is a lot of history. But the end result is a stand-alone Git repo with all the history in it.
- Go the TFS site (visualstudio.com), and create a new project using Git as the source control.
- After this is created open the project and click on the 'Code' menu.
- It should show that the repository is empty. Follow the steps on this page, using the Bash command prompt, to attach the local repo to this new origin, and push the changes to the TFS site.
This blog is titled the way it is, because this is the method by which I came to learn most of the following information. 🤪
Monday, January 6, 2014
Moving a Repository from SVN to Git on VisualStudio.com
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment