GitHub - tiimgreen/github-cheat-sheet: A list of cool features of Git and GitHub.
gitgithubdeveloper-productivityversion-control
Abstraction: Comprehensive hidden and advanced Git and GitHub features reference
Key points:
- URL tricks:
?w=1removes whitespace-only diff changes;?ts=4adjusts tab width;#L52or#L53-L60highlights specific lines - Closing issues automatically via commit messages using keywords fix/fixes/fixed, close/closes/closed, resolve/resolves/resolved followed by issue number
- Git aliases in .gitconfig reduce typing;
git config --global help.autocorrect 15enables auto-correction with 1.5s delay - Gists support git clone, commit, and push like a full repo (no subdirectories supported)
- Pull Requests fetchable locally via
git fetch origin refs/pull/[PR-Number]/head - Hub (github/hub) is a CLI Git wrapper adding GitHub-specific commands like
hub clone user/repo
Connections: Github · Git · Version Control · Developer Productivity