Skip to content

Instantly share code, notes, and snippets.

@lephyrus
Created October 24, 2013 10:49
Show Gist options
  • Save lephyrus/7135005 to your computer and use it in GitHub Desktop.
Save lephyrus/7135005 to your computer and use it in GitHub Desktop.
Git Workshop
1. Xavier Noria
=> git -S
2. Fri Dec 2 04:32:18 2011 -0800
=> git log -S "auto_explain"
3. v3.2.0.rc1
=> git tag --contains <ref>
4. v4.0.0.beta1
5. activerecord/lib/active_record/explain.rb
=> git log --stat
6. Akira Matsuda
Blake Smith
Jeremy Kemper
Jon Leighton
Mark Rushakoff
Vipul A M
Xavier Noria
Yves Senn
kennyj
=> git log --format="%an" activerecord/lib/active_record/explain.rb | sort | uniq
7. the auto explain feature is rarely used
You can still display the explain output for any given relation using `ActiveRecord::Relation#explain`.
=> git log --format=fuller
8. pull request #9400
=> git log --graph | grep d3688e0 -B 10
=> git log d3688e0..master --ancestry-path --merges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment