In this post..
Checkout old commit and make it a new commit
git rm -r .
git checkout HEAD~3 .
git commit
I accidentally ran git checkout HEAD~3
rather than git checkout HEAD~3 .
What problem will this cause me? What is the purpose of the dot? If it is a problem, how do I fix it?