1
0
Fork 0

Added default shortmaps to README.md

master
Mike Gerwitz 2011-10-18 20:09:42 -04:00
parent 32b461c1d5
commit 828e67eaa0
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 20 additions and 0 deletions

View File

@ -16,6 +16,26 @@ $ . bash_completion ./shortmaps
You may also add your own mappings to `~/.git-shortmaps`.
## Usage
By default, the following mappings are available, each with tab completion:
* `a` - git add
* `A` - git add -A
* `c` - git commit
* `C` - git commit -am
* `co` - git checkout
* `d` - git diff
* `f` - git fetch
* `m` - git merge
* `p` - git push
* `P` - git pull
* `s` - git status
* `S` - git stash
* `t` - execute tig
* `T` - git tag
* `-` - git checkout -
* `--` - `cd` to root dir of repository
## Configuration
The file format is as follows: