gf,gfp
This commit is contained in:
parent
5539baa340
commit
7f814102e0
1 changed files with 12 additions and 13 deletions
|
@ -209,21 +209,20 @@ gdw() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# fetch from the remote repository
|
# fetch from the remote repository
|
||||||
alias gf="\
|
gf() {
|
||||||
git \
|
git \
|
||||||
fetch \
|
fetch \
|
||||||
--verbose \
|
--tags \
|
||||||
--tags \
|
--verbose \
|
||||||
"
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
# fetch from remote repository and prune local orphan branches
|
# fetch from remote repository and prune local orphan branches
|
||||||
alias gfp="\
|
gfp() {
|
||||||
git \
|
gf \
|
||||||
fetch \
|
--prune \
|
||||||
--verbose \
|
"${@}"
|
||||||
--tags \
|
}
|
||||||
--prune \
|
|
||||||
"
|
|
||||||
|
|
||||||
# garbage collect all orphan commits
|
# garbage collect all orphan commits
|
||||||
alias ggc="\
|
alias ggc="\
|
||||||
|
|
Loading…
Reference in a new issue