Skip to content

Instantly share code, notes, and snippets.

@gyli
Last active March 28, 2024 02:34
Show Gist options
  • Save gyli/22462c10c3c11656e2a98e9f9549beca to your computer and use it in GitHub Desktop.
Save gyli/22462c10c3c11656e2a98e9f9549beca to your computer and use it in GitHub Desktop.
alias
alias ga='git add'
alias gaa='git add .'
alias gb='git branch'
alias gc='git checkout'
alias gcb='git checkout -b'
alias gdc='git diff main...'
alias gps='git push'
alias gpc='git push origin $(git rev-parse --abbrev-ref HEAD)'
alias gpl='git pull'
alias gd='git diff'
alias gcm='git commit -m'
alias gcms='git checkout main'
# omz
alias git-omz-hide='git config --replace-all oh-my-zsh.hide-status 1 && git config --replace-all oh-my-zsh.hide-dirty 1'
# Arc alias
alias ad='arc diff'
alias al='arc land --onto main'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment