Skip to content

Instantly share code, notes, and snippets.

View iamnirav's full-sized avatar

Nirav Sanghani iamnirav

  • San Francisco, CA
View GitHub Profile
@iamnirav
iamnirav / hey.js
Last active August 29, 2015 14:08
hey...
{
'greeting' : 'hey, here is the new data',
'newData' : { /* the new data */ }
}
@iamnirav
iamnirav / .gitconfig
Created July 18, 2012 21:14
Git config file
[alias]
co = checkout
st = status
ci = commit
di = diff
dim = diff origin/master
dimn = diff origin/master --name-only
me = merge
br = branch
[color]
@iamnirav
iamnirav / git-branch-autocomplete-bash
Created June 28, 2012 18:27
Faster Git branch name autocomplete
# By @amc & @lg
# Goes in .bash_profile
complete -o default -W "\$(git branch 2>/dev/null | cut -c 3-)" git