From d0de7ae0db9660a3f309c2c0f9cc4cdba3d34121 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 20 Nov 2022 00:18:49 +0530 Subject: adding git alias for remote update --- .bashrc | 1 + 1 file changed, 1 insertion(+) (limited to '.bashrc') 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" -- cgit v1.2.3