I have a master branch and a dev branch for current development(local working copy). I need to merge changes from master onto my dev branch. Prior to merge I ran git stash and discovered the following error:
fatal: Not a git repository (or any of the parent directories): .git
To investigate this error I ran the following commands:
git status
git branch
git remote -v
. All produced the same error fatal: Not a git repository (or any of the parent directories): .git
I also tried resetting the origin of my branch git remote set-url origin https://github.com/Connexions/oer.exports.git
which produces the same result: fatal: Not a git repository (or any of the parent directories): .git
I cannot commit any changes from my local working directory onto my dev branch either.
Does anyone have any suggestions on how to correct this issue.