Skip to content

Instantly share code, notes, and snippets.

@algonzalez
Created January 28, 2015 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save algonzalez/dc426670a91510166a74 to your computer and use it in GitHub Desktop.
Save algonzalez/dc426670a91510166a74 to your computer and use it in GitHub Desktop.
Using Git-TF to clone a project from TFS to Git
rem Git-TF can be found here https://gittf.codeplex.com/
rem call "{path to git-tf}\git-tf help clone" for available command options
{path to git-tf}\git-tf clone {project collection URL} {project path to be cloned} {target directory for clone} --deep --no-tag
rem example:
rem git-tf clone http://tfs:8080/tfs/DefaultCollection $/some_project c:\dev\some_project.git --deep --no-tag
rem -----
rem alternative: see https://github.com/git-tfs/git-tfs
@AmolChaudhari11
Copy link

cd some_project
git log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment