Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion custom-completions/git/git-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export extern "git merge" [

# List or change branches
export extern "git branch" [
branch?: string@"nu-complete git local branches" # name of branch to operate on
...branch: string@"nu-complete git local branches" # name of branch (or branches) to operate on
--abbrev # use short commit hash prefixes
--edit-description # open editor to edit branch description
--merged # list reachable branches
Expand All @@ -548,6 +548,7 @@ export extern "git branch" [
--color # use color in output
--quiet # suppress messages except errors
--delete(-d) # delete branch
-D # force delete branch
--list # list branches
--contains: string@"nu-complete git commits all" # show only branches that contain the specified commit
--no-contains # show only branches that don't contain specified commit
Expand Down