Home > Enterprise >  How to remove this annoying Push Changes button in vscode?
How to remove this annoying Push Changes button in vscode?

Time:10-28

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

enter image description here

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.showUnpublishedCommitsButton setting,
...
And finally, users can completely disable the visibility of any action buttons in the Source Control view via the new scm.showActionButton setting, 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.

  • Related