For the same project I want to use 2 TFS server, because I have 2 groups of developers and they can only access their own TFS and I can access both.
This is very easy to do with git. Take a look at my .git/config file. This project uses both github and bitbucket for remote.
[remote "origin"]
url = git@github.com:company/project-app.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "origin-bitbucket"]
url = git@bitbucket.org:company/project-app.git
fetch = +refs/heads/*:refs/remotes/origin-bitbucket/*
[branch "bitbucket-master"]
remote = origin-bitbucket
merge = refs/heads/bitbucket-master
Now, 2 sets of developers work on both bitbucket and github. I merge their change and push them to both servers.
I have a business reason for this.
I am wondering if it is possible with TFS or not.
BTW, I would rather have 2 TFS servers, but 1 TFS and 1 git server is also acceptable.