Repository navigation
Add undo, locked branches, remote-only view and script mode - #5
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two commits:
main.gointogit.go,model.goandview.go. An AST script moved the code with no hand edits. Review this commit apart from the second one.docs/improvements.md.Safety
fetchandpushrun withGIT_TERMINAL_PROMPT=0and without a terminal, and stop after 60s. A remote that asks for a password cannot freeze the screen.+) and a protected branch (P). The default branch andpruner.protectglobs are protected.UX
uundoes the last delete. When you quit, the app prints restore commands.mselects merged branches older than N days. N starts atpruner.staleDays, default 90.tablists remote branches that no local branch tracks.Rdeletes them.ccreates a local branch that tracks one.Performance
Init.vloads the diff in the background. A resize runs delta again only once, after a short wait.Script mode
--prune-gone,--merged-older-than DAYS,--fetch,--yes,--dry-run. Nothing is deleted without--yes. Script mode never deletes remote branches.Behavior changes
entergoes back to the list.qquits.Tests
go test -race. 17 of them are new.gitonPATHtests the network time limit.🤖 Generated with Claude Code