Skip to content

Instantly share code, notes, and snippets.

@ronaiza-cardoso
Created March 9, 2022 20:42
Show Gist options
  • Save ronaiza-cardoso/e8cbebd1a2fe83e85bcc9781023e5d22 to your computer and use it in GitHub Desktop.
Save ronaiza-cardoso/e8cbebd1a2fe83e85bcc9781023e5d22 to your computer and use it in GitHub Desktop.
alias gc="git checkout"
alias gs="git status"
alias gl="git log --pretty=oneline"
alias up='git push origin `git rev-parse --abbrev-ref HEAD`'
alias upf='git push origin `git rev-parse --abbrev-ref HEAD` --force-with-lease'
alias gcm="git commit -m $1"
alias gm="git checkout main"
alias apply="git stash apply stash@{$1}"
alias ammend="git commit --amend --no-edit --no-verify"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment