How to use git tfs with command

I recently started using git tfs as a bridge between work and local execution using git, and then went to tfs to go through our continuous integration system and share with team members.

I would like to start collaborating with my team, using git for version control, to share branches and changes, and then ultimately check on tfs for continuous integration.

Can I do something, or is git tfs only for one person working locally?

+7
source share
3 answers

We just started using Git, Github and Git TFS. We are in the process of moving from TFS to Git, and Git TFS works great! We still need TFS for a short time while we translate build scripts to read from Github instead of TFS, but until this day we have to copy the changes back to TFS.

No, Git TFS is not only one user system, but, I think, it comes down to how you decided to use it. On our system, one developer checks the results from a dedicated branch on Git in our main TFS branch using Git TFS when we need to copy new changes back to TFS (to run build scripts). However, up to this point, we simply use Git and Github for collaboration and collaboration.

As already mentioned, the GFS TFS bootstrap 'command may be useful for developers who have not completed the initial code verification from TFS, since this command copies the necessary TFS information to the local .git / config file, pointing them to the correct TFS branch. If they ever want to pull or check, then they will need it first along with the Git TFS installed on their local machines.

+2
source

This wiki page for git-tfs seems relevant: https://github.com/spraints/git-tfs/wiki/Bootstrap

bootstrap is useful if you are creating a TFS clone and sharing it with a colleague who should then interact with TFS. Although two identical calls to git tfs clone will create identical repositories, a git clone will always be faster than git tfs clone. So, I would suggest that most people who want to collaborate on a TFS project using git will benefit from this team.

0
source

In my project, I cloned the TFS repository using git-tfs and after I pinned the directory and transferred it to all the developers (or just shared the directory over the network so that they could copy it). It works great, and anyone can retrieve and commit in TFS and share branches using git!

0
source

All Articles