You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm attempting to use the GitHub Octokit REST library to create a branch from another branch. Essentially, I'm trying to cut a release branch from my base branch. I attempted to use the createRef endpoint with the following options:
The issue is that the base branch head commit SHA only includes the latest commit of the base branch. How can I retrieve all changes from the base branch to the new release branch? Essentially, I'm seeking the same functionality as when creating a branch from the GitHub UI
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Question
Body
Hi, I'm attempting to use the GitHub Octokit REST library to create a branch from another branch. Essentially, I'm trying to cut a release branch from my base branch. I attempted to use the createRef endpoint with the following options:
The issue is that the base branch head commit SHA only includes the latest commit of the base branch. How can I retrieve all changes from the base branch to the new release branch? Essentially, I'm seeking the same functionality as when creating a branch from the GitHub UI
Beta Was this translation helpful? Give feedback.
All reactions