Instead of defining buttons in a script-buttons.json file, define the buttons in .vscode/settings.json. .vscode is more likely to already be gitignored in a shared repo and is cleaner than adding a gitignore specifically for script-buttons.json.