Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.08 KB

File metadata and controls

36 lines (19 loc) · 1.08 KB
layout default
title Clone a TFS repository to GitHub

1. Clone TFS to a local git repository

The command clone allows to clone a branch with all changesets.

git-tfs clone

The same command allows to clone all the branches) (but I didn't test it).

git-tfs clone with branches

But it used to fail:

git-tfs clone with branches broken

If you don't need the complete history, it is possible to get only the last changeset with the command quick-clone.

git-tfs quick-clone

2. Prepare repository for Git

3. Create a new GitHub repository

4. Push local cloned commits to GitHub repository