Skip to content

Instantly share code, notes, and snippets.

@chreke
Last active September 23, 2020 14:49
Show Gist options
  • Save chreke/7fc6cdc9ee88290c32f26016f43736d4 to your computer and use it in GitHub Desktop.
Save chreke/7fc6cdc9ee88290c32f26016f43736d4 to your computer and use it in GitHub Desktop.
Example .gitconfig
[alias]
st = status
ci = commit --verbose
br = branch
co = checkout
# List branches sorted by latest commit date
mru = branch --sort=-committerdate
[user]
name = John Doe
email = john.doe@example.com
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[core]
# Change this to your liking, e.g. "code"
editor = vim
[rebase]
# Automatically reorder "fixup!" commits
autosquash = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment