Skip to content

Instantly share code, notes, and snippets.

@Mardiniii
Created April 24, 2017 14:16
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 Mardiniii/e5574e5b6d007ad18cf199d2397847b1 to your computer and use it in GitHub Desktop.
Save Mardiniii/e5574e5b6d007ad18cf199d2397847b1 to your computer and use it in GitHub Desktop.
File to set up some special GitHub aliases and profiles.
[user]
name = mardiniii
email = sezama03@hotmail.com
[color]
ui = true
[alias]
ch = checkout
com = commit -m
coma = commit -am
all = add .
s = status
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
undo-commit = reset --soft HEAD^
[push]
default = matching
[core]
editor = subl -n -w
excludesfile = /Users/sebastianzapatamardini/.gitignore_global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment