Feature Branch

Create feature branches for all work. Use when creating branches, checking out, or pushing. Prevents accidental pushes to protected branches.

forcedotcom 9fbf17e 714 B Updated

File contents

Feature Branch

Never commit to develop or main.

Branch

Resolve ownerPrefix via gus-cli runner identity.

Format: <ownerPrefix>/W-XXXXX-short-description.

Example for Shane McLaughlin (ownerPrefix = sm):

git fetch origin develop
git checkout -b sm/W-XXXXX-short-description origin/develop --no-track
# ... work, commit ...
git push -u origin sm/W-XXXXX-short-description

Never omit --no-track off origin/develop — bare git push could push develop.

forcedotcom/salesforcedx-vscode/tree/main/.claude/skills/feature-branch commit 9fbf17e503

Frequently asked questions

npx skillmds@latest add forcedotcom/feature-branch