octokit / octokit.net

A GitHub API client library for .NET
https://octokitnet.readthedocs.io/en/latest/
MIT License
2.62k stars 1.07k forks source link

[FEAT]: Implementation for gitHubClient.Branches #2899

Closed kurazsiosif closed 1 month ago

kurazsiosif commented 1 month ago

Describe the need

Github REST API supports following endpoint: https://docs.github.com/en/rest/branches/branches?apiVersion=2022-11-28 I have checked the code for octokit.net and i saw this is not supported.

For methods should be implemented: ListBranches, GetBranch, RenameBranch, MergeUpstream, MergeBranch,

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

kurazsiosif commented 1 month ago

OK i found that the gitHubClient.Repository.Branch provides these functionalities