List git remotes
Snippet
Instead of being asleep at 14:52 on 12 October 2015, kitt created this:
When talking remote repositories, origin
is the most well known. We can have other remote repositories. Adding and listing them below.
$ git remote add remotename https://git.repository/path/to/my-repo.git $ git remote -v remote1 kitt@some.example.com:sg/my-repo.git (fetch) remote1 kitt@some.example.com:sg/my-repo.git (push) remotename https://git.repository/path/to/my-repo.git (fetch) remotename https://git.repository/path/to/my-repo.git (push)
Add new comment