본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

git-workflows

gitgoodordietrying 제작

Git & GitHub
7.6kclawskills.sh가 보고한 다운로드 수
4스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Advanced git operations beyond add/commit/push.

설명

이 스킬이 하는 일

Covers advanced git operations beyond the basics: interactive rebase, bisect, worktrees, reflog recovery, subtrees, submodules, sparse checkout, conflict resolution, and cherry-picking. Aimed at developers who need precise control over commit history and multi-branch workflows.

Covers the full range of recovery and history-rewriting operations that most git tutorials skip, including automated bisect and rerere, which eliminate repetitive manual steps.

사용 시점

  • Squashing fix commits before merging a PR
  • Pinpointing which commit introduced a regression
  • Reviewing a PR in a separate worktree without stashing current work
  • Recovering commits after an accidental reset --hard
  • Syncing a shared library into a repo via subtree

예시 워크플로

입력

User asks: find which commit broke the login redirect test

에이전트
  1. 1

    Run git bisect start and mark current HEAD as bad

  2. 2

    Mark a known-good tag or commit with git bisect good v1.2.0

  3. 3

    Write a test script that exits 0 when the bug is absent and 1 when present

  4. 4

    Run git bisect run ./test-for-bug.sh to automate binary search

  5. 5

    Review the identified bad commit with git show and reset with git bisect reset

출력

Git identifies the exact commit SHA that introduced the regression

설치

clawhub install gitgoodordietrying/git-workflows

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크