summaryrefslogtreecommitdiff
path: root/.config/shell/aliasrc
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-04-11 20:38:27 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-04-11 20:38:27 +0530
commitc369e4a068302e94146832912e6eb4fb716ab2ae (patch)
tree5c2d3d36155ac1218b91f6ceea50fb1a85446571 /.config/shell/aliasrc
parent5936031adf9d2d6d623b2fee34d923a5c0cd7b29 (diff)
Update init.vim(2)
Diffstat (limited to '.config/shell/aliasrc')
-rw-r--r--.config/shell/aliasrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 84b2ca8..50f0018 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -29,6 +29,7 @@ alias \
g2="git commit -S -m" \
g3="git push origin HEAD --force" \
gs="git status" \
+ gc="git diff --staged" \
glg="git log --graph --abbrev-commit --decorate --format=format:'%C(bold green)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold yellow)(%ar)%C(reset)%C(auto)%d%C(reset)%n''%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all"
#useful command line substitutions