Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
80
100%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.
--force, --force-with-lease) without explicit user approval.--no-verify)./commit skill to commit them before continuing.git fetch <upstream-remote>git rev-list --left-right --count HEAD...@{u}git rebase @{u}git add <resolved-files>
git rebase --continuegit rebase --abortgit pushgit push -u <remote> HEADAfter the workflow completes, validate the result with explicit checks:
git status --porcelaingit rev-list --left-right --count HEAD...@{u}git rev-parse --abbrev-ref --symbolic-full-name @{u}b87c504
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.