Skip to content

Commit

Permalink
git completion: Add HEADS and tags to git rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
gladhorn committed Jul 13, 2016
1 parent 29d9702 commit 16857eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion share/completions/git.fish
Expand Up @@ -304,7 +304,7 @@ complete -f -c git -n '__fish_git_using_command show' -a '(__fish_git_commits)'

### show-branch
complete -f -c git -n '__fish_git_needs_command' -a show-branch -d 'Shows the commits on branches'
complete -f -c git -n '__fish_git_using_command show-branch' -a '(__fish_git_refs)' --description 'Branch'
complete -f -c git -n '__fish_git_using_command show-branch' -a '(__fish_git_refs)' --description 'Rev'
# TODO options

### add
Expand Down Expand Up @@ -498,6 +498,8 @@ complete -f -c git -n '__fish_git_using_command push' -l progress -d 'Force prog
complete -f -c git -n '__fish_git_needs_command' -a rebase -d 'Forward-port local commits to the updated upstream head'
complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_remotes)' -d 'Remote alias'
complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_branches)' -d 'Branch'
complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_heads)' -d 'Head'
complete -f -c git -n '__fish_git_using_command rebase' -a '(__fish_git_tags)' -d 'Tag'
complete -f -c git -n '__fish_git_using_command rebase' -l continue -d 'Restart the rebasing process'
complete -f -c git -n '__fish_git_using_command rebase' -l abort -d 'Abort the rebase operation'
complete -f -c git -n '__fish_git_using_command rebase' -l keep-empty -d "Keep the commits that don't cahnge anything"
Expand Down

0 comments on commit 16857eb

Please sign in to comment.