libgit2 / libgit2/libgit2sharp
Commands.Run(string repoUrl, params string[] commands) missing
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
A great option to be added is: Commands.Run(string repoUrl, params string[] commands) method.
Examples:
Commands.Run(@"D:\repo", $"ls-remote {fromRepo} refs/heads/master");
Commands.Run(@"D:\repo", $"fetch --force --progress {fromRepo} master");
Commands.Run(@"file:///D:/repo", $"checkout master");
Commands.Run(@"file://localhost/repo", $"reset --hard FETCH_HEAD");
Commands.Run(@"git://localhost/repo", $"reflog expire --expire-unreachable=now --all", $"gc --prune=now");
Commands.Run(@"http://localhost/repo", $"update-server-info");
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Commands.Run entry points and any existing command-execution tests. Compare the requested overload with the examples for local paths and repository URLs, then add coverage showing that multiple commands and each listed URL form are supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100