Skip to content

Instantly share code, notes, and snippets.

@caseyw
Created October 10, 2023 19:35
Show Gist options
  • Save caseyw/ec3b2509eda3701d9821cece336bf0fc to your computer and use it in GitHub Desktop.
Save caseyw/ec3b2509eda3701d9821cece336bf0fc to your computer and use it in GitHub Desktop.
alias dots="source ~/.zprofile"
alias edots="vim ~/.zsh_aliases"
alias ll="ls -laF"
# Git
alias gs="git status"
alias gd="git diff"
alias gc="git commit"
alias gco="git checkout"
alias gcm="git commit -m"
alias ga="git add -p"
alias glg="git log -p"
alias gds="git diff --cached"
alias gp="git push"
alias gaa="git add"
# Github
alias getDefaultBranch="gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'"
# Projects
alias ggp="cd ~/projects"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment