summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-11-20 00:18:49 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-11-20 00:18:49 +0530
commitd0de7ae0db9660a3f309c2c0f9cc4cdba3d34121 (patch)
tree91e816d760cfeee14df6abb1442e4053f5011c6d
parent7d0fc5b3660ed0ee75b0fc5a01a25d3121029a93 (diff)
adding git alias for remote update
-rw-r--r--.bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 56e2a97..93459e1 100644
--- a/.bashrc
+++ b/.bashrc
@@ -76,4 +76,5 @@ alias \
g3='git push origin HEAD --force' \
gs='git status' \
gd='git diff --staged' \
+ gu='git remote update && git status -uno' \
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"