Reputation: 8977
.NET 4.0 C#
Using libgit2sharp, I've written code to create a new branch, change some files, push branch to GitHub.
Now I need to create a pull-request. However, my Google searches don't turn up any relevant info.
Does libgit2sharp support creating PRs ? If not, what are other options ?
Upvotes: 4
Views: 1740
Reputation: 67589
Does libgit2sharp support creating PRs ?
No it doesn't. A "Pull Request" (with comments, a neat Merge button...) is a concept that rather belongs to a git repository web hoster (eg. GitHub, BitBucket, ...).
If not, what are other options ?
Git hosters expose Http APIs that allow you to do this programmatically:
Upvotes: 3