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
- update push logic to support pushing a :delete
Also used for-each-ref as a replacement for `branch --no-color`
I've double-checked the behavior and found that the refactor actually
fixes 2 bugs in the original implementation that I missed initially:
- Symrefs: git branch output included -> target (e.g. origin/HEAD ->
origin/main), which created invalid completions. for-each-ref gives
clean origin/HEAD.
- Detached HEAD: git branch output included (HEAD detached at ...),
which was garbage. for-each-ref ignores it. I've updated the walkthrough
with these details.
0 commit comments