Skip to content

Instantly share code, notes, and snippets.

@bobey
Last active December 12, 2015 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bobey/4722574 to your computer and use it in GitHub Desktop.
Save bobey/4722574 to your computer and use it in GitHub Desktop.
Git config global
[core]
excludesfile = ~/.gitignore
editor = vim
[color]
ui = true
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
#credit to @jubianchi
stashstash = "!f() { STASH=$(git stash); echo \"\\033[0;31mKouroukoukou roukoukou stash stash\\033[0m\"; echo \"$STASH\"; xdg-open \"http://www.youtube.com/watch?v=LpE1bJp8-4w&feature=youtu.be&t=47s\" > /dev/null 2>&1 & }; f"
satsh = !git stashstash
[push]
default = current
[remote "origin"]
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
[url "git@github.com:"]
insteadOf = "ghs:"
pushInsteadOf = "ghs:"
[url "git://github.com/"]
insteadOf = "gh:"
[url "git@gist.github.com:"]
insteadOf = "gists:"
pushInsteadOf = "gists:"
[url "git://gist.github.com/"]
insteadOf = "gist:"
[url "git@bitbucket.org:"]
insteadOf = "bbs:"
pushInsteadOf = "bbs:"
[url "https://bitbucket.org/"]
insteadOf = "bb:"
[url "git@pmsipilot.git:"]
insteadOf = "pmsi:"
pushInsteadOf = "pmsi:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment