I have a pre-push hook setup on my local repos.
When I try gh stack sync it results in this:
Pushing 3 branches to origin...
⚠ Push failed — branches may need force push after rebase
When I try gh stack push it results in this:
Pushing 3 branches to origin...
✗ failed to push: failed to run git: error: failed to push some refs to 'github.com:<my_repo>'
When I try gh stack submit it results in this:
Pushing to origin...
✗ failed to push <my_branch>: failed to run git: error: failed to push some refs to 'github.com:<my_repo>'
Eventually I was able to guess it was my pre-push hook and tried a regular push and it told me what the error was immediately.
I have a pre-push hook setup on my local repos.
When I try
gh stack syncit results in this:Pushing 3 branches to origin...⚠ Push failed — branches may need force push after rebaseWhen I try
gh stack pushit results in this:Pushing 3 branches to origin...✗ failed to push: failed to run git: error: failed to push some refs to 'github.com:<my_repo>'When I try
gh stack submitit results in this:Pushing to origin...✗ failed to push <my_branch>: failed to run git: error: failed to push some refs to 'github.com:<my_repo>'Eventually I was able to guess it was my pre-push hook and tried a regular push and it told me what the error was immediately.