Skip to content

Instantly share code, notes, and snippets.

@MilanGrubnic70
Created November 7, 2015 18:04
Show Gist options
  • Save MilanGrubnic70/345c659044f79c0155dd to your computer and use it in GitHub Desktop.
Save MilanGrubnic70/345c659044f79c0155dd to your computer and use it in GitHub Desktop.
Git config with aliases.
type:
subl ~/.gitconfig
enter
[user]
email = [email protected]
name = Milan Grubnić
[color]
ui = true
[credential]
helper = cache --timeout=3600
[alias]
co = checkout
cm = commit
st = status
br = branch
pl = pull
ps = push
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
[core]
editor = subl -n -w
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment