Reputation: 23
git remote
is empty, as is any remote-tracking information.git branch --remote
How to recover the state of the repo?
Upvotes: 1
Views: 62
Reputation: 1323203
The .git/config file is local only, not tracked by Git.
If you remember the URL for those remotes, you would need to add them back manually:
git remote add origin /url/remote/repo
git remote add upstream(or any other remote name) /url/upstream/repo
...
Upvotes: 1