You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
600 B
18 lines
600 B
#git
|
|
alias gs='git status'
|
|
alias g.='git add .'
|
|
alias gc='git commit -a -m'
|
|
alias mpull='git pull origin master'
|
|
alias mpush='git push origin master'
|
|
alias mainpull='git pull origin main'
|
|
alias mainpush='git push origin main'
|
|
alias pull='git pull'
|
|
alias push='git push'
|
|
alias gb='git branch'
|
|
alias branch='git branch'
|
|
alias clone='git clone'
|
|
alias checkout='git checkout'
|
|
alias gdiff="git diff"
|
|
alias gw='git whatchanged'
|
|
# No matter how far down into your Git project's directory hierarchy you have descended, the command cg now returns you to the top.
|
|
alias cg='cd `git rev-parse --show-toplevel`'
|
|
|