Git push
Push current branch to origin and sync with remote updates; keywords: git, rebase. Use only on explicit request; before execution, review diffs and list impact scope.From its SKILL.md
npx -y skills add gologo13/agent-skills --skill git-pushAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.9 KB, 176 tokens by cl100k_base, as published. Nobody here has run it
Git Push (sync with origin)
Overview
Push current branch to origin and sync with remote updates.
Steps
- Fetch and rebase onto latest main (optional but recommended)
git fetch origingit rebase origin/main || git rebase --abort(if not on main, rebase your feature branch onto latest main)
- Push current branch
git push -u origin HEAD
- If push rejected due to remote updates
- Rebase and push:
git pull --rebase && git push
- Rebase and push:
Notes
- Prefer
rebaseovermergefor a linear history. - If you need to force push after a rebase: you need to ask the user if they want to force push:
git push --force-with-lease.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.