Skip to content

soraliu/zsh-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zsh-hub

Github hub zsh plugin

Prerequisites

Installation

git clone https://github.com/soraliu/zsh-hub.git $ZSH_CUSTOM/plugins/zsh-hub
# ~/.zshrc

plugins=(
  # ...
  zsh-hub
  # ...
)

Usage

grebase (rebase)

Find the ancestor, and squash commit.

git fetch origin # upstream
grebase

gupdate (update issue)

Push to forked repo, and create a pull request.

# add label
gupdate -l lgtm
# asign to a user
gupdate -a username

gpr (pull request)

Push to forked repo, and create a pull request.

gpr
# show the pr in browser
gpr -s

gct (comment)

Comment the pr based on current branch

gct '/publish'

# multiple lines
gct '/publish
/hold'

gci (ci-status)

Check the ci status of current pr

gci

About

Github hub zsh plugin for forking model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages