Recently researched git connectivity to TFS. The TFS server was successfully connected using Git on VS2013.
TFS includes both the GIT team project and the regular team project
After the shutdown restart, an error occurred when connecting to the TFS team project, and the TF31004 error was reported.
Resolution process:
Restart VS, invalid.
Restart the computer, invalid.
Baidu has no effective solution
Finally Goole, find the solution:
Http://stackoverflow.com/questions/19125062/error-tf31004-connecting-vs2012-to-tfs
Specific processing process:
The TFS Windows logon credentials for the local computer were removed and are not valid.
Look at the Windows login credentials there is also a common credentials, found a more git-related credentials, deleted after the normal connection to TFS
A solution for connecting TFS, reporting TF31004 error codes