Safe Pull — Git skill for Claude Code
安全地從 origin/main 拉取最新內容到本機,自動 stash 本地未 commit 的修改,rebase 完成後再還原.
How to install Safe Pull
Installs to ~/.claude/skills/fredrick84823-fstack-safe-pull/SKILL.md
mkdir -p ~/.claude/skills/fredrick84823-fstack-safe-pull && curl -fsSL https://raw.githubusercontent.com/fredrick84823/fstack/HEAD/commands/safe-pull.md -o ~/.claude/skills/fredrick84823-fstack-safe-pull/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Safe Pull does
安全地從 origin/main 拉取最新內容到本機,自動 stash 本地未 commit 的修改,rebase 完成後再還原.
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
- OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Rebase On Main
Rebase the current branch on origin/main and resolve any conflicts.
Rebase PR
Use when: rebasing a PR branch onto main and the rebase produces conflicts. Triggers on: rebase origin/main, r
Git Rebase
Rebases onto origin/main (or origin/master) and resolves conflicts
Ship And Babysit
Commit, push to origin, open a PR against bendourthe/Gemma-Code:main, then poll Gemma-Code's own CI every ~270
Rebase Master
Fetch origin/master and rebase the current branch onto it
Copush
Pull, version-bump, commit all changes, and push to origin
Related Agents
Flow Git
Use this agent for git operations — atomic commits, rebase, history cleanup, and style detection. Flow detects
Pull Analyst
Post-pull advisory analyst subagent. Reads the new-commits range after a successful git pull --rebase and prod
Gitnexus Branch Hygiene Reviewer
GitNexus branch hygiene and mergeability reviewer. Use to classify merge state, conflicts, stale branches, mer