fredrick84823

Safe Pull — Git skill for Claude Code

Git community

安全地從 origin/main 拉取最新內容到本機,自動 stash 本地未 commit 的修改,rebase 完成後再還原.

How to install Safe Pull

Installs to ~/.claude/skills/fredrick84823-fstack-safe-pull/SKILL.md

Terminal
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 Repository