git locally, push to tfs remote repo

后端 未结 2 762
一生所求
一生所求 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: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=
    

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

提交回复
热议问题