We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
git clone --origin upstream ../repo fork
The text was updated successfully, but these errors were encountered:
I'm using Alpine (musl) with included libgit2
Sorry, something went wrong.
Seems to have been removed here:
libgit2/libgit2@1697cd6
No branches or pull requests
According to docs
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:
Shouldn't "origin" be named "upstream"? I would expect it to work like
git clone --origin upstream ../repo fork
The text was updated successfully, but these errors were encountered: