I have issues using git commands after I did "git clean -f -X". The only commands I can only use "git status" and "git branch". I don't have anything that I care to commit since I just started this branch locally. Any suggestions?
I have tried to remove "rm -rf .git/index.lock" and I even tried "git reset HEAD^" but it throws that message of Permission denied.
rm -rf .git/index.lock
git reset HEAD^
I would like to use all git commands.