threads / discuss / 54901

RE: Repo in strange state

Subject: RE: Repo in strange state

## tl;dr

One message between Dec 29, 2020 and Dec 29, 2020.

replies: 0people: 1as markdown or json

Christohper Boorman (Protiviti Inc)· Dec 29, 2020, 20:03 UTC · lore
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

← back to recent threads