Open hakanalpaydd opened 1 day ago
steps: git checkout master av stack branch whatever touch whatever git add -A && git commit -m whatever && av stack sync --push yes av pr create git checkout master git branch -D whatever av stack tidy av stack sync --rebase-to-trunk --all observe failure
after adopting a branch, if you delete it with av st tidy, it should "unadopt" it so that --all doesnt pick up an empty reference to a branch
Hi @hakanalpaydd thanks for reporting the issue. I was not able to repro the issue based on the provided steps. I think this may only happen if you delete a branch from middle of a stack. Check out the documentation on folding a branch, that may be more relevant for this scenario: https://docs.aviator.co/aviator-cli/how-to-guides/split-and-fold-pull-requests#fold-the-branches
i deleted with
git branch -D
and then ranav st tidy
but i still cant remove the info about the branch when i stack sync