Adds numbered shortcuts to the output of git status, and much more
open sourceMITself-hostablefree
SCM Breeze is a set of shell scripts for bash and zsh that speed up working with Git in the terminal. Its git status (gs) numbers every changed file and stores each path in a numbered variable, so ga 2 3, gd 3, gco 5 or ga 1-10 act on files by number, and ge passes the numbers to any other command; ll numbers ls output the same way. It adds customisable git aliases with tab completion (or keeps your own), key bindings that add and commit in a keystroke or two, and a repository index (c) that jumps to any project or subdirectory with tab completion and runs a command across every repository. Nathan Broadbent created it in 2011; contributors in the scmbreeze GitHub organization maintain it.
Problems it solves
- refer to the files in git status by number instead of typing their paths
- git add a few files deep in nested folders without copying and pasting the paths
- stage a range of changed files with one short command
- short git aliases with tab completion for branch names
- jump to any of my git repositories by typing part of its name, with tab completion
- commit everything with a keyboard shortcut from the shell
- run the same command in every git repository under my code folder
- use the numbered files from git status in other shell commands like rm or vim
- install SCM Breeze's numbered git shortcuts (scm_breeze) in my bash or zsh config
Features
- numbered git status with file shortcuts ($e1, $e2...)
- numbers and ranges in ga, gd, grs, gco and other aliases
- ge passes numbered files to any command
- numbered ls shortcuts (ll)
- customisable git aliases with tab completion, or keep your own
- list_aliases and git_aliases
- key bindings: Ctrl+x c to add and commit, Ctrl+x Space to commit all
- repository index (c) with tab completion and batch commands
- design asset directories linked into projects
- update_scm_breeze and an uninstall script
View 1 more
- Docker sandbox for trying it out
Limitations
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what SCM Breeze does.
