{"action":"created","issue":{"url":"https://api.github.com/repos/git-tfs/git-tfs/issues/1018","repository_url":"https://api.github.com/repos/git-tfs/git-tfs","labels_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/1018/labels{/name}","comments_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/1018/comments","events_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/1018/events","html_url":"https://github.com/git-tfs/git-tfs/issues/1018","id":188993316,"number":1018,"title":"Tracking automaticaly initialized remote branches","user":{"login":"mokyG","id":23439103,"avatar_url":"https://avatars.githubusercontent.com/u/23439103?v=3","gravatar_id":"","url":"https://api.github.com/users/mokyG","html_url":"https://github.com/mokyG","followers_url":"https://api.github.com/users/mokyG/followers","following_url":"https://api.github.com/users/mokyG/following{/other_user}","gists_url":"https://api.github.com/users/mokyG/gists{/gist_id}","starred_url":"https://api.github.com/users/mokyG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokyG/subscriptions","organizations_url":"https://api.github.com/users/mokyG/orgs","repos_url":"https://api.github.com/users/mokyG/repos","events_url":"https://api.github.com/users/mokyG/events{/privacy}","received_events_url":"https://api.github.com/users/mokyG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-13T20:37:54Z","updated_at":"2016-11-13T22:40:57Z","closed_at":null,"body":"Hi all,\r\nWith my previous `git-tfs pull` on branch myMainBranch, git-tfs initialized branches(MyFeature2, Myfeature3) from the remote tfs repository. I what to work on  Myfeature3 branch. \r\nWhat I tried :\r\n\r\n- As for initilizing a new branch and creating the corresponding git branch : \r\n`git-tfs --init $/myrepo/ Myfeature3 and got this error message : \"There is already a remote for this tfs branch. Branch ignored!\".\r\n`\r\n- As for creating a new brach from remote in git : \r\n`git chechout -b  Myfeature3 remotes/tfs/myrepo/ Myfeature3`\r\nHere the issue is when I tried to `git-tfs pull`, it start fetching from myMainBranch and not from  Myfeature3.\r\n\r\nHow can I create a git branch tracking the  Myfeature3 remote ?\r\n\r\nThanks for your time !"},"comment":{"url":"https://api.github.com/repos/git-tfs/git-tfs/issues/comments/260218550","html_url":"https://github.com/git-tfs/git-tfs/issues/1018#issuecomment-260218550","issue_url":"https://api.github.com/repos/git-tfs/git-tfs/issues/1018","id":260218550,"user":{"login":"pmiossec","id":460196,"avatar_url":"https://avatars.githubusercontent.com/u/460196?v=3","gravatar_id":"","url":"https://api.github.com/users/pmiossec","html_url":"https://github.com/pmiossec","followers_url":"https://api.github.com/users/pmiossec/followers","following_url":"https://api.github.com/users/pmiossec/following{/other_user}","gists_url":"https://api.github.com/users/pmiossec/gists{/gist_id}","starred_url":"https://api.github.com/users/pmiossec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmiossec/subscriptions","organizations_url":"https://api.github.com/users/pmiossec/orgs","repos_url":"https://api.github.com/users/pmiossec/repos","events_url":"https://api.github.com/users/pmiossec/events{/privacy}","received_events_url":"https://api.github.com/users/pmiossec/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T22:40:57Z","updated_at":"2016-11-13T22:40:57Z","body":"Which version do you use? I hope it's a recent...\n\nThere is normally, just a checkout of a branch on the last commit of the\nTFS remote.\n\nGit-tfs use metadata in the commit message and should normally fetch from\nthe TFS remote and push to it...\n"}}
{"actor":{"display_login":"pmiossec"}}