git love
I'm crawling out of the rock I've been hiding under for the last months to write my first post here and to (again) proclaim the huge grand-ness of git.
My use case today: A week ago I fixed a rather small bug in a branch that has not been merged into master. Today I stumbled over the same bug in another branch and of course remembered that I fixed the problem already.
so:
git co master git log -Sinit_job # gives me a306cfc = the commit that fixed the bug git co the-branch-I'm-currently-working-on git cherry-pick a306cfc
done!
And now I have to …