From ffdef493c5afc314005dde4b037748b3f995437d Mon Sep 17 00:00:00 2001 From: NextAlone <12210746+NextAlone@users.noreply.github.com> Date: Fri, 30 Sep 2022 04:34:47 +0800 Subject: [PATCH] completion: add git rebase --onto (#9244) Signed-off-by: Next Alone <12210746+NextAlone@users.noreply.github.com> --- share/completions/git.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 2c0c15ded..300a6a7f8 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1884,6 +1884,7 @@ complete -f -c git -n '__fish_git_using_command rebase' -l no-autosquash -d 'No complete -f -c git -n '__fish_git_using_command rebase' -l autostash -d 'Before starting rebase, stash local changes, and apply stash when done' complete -f -c git -n '__fish_git_using_command rebase' -l no-autostash -d 'Do not stash local changes before starting rebase' complete -f -c git -n '__fish_git_using_command rebase' -l no-ff -d 'No fast-forward' +complete -f -c git -n '__fish_git_using_command rebase' -l onto -d 'Rebase current branch onto given upstream or newbase' # This actually takes script for $SHELL, but completing that is... complicated. complete -r -c git -n '__fish_git_using_command rebase' -l exec -d 'Execute shellscript'