From 085d100f8cacdc55f98073b11c9d5dd9bade1800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Wed, 6 Oct 2021 10:42:23 +0200 Subject: [PATCH] Added master and main checkout if it exists --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 29f286e..8a7aab7 100644 --- a/.zshrc +++ b/.zshrc @@ -89,7 +89,7 @@ alias gst="git status -s" alias gdiff="git diff" alias gnew="git checkout -b" alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches" -alias gfg="git checkout master && git fetch upstream && git pull upstream master" +alias gfg="(git checkout master; git checkout main) && git fetch upstream && git pull upstream master" alias cal="cal -3" alias code="vscodium-bin" alias vpn="sudo /root/.local/bin/protonvpn c -f"