1 parent 800e622 commit 788e144Copy full SHA for 788e144
1 file changed
custom-completions/git/git-completions.nu
@@ -539,6 +539,14 @@ export extern "git switch" [
539
--track(-t) # set "upstream" configuration
540
]
541
542
+# Find commits yet to be applied to upstream
543
+export extern "git cherry" [
544
+ upstream?: string@"nu-complete git mergable sources" # Upstream branch to search for equivalent commits. Defaults to the upstream branch of HEAD.
545
+ head?: string@"nu-complete git mergable sources" # Working branch; defaults to HEAD.
546
+ limit?: string # Do not report commits up to (and including) limit.
547
+ --verbose(-v) # Show the commit subjects next to the SHA1s.
548
+]
549
+
550
# Apply the change introduced by an existing commit
551
export extern "git cherry-pick" [
552
commit?: string@"nu-complete git commits all" # The commit ID to be cherry-picked
0 commit comments