home/categories/git-workflows/inline-chat-inline-codex-skills-sync-rebase-and-push-skill-md
git-workflowsdevops

sync-rebase-and-push

Safely sync local commits with remote by rebasing onto origin/main and then push, following a GitHub Desktop-style flow. Use when asked to push/sync a branch, reconcile local and remote state, resolve rebase conflicts, run targeted tests or typechecks, and push only if checks pass.

inline-chat
maintainer
inline-chat
更新于 2/20/2026
星标
647
分支
26
quick start

Installation and usage

Safely sync local commits with remote by rebasing onto origin/main and then push, following a GitHub Desktop-style flow. Use when asked to push/sync a branch, reconcile local and remote state, resolve rebase conflicts, run targeted tests or typechecks, and push only if checks pass.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use sync-rebase-and-push