Add git checkout --[no-]recurse-submodules

This commit is contained in:
Spenser Black 2022-01-24 14:04:37 -05:00 committed by Johannes Altmanninger
parent 03b3891d73
commit 3b690214dc

View File

@ -1040,6 +1040,8 @@ complete -f -c git -n '__fish_git_using_command checkout' -s b -d 'Create a new
complete -f -c git -n '__fish_git_using_command checkout' -s t -l track -d 'Track a new branch'
complete -f -c git -n '__fish_git_using_command checkout' -l theirs -d 'Keep staged changes'
complete -f -c git -n '__fish_git_using_command checkout' -l ours -d 'Keep unmerged changes'
complete -f -c git -n '__fish_git_using_command checkout' -l recurse-submodules -d 'Update the work trees of submodules'
complete -f -c git -n '__fish_git_using_command checkout' -l no-recurse-submodules -d 'Do not update the work trees of submodules'
# TODO options
### apply