List git remotes
Snippet
Posted by kitt at 14:52 on 12 October 2015
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