Compare commits

...

2 Commits

Author SHA1 Message Date
Marcin Woźniak 378c74b37b
Added the gmaster, gmain, gshow, gdiff 2023-03-25 13:02:46 +01:00
Marcin Woźniak f9fa2b3ea6
Removed the gstatus, gnew 2023-03-25 13:02:21 +01:00
1 changed files with 4 additions and 4 deletions

8
.zshrc
View File

@ -189,7 +189,8 @@ alias myip="curl ipinfo.io/ip"
alias changefont="figlet"
# Git
alias gmaster="git checkout master"
alias gmaster="git checkout master; git checkout main"
alias gmain="git checkout master; git checkout main"
alias gcommit="git commit --author='Marcin Woźniak <y0rune@aol.com>' -s"
alias gcommitw="git commit --author='Marcin Wozniak <marcin.wozniak@wundermanthompson.com>'"
alias gdel="git push origin --delete"
@ -198,11 +199,10 @@ alias gpush="git push"
alias gpull="git fetch -p -q; git pull; git submodule foreach git pull origin master -q; git submodule foreach git pull origin main -q; git submodule status"
alias gpu="git fetch -p -q; git pull; git submodule foreach git pull origin master -q; git submodule foreach git pull origin main -q; git submodule status"
alias gch="git checkout"
alias gstatus="git status -s"
alias gst="git status -s"
alias gdiff="git diff | cat"
alias gnew="git checkout -b"
alias gdiff="git --no-pager diff"
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 gshow="git show --color --pretty=format:%b"
# Others
alias channel-check='sudo iwlist wlan0 scan | egrep -i "essid|frequency"'