push
БесплатноБез исполняемых скриптовНе проверенUse when local commits need to reach the remote, when a new branch needs its upstream set, or before opening a pull request.
от uw-ssec★ 33 звезды на GitHubОб этом скилле
Push
Push the current branch to the remote repository.
Instructions
- Run
git statusto check:- Current branch name
- Whether there are uncommitted changes (warn the user if so)
- Whether the branch tracks a remote
- Run
git log --oneline origin/$(git branch --show-current)..HEAD 2>/dev/nullto see unpushed commits. If the remote branch doesn't exist yet, show all commits since diverging frommain. - Show the user what will be pushed (branch name + commit list).
- Push:
- If the branch has no upstream yet:
git push -u origin <branch-name> - If it already tracks a remote:
git push
- If the branch has no upstream yet:
- Confirm success.
Rules
- NEVER force push (
--force,-f) unless the user explicitly asks - NEVER force push to
mainormaster— warn the user and refuse - If there are uncommitted changes, ask whether to commit first (using the
commitskill's conventions) or push what's already committed - If push is rejected due to remote changes, suggest
git pull --rebaseand ask before proceeding - If the branch doesn't track a remote, use
git push -uto set the upstream
Установить push в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл push?
Use when local commits need to reach the remote, when a new branch needs its upstream set, or before opening a pull request.
Как установить скилл push?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл push запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic