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: no update git refs method #2181

Open
mittal-umang opened this issue Feb 21, 2022 · 2 comments · May be fixed by #2183
Open

feat: no update git refs method #2181

mittal-umang opened this issue Feb 21, 2022 · 2 comments · May be fixed by #2183

Comments

@mittal-umang
Copy link

mittal-umang commented Feb 21, 2022

Currently there is no update git refs method in Repository.py which leads to commits not being associated to any branch on Github.

this request cannot be executed. https://docs.github.com/en/enterprise-server@2.22/rest/reference/git#update-a-reference

mittal-umang added a commit to mittal-umang/PyGithub that referenced this issue Feb 22, 2022
@mittal-umang mittal-umang linked a pull request Feb 22, 2022 that will close this issue
@rynkk
Copy link

rynkk commented Apr 21, 2022

Any chance of getting the pull request reviewed and merged?

@anilkumarmyla
Copy link

I landed on this exact issue when searching Repository class for updating a git ref and couldn't find a method. Then I did a code search for all PATCH apis and found one in GitRef.edit method that does exactly that. So this issue can be closed

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 a pull request may close this issue.

3 participants