1
0
Fork 0

Using capital 'B' for git bisect shortmap to avoid conflict with 'bg'

master
Mike Gerwitz 2011-10-21 11:13:38 -04:00
parent 4fd2c1c62f
commit a17a31d2db
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
2 changed files with 12 additions and 16 deletions

View File

@ -21,11 +21,11 @@ By default, the following mappings are available, each with tab completion:
* `a` - git add
* `A` - git add -A
* `b` - git bisect
* `bs` - git bisect start
* `bg` - git bisect good
* `bb` - git bisect bad
* `br` - git bisect reset
* `B` - git bisect
* `Bs` - git bisect start
* `Bg` - git bisect good
* `Bb` - git bisect bad
* `Br` - git bisect reset
* `c` - git commit
* `C` - git commit -am
* `co` - git checkout
@ -48,12 +48,8 @@ By default, the following mappings are available, each with tab completion:
The shortmaps may only be used within a git repository. Otherwise, they will
invoke the actual command on the system.
If a command conflicts with an existing command on your system (e.g. `bg`), wrap
the command in quotes to invoke the actual command. For example:
```shell
$ 'bg' # invoke actual 'bg' command rather than shortmap
```
If a command conflicts with an existing command on your system, wrap the command
in quotes to invoke the actual command.
## Configuration
The file format is as follows:

View File

@ -1,10 +1,10 @@
a _git_add :add
A _git_add :add -A
b _git_bisect :bisect
bs _git_bisect :bisect start
bg _git_bisect :bisect good
bb _git_bisect :bisect bad
br _git_bisect :bisect reset
B _git_bisect :bisect
Bs _git_bisect :bisect start
Bg _git_bisect :bisect good
Bb _git_bisect :bisect bad
Br _git_bisect :bisect reset
c _git_commit :commit
C _git_commit :commit -am
co _git_checkout :checkout