Added master and main checkout if it exists
This commit is contained in:
parent
1e3fb006db
commit
085d100f8c
2
.zshrc
2
.zshrc
@ -89,7 +89,7 @@ alias gst="git status -s"
|
|||||||
alias gdiff="git diff"
|
alias gdiff="git diff"
|
||||||
alias gnew="git checkout -b"
|
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 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 cal="cal -3"
|
||||||
alias code="vscodium-bin"
|
alias code="vscodium-bin"
|
||||||
alias vpn="sudo /root/.local/bin/protonvpn c -f"
|
alias vpn="sudo /root/.local/bin/protonvpn c -f"
|
||||||
|
Loading…
Reference in New Issue
Block a user