Skip to content

Instantly share code, notes, and snippets.

View ghego's full-sized avatar

Francesco Mosconi ghego

View GitHub Profile
@ghego
ghego / pull_all.sh
Last active December 31, 2015 18:39
Git pull over all subdirs
# http://stackoverflow.com/questions/3497123/run-git-pull-over-all-subdirectories
find . -type d -depth 1 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \;
@ghego
ghego / .gitconfig
Last active December 31, 2015 16:29 — forked from pksunkara/config
[user]
name = Francesco Mosconi
email = [email protected]
[core]
editor = subl
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[web]
browser = google-chrome
[instaweb]
brew update
brew versions FORMULA
cd `brew --prefix`
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions"
brew install FORMULA
brew switch FORMULA VERSION
git checkout -- Library/Formula/FORMULA.rb # reset formula
## Example: Using Subversion 1.6.17
#