diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 100f2a1..331e834 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -18,6 +18,14 @@ "postAttachCommand": "cd frontend-starter && npx -y kill-port 3000 && npm run dev", "customizations": { "vscode": { + "settings": { + "git.branchProtection": ["main"], + "git.branchProtectionPrompt": "alwaysCommitToNewBranch", + "git.branchPrefix": "feat/", + "git.branchRandomName.enable": true, + "git.postCommitCommand": "push", + "git.autofetch": true + }, "extensions": [ "anthropic.claude-code", "dbaeumer.vscode-eslint", @@ -25,5 +33,4 @@ "bradlc.vscode-tailwindcss" ] } - } -} \ No newline at end of file + } \ No newline at end of file