From f3e3d320560cd17fe67cd3cbe100d68f8de0ee47 Mon Sep 17 00:00:00 2001 From: Jiang Yingxin Date: Tue, 26 Nov 2013 12:34:03 +0000 Subject: [PATCH] Adding an issue to the Troubleshooting section --- doc/TROUBLESHOOTING.md | 1 + doc/Tfs-has-no-branches.md | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 doc/Tfs-has-no-branches.md diff --git a/doc/TROUBLESHOOTING.md b/doc/TROUBLESHOOTING.md index db46c515..d9c4beb2 100644 --- a/doc/TROUBLESHOOTING.md +++ b/doc/TROUBLESHOOTING.md @@ -3,3 +3,4 @@ Here are some common git-tfs problems. * [Checkin policy doesn't work](troubleshooting-checkin-policies.md) * [TF400813 error with visualstudio.com](TF400813-error-with-visualstudio.com.md) * [Set custom workspace to bypass errors due to NTFS length path limits of 259 characters](Set-custom-workspace.md) +* [TFS has no branches](Tfs-has-no-branches.md) diff --git a/doc/Tfs-has-no-branches.md b/doc/Tfs-has-no-branches.md new file mode 100644 index 00000000..0f600709 --- /dev/null +++ b/doc/Tfs-has-no-branches.md @@ -0,0 +1,5 @@ +For those who aren't very familiar with TFS, you may come across a TFS repository whose directories are just Folders, not branches. + +In this case, the command `git tfs list-remote-branches tfs-url` will return the result `No TFS branches were found!`. Similarly, `git tfs clone` will not work. + +To fix this, open Source Control Explorer. Right click on your source folder and select Branching and Merging > Convert to branch. \ No newline at end of file