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
8 changes: 8 additions & 0 deletions custom-completions/git/git-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,14 @@ export extern "git switch" [
--track(-t) # set "upstream" configuration
]

# Find commits yet to be applied to upstream
export extern "git cherry" [
upstream?: string@"nu-complete git mergable sources" # Upstream branch to search for equivalent commits. Defaults to the upstream branch of HEAD.
head?: string@"nu-complete git mergable sources" # Working branch; defaults to HEAD.
limit?: string # Do not report commits up to (and including) limit.
--verbose(-v) # Show the commit subjects next to the SHA1s.
]

# Apply the change introduced by an existing commit
export extern "git cherry-pick" [
commit?: string@"nu-complete git commits all" # The commit ID to be cherry-picked
Expand Down
Loading