20 Tricks with Git and Shell
summary
Twenty practical shell hacks that actually reduce typing and mistakes: many are simple bash aliases for common git commands (gp, grm, UTC date), several are bash functions that validate JSON/YAML and open image diffs in three windows, and one parses GitHub refs so pr17 pulls a pull request into a local branch so tests run locally. Hub gets wrapped into get-fork/get-pull-request. Gerrit’s SSH interface is wrapped to add local subcommands. All use standard Unix tools; only one or two require external packages.
AI-written summary · about
