RE: Repo in strange state
- From
- Christohper Boorman (Protiviti Inc) <v-cboorman@microsoft.com>
- Date
- Dec 29, 2020, 20:03 UTC
- Message-ID
- <MWHPR21MB0160BA0EDE4DCDDDA96FC79F8BD89@MWHPR21MB0160.namprd21.prod.outlook.com>
- In-Reply-To
- <MWHPR21MB0160A79296BD2875F99B5C1B8BD89@MWHPR21MB0160.namprd21.prod.outlook.com>
Hi,
I attempted to paste a command into the git bash, but accidentally selected "Select All". The next thing I knew, the bash scrolled like crazy, as it tried to execute dozens of commands. I couldn't get it to stop scrolling, so I closed the bash window.
Now I'm in a strange situation:
$ git status On branch master Your branch is up to date with 'origin/master'.
Untracked files: (use "git add <file>..." to include in what will be committed) FETCH_HEAD
nothing added to commit but untracked files present (use "git add" to track)
I attempted to use git restore FETCH_HEAD, but I got an error (git said it's not a file).
So how do I fix this situation? Any help would be appreciated.
Thanks,
Christopher Boorman