I have a local directory - lets call it dir1, where i have couple of files, and commit history (in local and remote)
I tried to change dir name to dir2 with the command:
git mv dir1 dir2
after i change one of the files (for testing purpose) , add, commit and push, I noticed that the dir name has changed also on remote repo, but commit history has been deleted.
Is there a way to revert the operation and see the history again?