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 2,997 times
4 Answers
2
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
- 124,861
- 31
- 240
- 314