Skip to content

Commit

Permalink
git: switch - added missing flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Mar 23, 2024
1 parent 9910089 commit 949c8fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions completers/git_completer/cmd/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ func init() {
switchCmd.Flags().Bool("guess", false, "second guess 'git switch <no-such-branch>'")
switchCmd.Flags().Bool("ignore-other-worktrees", false, "do not check if another worktree is holding the given ref")
switchCmd.Flags().BoolP("merge", "m", false, "perform a 3-way merge with the new branch")
switchCmd.Flags().Bool("no-guess", false, "do not second guess 'git switch <no-such-branch>'")
switchCmd.Flags().Bool("no-progress", false, "do not force progress reporting")
switchCmd.Flags().Bool("no-track", false, "do not set upstream info for new branch")
switchCmd.Flags().String("orphan", "", "new unparented branch")
switchCmd.Flags().Bool("overwrite-ignore", false, "update ignored files (default)")
switchCmd.Flags().Bool("progress", false, "force progress reporting")
Expand Down

0 comments on commit 949c8fc

Please sign in to comment.