This Visual Studio Code extension simplifies your Git workflow by allowing you to add, commit with a default message, and push your changes to the current project's repository using a keyboard shortcut.
Adds all changes to the staging area.
Commits changes with a default commit message.
Pushes changes to the remote repository.
Executes all actions with a single keyboard shortcut.
Launch Visual Studio Code.
Open the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
Search for "Git Add, Commit, Push".
Click the Install button to install the extension.
Once the extension is installed, you can trigger the Git Add, Commit, Push command using the following keyboard shortcut:
This will add, commit, and push changes to the current project's Git repository.
You can customize the default commit message and keyboard shortcut by modifying the extension's source code. To do this, follow these steps:
Clone the repository or download the source code.
Open the src/extension.ts file.
Change the default commit message by modifying the following line:
'git commit -m "Your default commit message"'
Open the package.json file.
Change the keyboard shortcut by modifying the key and mac properties in the keybindings section: