With Visual Studio 2013 I didn't have this problem.
When I add my solution to Git Source Control (Right click -> Add Solution to Source Control) it automatically commits my project.
I don't want to do that because I want to set my own first commit message. I want to set "First Commit" (for example) instead of "Add Project Files" which is the default message from VS2017.
How can I disable auto commit?
Rather than look into change how VS works, why not try to actually solve the problem you have. I can see at least two easy solutions that involve absolutely no VS behavior changes:
git init
, git add
, git commit
, so you're in absolute control over what happens git commit --amend
to change the message to your desired one.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.