Many tools expect to be able to find the associated upstream for a given branch; gh stack currently manages that internally.
When one does gh stack init some-branch, then at such time as gh stack actually pushes the branch to origin, it should do the equivalent of git push --set-upstream origin some-branch in order to create the association.
This lets the user push future changes with just git push (and check for updates with git pull), as well as letting git status show relative differences.
Many tools expect to be able to find the associated upstream for a given branch;
gh stackcurrently manages that internally.When one does
gh stack init some-branch, then at such time asgh stackactually pushes the branch toorigin, it should do the equivalent ofgit push --set-upstream origin some-branchin order to create the association.This lets the user push future changes with just
git push(and check for updates withgit pull), as well as lettinggit statusshow relative differences.