Reputation: 9829
we are using git in our on-premises TFS 2018 RC2 RTW
when we checkin our code we assiciate a work item by adding a hash and a number e.g. #8635
It is written in the docs that this should work with pull-requests. But in our case we do not neccessarly need pull-requests.
Is it possible to link commits with work items without pull-requests?
related:
Update:
I just tested this on a different git project on the same team project.
Guess what: It's working as expected. Strange there needs to be something with this git project...
Upvotes: 7
Views: 2545
Reputation: 32240
Go to http://<yourTFSinstance>/tfs/<TeamProjectCollection>/<TeamProject>/_admin/_versioncontrol
, then select the repo in question, and switch to the Options tab. Make sure the appropriate checkmark is ON:
Upvotes: 7
Reputation: 31013
I've tested on my TFS 2018 RTM, and got correct behavior. You could try to upgrade your TFS 2018 RC2 to RTM version first.
And make sure after git commit -m
command, you also git push
the commit.
Upvotes: 0