Skip to content

Instantly share code, notes, and snippets.

@sergeykish
Created October 7, 2010 15:34
Show Gist options
  • Select an option

  • Save sergeykish/615287 to your computer and use it in GitHub Desktop.

Select an option

Save sergeykish/615287 to your computer and use it in GitHub Desktop.
git branches are just files with hash inside
~/loxicon/repo$ cd .git/refs/heads/
~/loxicon/repo/.git/refs/heads$ for file in `find . -type f`; do echo $file `cat $file`; done
./pagination d6aeafeeb6c290cc409245d475d00477e3937d14
./i18n f060c8a4ef79ccf7978a7c125e474bbe6c9322cb
./jstest 24fff8931105f5e3cb3383820e10c5d40750d9ee
./fix 341b36c05e00d1b1fbe694112cf1c984e66b3c6f
./master 75eade54aa1e782129ecdc12efd9affe10a0ea01
./bundler f9f42db2d85b4bfa3467ee3b933e33f869a08898
./rc de3d5a51635fc903e00b84d2f029f1efcfa31cbb
./bookmark 1b635f3221a226bdfd910dfd88e3592d30245dfe
./qunit 20a37e8938bfac8beb37323856d5e3cb081f8f4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment