Checkout checkout before first commit breaks checkout
AngelOnFira opened this issue · comments
Repro steps:
git commit
git checkout HEAD~1
git checkout HEAD~1
// Cannot read property 'push' of undefined
git checkout master
// Cannot read property 'id' of null