Using Git

Git command conventions. Use when running any git commands to avoid blocking on interactive pager.

majiayu000 Updated 567 repo stars

File contents

Git Commands

Always use --no-pager BEFORE the git command to avoid blocking on interactive pager:

git --no-pager log -10
git --no-pager diff
git --no-pager show

The --no-pager flag must come before the subcommand (log, diff, show, etc.), not after.

majiayu000/claude-skill-registry-data/tree/main/data/using-git commit 84c77f76e2

Frequently asked questions

npx skillmds@latest add majiayu000/using-git-2