git locally, push to tfs remote repo

后端 未结 2 756
一生所求
一生所求 2021-02-13 05:23

I\'m so tired of explaining benefits of using DVCS over CVCS to my teammates. Some of them scared of the learning curve, some of them see no reasons because for them: \"tis the

相关标签:
2条回答
  • 2021-02-13 06:07

    git-tfs https://github.com/git-tfs/git-tfs worked for me better. Easy to install. Easy to use. A bit slow though, but if you don't mind that - works just perfect

    0 讨论(0)
  • 2021-02-13 06:19

    Yes, you are exactly correct - you just need to deal with .git in TFS. In general, everything GIT does is maintained in .git so if you have a way to keep it out of TFS (worst case is move out and then move back) then you can use GIT without problems.

    Note that there may be other GIT related files to deal with, .gitignore being the most common example.

    I've successfully overlaid GIT and SVN using awareness of .git and related files. (I know there is a git-svn package; but that wasn't workable for my specific need.)

    Also, look into:

      git init --separate-git-dir=<other-location-for-dot-git>
    

    You'll still need to deal with a symbolic link in the local directory but perhaps TFS issues are easier to deal with.

    0 讨论(0)
提交回复
热议问题