Say you
git remote add origin git@git.assembla.com:myRepo.git
And then .. you know .. you forget what exactly origin is mapped to 🙁
How can you find out?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
will list them. The source for this information can be seen by inspecting
.git/config:The
configfile in the.gitdirectory at the base of your repository contains all the configuration in a plain-text format.You’ll see something like this:
The
urlline (in git config parlance, the value ofremote.origin.url) contains the remote URL.The other way to find out is by executing
git config remote.origin.url: