Skip to content

Instantly share code, notes, and snippets.

@0robustus1
Created February 24, 2015 00:00
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 0robustus1/7dfd781dcd649fff1a1b to your computer and use it in GitHub Desktop.
Save 0robustus1/7dfd781dcd649fff1a1b to your computer and use it in GitHub Desktop.
[user]
name = "My actual name"
email = myusername@example.com
[alias]
c = commit
ca = commit --amend
co = checkout
m = merge
mff = merge --ff-only
r = rebase
rc = rebase --continue
ri = rebase --interactive
bunch = log --oneline --graph --decorate --all
to-origin = reset --hard HEAD@{upstream}
to-head = reset --hard HEAD
to-parent = reset --hard HEAD^
[color]
branch = auto
ui = auto
status = auto
interactive = auto
[core]
excludesfile = ~/.gitignore_global
editor = vim
pager = less
sequence.editor = vim
[diff]
context = 5
algorithm = histogram
[log]
date = relative
decorate = full
[pull]
ff = only
[push]
default = upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment