Loading...
Loading...
Move changes from main or a placeholder branch to a well-named feature branch, preserving commits and working tree state. Use before opening a PR when work started on main or an auto-generated branch name.
npx skill4agent add wkentaro/skills make-branchmaingit branch --show-current
git log origin/main..HEAD --oneline
git diff --stat
git diff --cached --statmainmaster^[a-z]+-[a-z]+$useful-ponysound-midgenovel-aphidwiptmptemptestscratchwork^(feat|fix|refactor|docs|test|chore|perf|ci)/.+/make-prdevelopdevstagingproductionrelease/*origin/main<type>/<short-kebab-description>feat/add-type-annotationsfix/url-parsingrefactor/simplify-sessionfeatfixrefactordocstestchoreperfcigit stash --include-untracked
git branch <branch-name>
git reset --hard origin/main
git switch <branch-name>
git stash popgit branch <branch-name>
git reset --hard origin/main
git switch <branch-name>git switch -c <branch-name>git branch -m <old-placeholder> <branch-name>git push origin :<old-placeholder> <branch-name>
git push -u origin <branch-name>git branch --show-current
git log origin/main..HEAD --oneline
git status --short/make-prgit fetch origin mainorigin/mainorigin/master