I have cloned the git repo from my servers to different folders. Now I am confused from where I had cloned few specific repositories from. How can I know the location I cloned the git projects from?
Asked
Active
Viewed 5,880 times
4 Answers
3
When you git clone
a repository, Git automatically adds a remote named origin
which refers to the place from which you cloned the repository.
git remote -v
will show you all of your remotes and their URLs.
If you have removed this remote, then you cannot tell from where the repo was cloned.

Jonathon Reinhart
- 132,704
- 33
- 254
- 328