An open API service indexing awesome lists of open source software.

https://github.com/knisterpeter/gerrit-publish-bash-completaion


https://github.com/knisterpeter/gerrit-publish-bash-completaion

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# gerrit publish bash completion script

This bash completion script is useful for the following `git publish` alias.
It completes local branch names.

```
publish = "!f() { reviewer=""; if [ "x$2" != "x" ]; then reviewer="%r=$2"; fi; git push origin HEAD:refs/for/$1$reviewer; }; f"
```