Skip to content
New issue

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

feat: Use Git CLI for cloning repositories by default #11

Merged
merged 1 commit into from Nov 22, 2022

Conversation

siketyan
Copy link
Owner

@siketyan siketyan commented Nov 22, 2022

The Git backend ghr uses was libgit2 in v0.1 releases.
However, in this strategy, we could not clone repository in an authenticated context (e.g. cloning your private repo, or your organisation's repo).

Now ghr uses Git CLI (git command simply) by default.
You can also change this behaviour by modifying config.toml file as follows:

[git]
stategy.clone = "git2"  # `cli` or `git2`

Have fun!

@siketyan siketyan self-assigned this Nov 22, 2022
@siketyan siketyan merged commit 9df2358 into main Nov 22, 2022
@siketyan siketyan deleted the feat/clone-strategy branch November 22, 2022 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant