question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why can't the base of the stack be the actual main branch?

See original GitHub issue

This is more of question. The README page correctly points out that merging commits from the github UI becomes impossible when using ghstack. One thing that would help with this is if the actual base of the branch the real main and not a brach created by ghstack. I am sure there is a reason for it but why is the base branch called gh/username/1/base, what would be the downside of basing the PR against main?

WARNING. You will NOT be able to merge these commits using the normal GitHub UI, as their branch bases won't be master. Use ghstack land $PR_URL to land a ghstack'ed pull request.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ezyangcommented, Nov 18, 2022

This used to be because GH didn’t let you change the base, but apparently this API has started working so there is very little downside, we should do it

0reactions
ezyangcommented, Dec 1, 2022

Yeah ok. IDK when I’ll get around to implementing this but I would definitely be happy to accept a PR that adds this as an option

Read more comments on GitHub >

github_iconTop Results From Across the Web

git - What is the base branch when a new one is created?
There is no such thing in Git as a base branch of a branch. Instead, there is only a current commit, which Git...
Read more >
Stack frames - Rutgers CS
The frame pointer doesn't change throughout the function. Here's what happens during function (there might be slight differences among languages ...
Read more >
A look under the hood: how branches work in Git
To make a long story short: the main benefit of using branches is that they make software development safe. They prevent bugs and...
Read more >
Call stack - Wikipedia
In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program. This...
Read more >
Content Management API Docs | Contentstack
The base URL for Content Management API for different regions can be found ... To confirm the deletion of a branch, you need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found