Only Show Actual Work on a Git Branch

in code


I find this useful at work when I need to review a pull request using git or tig. Who did the actual work on the branch, when?

git log --author=[whomever] --first-parent --no-merges
tig --author=[whomever] --no-merges --pretty=fuller --first-parent

That said, we do need to rebase at some stage. :p



Remap a JavaScript Object

in code

Coffee is Good

in code

Replace Odd Numbers of Spaces Only

in code


Your email address will not be published. Required fields are marked *