description (codeplex)
Git-TF is a set of cross-platform, command line tools that facilitate sharing of changes between TFS and Git.
These tools make it easy to clone sources from TFS, fetch updates from TFS, and update TFS with changes committed locally in Git.
Git-TF is a handy command line extension to TFS if you want to use distributed source control for advanced scenarios.
In general Git-TF is working fine. However there are some scenarios where you’ll get some headache fixing git-tf to tfs-source-control conversion history.
- TFS don’t like it if you have multiple heads
- some issues with complex history paths which result in high cpu usage of java.exe
- avoid complex branch trees with merges, really!
How to do it?
avoid merges
instead rebase!
Alias
the following git aliases come in handy if your working with git-tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config –-global alias.glv !git tf pull --deep --rebase | |
git config –-global alias.checkin !git tf checkin --deep |
No comments:
Post a Comment