How to hide VSCode "Publish changes" action button from source control tab

Viewed 764

Recently introduced in VSCode, how can I prevent this sync button from showing ?

publish changes button

2 Answers

This setting worked for me. Found it here.

  "git.showActionButton": {
    "commit": false,
    "publish": false,
    "sync": false
  }
Related