What is the fastest way to commit into git from VisualStudio with and/or without TeamExplorer setup.
Currently I have to:
Open the Changes view from Team Explorer by selecting the Home button and choosing Changes. Enter a message that describes the commit, and select Commit All.
Just enter your commit message and then select Commit All. The equivalent command for this action is git commit -a . Visual Studio also makes it easy to commit and sync with one click by using the Commit All and Push and Commit All and Sync shortcuts.
Team Explorer connects Visual Studio to Git and GitHub repositories, Team Foundation version control (TFVC) repositories, and projects hosted on Azure DevOps Services or an on-premises Azure DevOps Server (formerly known as TFS). You can manage source code, work items, and builds.
The default key binding to go straight to the Git Changes page in Team Explorer is Ctrl + 0,G. The command is Team.Git.GoToGitChanges
if you'd like to bind it to a different key.
Tab, Tab to reach the commit message textbox.
Write your commit message.
Usually followed by Alt + I to trigger the Commit button, but a custom key binding for the Commit and Sync command is needed in your scenario.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With