Reputation: 4377
Is there a way to clone a git project with more than one remote repos? For example, in addition to "origin", I would like to have a few other remote repos to push and fetch the data. Is it possible to get all the remote addresses from the git project cloned from?
Upvotes: 0
Views: 298
Reputation: 2943
For example, in addition to "origin", I would like to have a few other remote repos to push and fetch the data.
Yes, you can have this.
Is it possible to get all the remote addresses from the git project cloned from?
If you have local access to the original repo the following command will work for you.
git remote -v
Upvotes: 1