Adds gprom alias for git
This commit is contained in:
parent
a328b7e240
commit
2469efa06c
1 changed files with 3 additions and 6 deletions
|
@ -19,13 +19,10 @@ alias dir='find . -maxdepth 1 -type d -regex "\.\/[^.].+"'
|
||||||
# colorizes syntax of files
|
# colorizes syntax of files
|
||||||
alias ccat="pygmentize -g"
|
alias ccat="pygmentize -g"
|
||||||
|
|
||||||
|
# self-evident git alias
|
||||||
|
alias gprom="git pull --rebase origin master"
|
||||||
|
|
||||||
# view the Unix directory stack as maintained through
|
# view the Unix directory stack as maintained through
|
||||||
# pushd and popd commands
|
# pushd and popd commands
|
||||||
alias wdirs='dirs | tr " " "\n" | sort -r'
|
alias wdirs='dirs | tr " " "\n" | sort -r'
|
||||||
|
|
||||||
# Pretty-print git history
|
|
||||||
alias glp="git log --graph --pretty=format:'%Cred%h%Creset -%Cblue %an %Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
|
|
||||||
|
|
||||||
# Convenient alias for git status
|
|
||||||
alias gst="git status"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue