2020-07-13 05:40:45 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-07-13 14:12:32 +00:00
|
|
|
alias commit='gc'
|
2020-07-23 07:20:17 +00:00
|
|
|
alias gpa='git add -p .'
|
2020-07-13 05:40:45 +00:00
|
|
|
alias gcls='git clone --depth 1 --recurse-submodules'
|
|
|
|
alias gpar='gitpushallremote'
|
|
|
|
alias gpcr='gitpushcurrentremote'
|
|
|
|
alias lg='lazygit'
|
|
|
|
alias neworigin='setorigin'
|
|
|
|
alias origin='setorigin'
|
|
|
|
alias goto='git go'
|
|
|
|
alias master='goto master'
|
|
|
|
alias develop='goto develop'
|
|
|
|
alias gg='git config -l | grip' # search git config for ...
|
|
|
|
alias ucommit='PRE_COMMIT_ALLOW_NO_CONFIG=1 git commit --no-verify'
|
2020-07-23 05:26:33 +00:00
|
|
|
alias gitperso='git config user.name "$GIT_PERSONAL_USER" && git config user.email "$GIT_PERSONAL_EMAIL" && success "using profile $(git whoami)"'
|
|
|
|
alias gitpro='git config user.name "$GIT_PRO_USER" && git config user.email "$GIT_PRO_EMAIL" && success "using profile $(git whoami)"'
|