unable to set local branch to upstream branch
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 408
- Avg merge
- 2d 57m
- Merged PRs (30d)
- 7
Description
-
Unable to set the locally checkedout branch to the remote. Tried to create_reference, set_target, set_hear, and even update object attributes to point to the upstream. I have had no luck.
-
For more information please refer to the stack overflow post: https://stackoverflow.com/questions/64484107/pygit2-set-branch-to-upstream-branch
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 with the pygit2 branch and upstream-reference APIs described in the issue, then reproduce the behavior using the linked Stack Overflow example. Done means a locally checked-out branch can be set to and track its remote upstream branch without relying on unsupported attribute changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100