From 2469efa06cc0835f7c6b71532e0bc061b32e0083 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Tue, 24 Jan 2017 17:57:25 -0500 Subject: Adds gprom alias for git --- aliases.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/aliases.sh b/aliases.sh index ed4613271313..ba1b01a336e6 100644 --- a/aliases.sh +++ b/aliases.sh @@ -19,13 +19,10 @@ alias dir='find . -maxdepth 1 -type d -regex "\.\/[^.].+"' # colorizes syntax of files alias ccat="pygmentize -g" +# self-evident git alias +alias gprom="git pull --rebase origin master" + # view the Unix directory stack as maintained through # pushd and popd commands 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" - -- cgit 1.4.1