We want to clone a build definition for a TFS team project that uses git as its source code repository.
Our aim is to duplicate the existing build definition for a new branch.
When the build definition is cloned via the command line (Team Foundation Power Tools) like so
tfpt builddefinition /clone Team\Project_Nightly /collection:http://tfs01:8080/tfs/MyCollection
the resulting build definition looks OK at first but when editing the Source Settings it shows a completely different view with only Working Folders and no possibility to choose a branch.
Running tfpt builddefinition /diff
shows no differences apart from name.
How can we clone a build definition for a TFS git repository?