2020-03-12 02:57:46 +08:00
|
|
|
# repo plugin
|
2013-06-05 21:12:56 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
This plugin mainly adds some aliases and support for automatic completion for
|
|
|
|
the [repo command line tool](https://code.google.com/p/git-repo/).
|
2013-06-05 21:12:56 +08:00
|
|
|
|
2020-03-12 02:57:46 +08:00
|
|
|
To use it, add `repo` to the plugins array in your zshrc file:
|
|
|
|
|
|
|
|
```zsh
|
|
|
|
plugins=(... repo)
|
|
|
|
```
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
|
|
|
|
| Alias | Command |
|
|
|
|
|---------|----------------------------------------|
|
|
|
|
| `r` | `repo` |
|
|
|
|
| `rra` | `repo rebase --auto-stash` |
|
|
|
|
| `rs` | `repo sync` |
|
|
|
|
| `rsrra` | `repo sync ; repo rebase --auto-stash` |
|
|
|
|
| `ru` | `repo upload` |
|
|
|
|
| `rst` | `repo status` |
|
|
|
|
| `rsto` | `repo status -o` |
|
|
|
|
| `rfa` | `repo forall -c` |
|
|
|
|
| `rfap` | `repo forall -p -c` |
|
|
|
|
| `rinf` | `repo info` |
|