Open
Description
According to docs
:remote
The name to give to the “origin” remote. Defaults to "origin".
But doesn't produce any results. I've tested this with rugged 1.4.4, 1.5.3, 1.6.3 and 1.7.1:
require 'rugged'
Rugged::Repository.clone_at('../repo', 'fork', remote: 'upstream')
git -C fork remote -v
origin ../repo (fetch)
origin ../repo (push)
Shouldn't "origin" be named "upstream"? I would expect it to work like git clone --origin upstream ../repo fork
Metadata
Metadata
Assignees
Labels
No labels
Activity