Github hub zsh plugin
git clone https://github.com/soraliu/zsh-hub.git $ZSH_CUSTOM/plugins/zsh-hub
# ~/.zshrc
plugins=(
# ...
zsh-hub
# ...
)
Find the ancestor, and squash commit.
git fetch origin # upstream
grebase
Push to forked repo, and create a pull request.
# add label
gupdate -l lgtm
# asign to a user
gupdate -a username
Push to forked repo, and create a pull request.
gpr
# show the pr in browser
gpr -s
Comment the pr based on current branch
gct '/publish'
# multiple lines
gct '/publish
/hold'
Check the ci status of current pr
gci