It wasn't there before, for something reason it appeared in my vscode recently, maybe after an update.
So anyone knows how to remove these buttons?
Thanks
CodePudding user response:
The Visual Studio Code changelog for 1.61 has you covered:
https://code.visualstudio.com/updates/v1_61#_publish-or-sync-action-button-for-git-repositories
To quote the last section:
users can customize this behavior by configuring the
git.showUnpublishedCommitsButtonsetting,
...
And finally, users can completely disable the visibility of any action buttons in the Source Control view via the newscm.showActionButtonsetting, which overrides any Source Control extension's behavior.
So for example, look in "Settings > Features > SCM > Show Action Button" or search for showActionButton in the "Search settings" field.
I don't know why the button is not showing up for me, so I cannot conform it is the correct setting - but this should be what you are looking for.

