I've installed git-tfs, and done a git-tfs clone http://.....
However, I'm wondering if there's a way to do local branching using git-tfs?
For example, an equivalent of git checkout -b myBranch
The team I'm working on seem to use only one branch from what I can tell on the tfs server, so i'd like to branch locally if possible?
Everything you do localy should be done with git (and not git-tfs) and you could do everything you want (create branch, rebase or merge,...).
git-tfs is only used to interact with TFS (fetch changesets or commit changesets).
But (because there is always a 'but' ;) ), you should NEVER modify the commits already commited to git-tfs! Just add commit to the 'master' branch and commit it on TFS...
If one day, you will use tfs branch, you could find answer in this stackoverflow question : How do I use git-tfs and idiomatic git branching against a TFS repository?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.