Use git-tf in scheduled task

Oct 16, 2013 at 12:02 PM
We would like to automate checkins to tfs, but we are always prompted for username and password. Is there an hidden options for this or other solutions to this problem?
Oct 16, 2013 at 2:14 PM

You may add user name and password to the Git configuration file. In the .git directory of your repository in the config file find the [git-tf "server"] section and add two new parameters username and password. E.g.
[git-tf "server"]
        collection = http://...
        serverpath = $/...
        username = your-user-name
        password = your-password
Marked as answer by martin on 10/26/2013 at 10:21 AM