Loading...
Loading...
Safely start new or continue in-progress Git integration and history operations through verified completion. Use when asked to run or resume a rebase, merge, cherry-pick, or revert; when Git is already in the middle of one of those operations; or for interruption recovery, conflict resolution, ours/theirs interpretation, and deciding when user guidance is required. Continue a detected active operation before considering new work, never choose the integration method, and never guess an unclear next action or resolution.
npx skill4agent add legendapp/legend-skills git-integrateHard stop: For new work, proceed only when the requested operation and history shape are 100% clear. For an in-progress operation, continue it without requiring the user to restate its method or target when Git state makes the operation and next action clear. Resolve a conflict only when its intended result is also clear from repository evidence. Otherwise stop before mutating Git or files and ask the user with concrete options. Never choose a default; an incorrect history operation or resolution is worse than an interruption.
git statusgit status --short --branchscripts/inspect-operation.shHEADrebase-mergerebase-applyMERGE_HEADCHERRY_PICK_HEADREVERT_HEADgit rev-parse --git-path--continuegit status--onto--rebase-merges--update-refs--ff-only--no-ff-m <parent>merge.ffrebase.autoStashrebase.rebaseMergesrebase.updateRefsrerere.enabledHEADgit rebase <upstream>git merge --no-edit --ff-only <source>git merge --no-edit --ff <source>git merge --no-edit --no-ff <source>git cherry-pick <commits>GIT_EDITOR=true git revert <commits>-m <parent>git diff --name-only --diff-filter=Ugit ls-files -ugit diff --ccREBASE_HEADCHERRY_PICK_HEADREVERT_HEADMERGE_HEADrerereourstheirsGIT_EDITOR=true git rebase --continueGIT_EDITOR=true git merge --continueGIT_EDITOR=true git cherry-pick --continueGIT_EDITOR=true git revert --continue--continueHEADgit range-diffourstheirsourstheirsoursHEADtheirsHEADscripts/inspect-operation.sh