Recently introduced in VSCode, how can I prevent this sync button from showing ?
The related release note https://code.visualstudio.com/updates/v1_61#_publish-or-sync-action-button-for-git-repositories
// settings.json
{
"git.showUnpublishedCommitsButton": "never",
}
This setting worked for me. Found it here.
"git.showActionButton": {
"commit": false,
"publish": false,
"sync": false
}