Is it possible to make git push after commit automatically? Now I need to click on push after commit manually and this is not very comfortable.
As you do your work, Visual Studio keeps track of the file changes to your project in the Changes section of the Git Changes window. To stage changes when you're ready, select the + (plus) button on each file you want to stage, or right-click a file and then select Stage.
You can type a commit message above the changes and press Ctrl+Enter (macOS: ⌘+Enter) to commit them. If there are any staged changes, only those changes will be committed.
Visual Studio Code has a setting to push or sync on commit.
I use Gitlens extension to make it easier to push commits.
That is it. It is simple, very fast to use and you don't need CLI at all.
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