Title: TFS GIT - Source Settings for build definition tick box missing
Tags: git;tfs
Question: We have a project in TFS which uses GIT.
There is a build definition setup and under 'Edit Build Definition' | 'Source Settings', I can see the option 'Get sources from a Team Foundation Git repository'.
I've cloned the build definition (Right click | Clone build definition). I select 'Edit Build Definition' on the cloned build and under 'Source Settings' there is no 'Get sources from a Team Foundation Git repository' tick box. Instead I can see 'working folders' with 'Status', 'Source Control Folder' and 'Build Agent folder'.
Any idea why I cant select the git source settings?
All the other settings are identical minus the name.
Comment: Same problem here - after cloning the build definition the Source Settings view is screwed up/missing the git specific settings.


Here is another answer: I've just run into this issue.
'Clone build definition' is a feature from the Productivity Power Tools extension and therein lies the problem.
You need to install the Community Build Manager extension and clone with that:
VS2012
VS2013
Once installed go to 'Tools > Community TFS Build Manager' to view the existing definitions. You can clone from there. Cloning 'To Project' seems to be akin to the Power Tools clone feature.
Note: I uninstalled Power Tools before installing CBM for 2013 but I don't know if this is necessary.

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2014:00:07/09/14', 'FavoriteCount': 1.0, 'PostTypeId': 1, 'Tags': '<git><tfs>', 'Title': 'TFS GIT - Source Settings for build definition tick box missing', 'ViewCount': 383, 'id': 24653520, 'user_AboutMe': '', 'user_AccountId': 4226077.0, 'user_DisplayName': 'MC87', 'user_Reputation': 11.0, 'user_Views': 6.0, 'user_id': 3459570.0}}