From 163eb1f73ad4c7e6790b27623b67222ee5e48661 Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Tue, 8 Jan 2019 08:34:18 +0100 Subject: [PATCH] add more `git` aliases (#1922) --- workspace/aliases.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/workspace/aliases.sh b/workspace/aliases.sh index 6cb1357..033deda 100644 --- a/workspace/aliases.sh +++ b/workspace/aliases.sh @@ -107,6 +107,12 @@ alias gd="git --no-pager diff" alias git-revert="git reset --hard && git clean -df" alias gs="git status" alias whoops="git reset --hard && git clean -df" +alias glog="git log --oneline --decorate --graph" +alias gsh="git show" +alias grb="git rebase -i" +alias gbr="git branch" +alias gc="git commit" +alias gck="git checkout" # Create a new directory and enter it function mkd() {