Skip to content

Instantly share code, notes, and snippets.

@oleggrishechkin
Created July 3, 2021 20:22
Show Gist options
  • Save oleggrishechkin/9e4aaeba454b41b38b9501b264744bfd to your computer and use it in GitHub Desktop.
Save oleggrishechkin/9e4aaeba454b41b38b9501b264744bfd to your computer and use it in GitHub Desktop.
alias go='git checkout'
alias gs='git status'
alias sync='git add .;git commit --amend --no-edit;git push -f origin'
pull() {
git fetch --all;git checkout "$1";git reset --hard origin/"$1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment