git-tf

git-tf tells me “Could not lock” when checking in; how can I fix it?

☆樱花仙子☆ 提交于 2020-01-02 07:17:48
问题 I'm using git-tf to push to a TFS project. Sometimes, when I try to check one or more commits into TFS, I get a message like this: Connecting to TFS... Checking in to $/MyProject: 0% git-tf: Could not lock $/MyProject What does this mean? What's keeping me from locking? And how can I fix this? 回答1: Why it happens With standard TFS usage, you're only checking in one commit at a time. But with Git, you could have a series of commits that you push all at once. Because of that, git-tf strives to

git-tf checkin Exception in thread “main” java.lang.StackOverflowError

别等时光非礼了梦想. 提交于 2019-12-23 21:05:52
问题 I am trying to take an existing git repository and check it in to TFS Preview using git-tf, and I am getting an error when I try to do the check in. Here is what I have done so far. git clone -b https://github.com/.git to clone the branch that I want to check in. I want to check in a branch that isn't named master into TFS. cd into local path of code. git tf configure https://.tfspreview.com/DefaultCollection $/ Then, I configured git tf to configure the TFS connection. git tf checkin Then, I

Cache TFS login credentials for git-tf

怎甘沉沦 提交于 2019-12-12 20:51:07
问题 I use git and git-tf at my job, but every time I perform any command with git-tf I have to enter my login credentials. Is there a way to cache my TFS login credentials for git-tf so I won't have to enter them every time? 回答1: If you use Kerberos and have a trust relationship with the Active Directory domain that your TFS server is on, you need not enter any password, git-tf will use your Kerberos ticket to authenticate. This, of course, will only work with on-premises servers; it will not

How to Clone a TFS Repository with a Hyphen in the name Using git-tf

允我心安 提交于 2019-12-11 09:25:32
问题 Please help! I've been banging my head against the wall all week on this one! When I attempt to clone an repository with a long dash in its name, I get a repository not found error. I have tried all sorts of ways to escape it with not luck. Here is my code: git tf clone -b --branches "<servername>" "$/Tech Consulting – Conversions/Infinity Conversion Tools/Conversion Engine" 来源: https://stackoverflow.com/questions/19304811/how-to-clone-a-tfs-repository-with-a-hyphen-in-the-name-using-git-tf

Associating git commits with Team Foundation work items

℡╲_俬逩灬. 提交于 2019-12-03 05:07:08
问题 Context A GitHub Enterprise installation used for development. Every developer has his own public repo, and the organization has the authorative repo. Pull requests are used for code reviews, and we loosely follow nvie's git flow branching model. A TFS installation used for issue tracking and deployment (the release branch). We mirror the release branch into a TFS repo. Work Items Now the hard part is: How do we associate git commits (that may originally be done on the public branches of the

Associating git commits with Team Foundation work items

喜欢而已 提交于 2019-12-02 17:33:52
Context A GitHub Enterprise installation used for development. Every developer has his own public repo, and the organization has the authorative repo. Pull requests are used for code reviews, and we loosely follow nvie's git flow branching model. A TFS installation used for issue tracking and deployment (the release branch). We mirror the release branch into a TFS repo. Work Items Now the hard part is: How do we associate git commits (that may originally be done on the public branches of the developers) with TF work items? What I did I've looked at the following projects for help: Git-TFS Git

What's the difference between git-tf and git-tfs?

风流意气都作罢 提交于 2019-11-28 03:31:59
I've recently been getting really fed up with TFS. I've heard that there is a light at the end of the tunnel though. Apparently I can use either git-tf or git-tfs and treat my code as if it was managed by git, but be able to push/pull to/from a central TFS server. My main question is I'm not sure which one of these I should use. There is git-tf which is officially supported by Microsoft, and there is git-tfs which has been around a lot longer. What's the differences between these and which should I try out first? Disclaimer: I started the git-tf project and although the project is now in very

What's the difference between git-tf and git-tfs?

*爱你&永不变心* 提交于 2019-11-27 05:09:43
问题 I've recently been getting really fed up with TFS. I've heard that there is a light at the end of the tunnel though. Apparently I can use either git-tf or git-tfs and treat my code as if it was managed by git, but be able to push/pull to/from a central TFS server. My main question is I'm not sure which one of these I should use. There is git-tf which is officially supported by Microsoft, and there is git-tfs which has been around a lot longer. What's the differences between these and which