Skip to content

Instantly share code, notes, and snippets.

@alexandresalome
Created November 28, 2019 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexandresalome/e9e45475c306ff2209aa530f946675e6 to your computer and use it in GitHub Desktop.
Save alexandresalome/e9e45475c306ff2209aa530f946675e6 to your computer and use it in GitHub Desktop.
Git configuration
[alias]
st = status
ci = commit
br = branch
co = checkout
up = pull --rebase --autostash
ds = diff --staged
lg = log --oneline --graph --decorate
[core]
excludesfile = ~/.gitignore

Git configuration

See .gitconfig and .gitignore below, to be placed in HOME directory.

Repository configuration

# Useful
git config remote.origin.prune true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment