Skip to content

Instantly share code, notes, and snippets.

@sapegin
Created January 20, 2012 14:30
Show Gist options
  • Save sapegin/1647596 to your computer and use it in GitHub Desktop.
Save sapegin/1647596 to your computer and use it in GitHub Desktop.
dotfiles
[user]
name = Artem Sapegin
email = [email protected]
[github]
user = sapegin
# API token from https://github.com/account/admin
token = [***]
[color]
ui = auto
[core]
editor = nano
# http://stackoverflow.com/questions/136178/git-diff-handling-long-lines
# If doesn't work, try: pager = less -+$LESS -FRX
pager = less -r
[alias]
a = add
ua = reset HEAD
b = branch
c = commit
ca = commit -a
cam = commit -am
co = checkout
d = diff --color-words
s = status -sb
l = log --graph --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(green)- %an, %ar%Creset'
ll = log --stat --abbrev-commit
ignore = !([ ! -e .gitignore ] && touch .gitignore) | echo $1 >>.gitignore
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment