引数が続かない場合、コマンド「git rebase」はどういう意味ですか?

引数が続かない場合、コマンド「git rebase」はどういう意味ですか?

「git rebase」は少なくとも 1 つの引数を取る必要がありますか? 「git rebase」だけではどういう意味ですか?

答え1

manページから引用(git help rebase):

   git rebase [-i | --interactive] [options] [--exec <cmd>] [--onto <newbase>]
           [<upstream>] [<branch>]
   git rebase [-i | --interactive] [options] [--exec <cmd>] [--onto <newbase>]
           --root [<branch>]
   git rebase --continue | --skip | --abort | --edit-todo

   If <branch> is specified, git rebase will perform an automatic git
   checkout <branch> before doing anything else. Otherwise it remains on
   the current branch.

   If <upstream> is not specified, the upstream configured in
   branch.<name>.remote and branch.<name>.merge options will be used; see
   git-config(1) for details. If you are currently not on any branch or if
   the current branch does not have a configured upstream, the rebase will
   abort.

つまり、 のみの場合、このブランチに設定されたアップストリームがすでに存在する限り、 がgit rebaseデフォルトで になり、そうでない場合は中止されます。git rebase branch.<name>.remote branch.<name>

引数を 1 つだけ指定した場合は、上流ブランチの名前になり、以前と同じブランチに留まります。

関連情報