mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Add alias ghc: Shorthand way to clone repos from GitHub
This commit is contained in:
parent
135c3763cc
commit
123c0fbedc
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ alias gcam='git commit -a -m'
|
||||||
alias gcb='git checkout -b'
|
alias gcb='git checkout -b'
|
||||||
alias gcf='git config --list'
|
alias gcf='git config --list'
|
||||||
alias gcl='git clone --recursive'
|
alias gcl='git clone --recursive'
|
||||||
|
ghc() { git clone "https://github.com/$1" }
|
||||||
alias gclean='git clean -fd'
|
alias gclean='git clean -fd'
|
||||||
alias gpristine='git reset --hard && git clean -dfx'
|
alias gpristine='git reset --hard && git clean -dfx'
|
||||||
alias gcm='git checkout master'
|
alias gcm='git checkout master'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue