mrKelley mrKelley - 7 months ago 41
Git Question

git checkout previous commit without mouse

Right now I always do a

git log
and copy/paste a hash to
git checkout <hash>
in order to checkout a previous commit and branch off from there, etc.

It would be really awesome if I could auto-complete commit hashes so I didn't have to type the whole thing, or rely on copy/paste with the mouse.

Is there a pro-tip that I'm missing?