Description
Many of the commands accept <user>/<repo>
as an argument.
When I am in a git repository, I would like to use git remote
names to select the <user>/<repo>
.
That is what remotes is all about.
Using remote names will help resolve problems like #140 and #141 , and generally provide support for use of git-repo
with multiple remotes on the same host.
The typical scenario this will enable is using git repo
with both the user's own fork where development occurs and where CI will usually occur, at least prior to an MR, and the upstream repo where MRs should be sent to and fetched from with the request
series of commands.
In my case, these are distinct repos, and I have advanced permissions in them both, so I use both upstream and my own fork equally (and currently I'm switching the name gitlab
to point to each one in order to test various features, but I'll be hacking a solution to that annoyance soon.)