home/categories/git-workflows/cblecker-claude-skills-git-workflows-skills-syncing-branch-skill-md
git-workflowsdevops

sync-a-git-branch

Provides fork-aware branch synchronization with automatic remote detection and safe merge handling. Detects fork vs origin repositories, fetches from correct remotes (upstream for forks), and handles fast-forward merges with conflict prevention. Use for 'sync branch', 'pull latest', 'get latest changes', 'sync with upstream', 'update from main'.

cblecker
maintainer
cblecker
์—…๋ฐ์ดํŠธ๋จ 1/12/2026
์Šคํƒ€
1
ํฌํฌ
0
quick start

Installation and usage

Provides fork-aware branch synchronization with automatic remote detection and safe merge handling. Detects fork vs origin repositories, fetches from correct remotes (upstream for forks), and handles fast-forward merges with conflict prevention. Use for 'sync branch', 'pull latest', 'get latest changes', 'sync with upstream', 'update from main'.

์„ค์น˜
$ install --globalskills.sh
์‚ฌ์šฉ๋ฒ•

์„ค์น˜ ํ›„ ํ„ฐ๋ฏธ๋„์—์„œ ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•˜์—ฌ ์ด ์Šคํ‚ฌ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

skills use sync-a-git-branch