What is origin mapped to, how to find out
git
Solution
git remote -v
will list them. The source for this information can be seen by inspecting `.git/config`:
cat .git/config
The `config` file in the `.git` directory at the base of your repository contains all the configuration in a plain-text format.
You'll see something like this:
[remote "origin"]
url = git@git.assembla.com:myRepo.git
fetch = +refs/heads/*:refs/remotes/origin/*
The `url` line (in git config parlance, the value of `remote.origin.url`) contains the remote URL.
The other way to find out is by executing `git config remote.origin.url`:
$ git config remote.origin.url
git@git.assembla.com:myRepo.git
$
Problem
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?