blog

git rebase --continue 次のコミットの処理を続ける。

次のようなメッセージが表示されます。情報の調整が必要な場合は git commit --amend を使い、次のコミットの処理を続ける場合は git rebase --continue を使う必要はあ...

Oct 12, 2020 · 2 min. read
シェア

git リベースの使用

  1. ステップ2、以下のメッセージと同様に、1行目のpickをeditに変更し、:wqで保存します。

 pick e99899c init
 
 # Rebase e99899c onto 14fd414 (1 command)
 #
 # Commands:
 # p, pick <commit> = use commit
 # r, reword <commit> = use commit, but edit the commit message
 # e, edit <commit> = use commit, but stop for amending
 # s, squash <commit> = use commit, but meld into previous commit
 # f, fixup <commit> = like "squash", but discard this commit's log message
 # x, exec <command> = run command (the rest of the line) using shell
 # b, break = stop here (continue rebase later with 'git rebase --continue')
 # d, drop <commit> = remove commit
 # l, label <label> = label current HEAD with a name
 # t, reset <label> = reset HEAD to a label
 # m, merge [-C <commit> | -c <commit>] <label> [# <oneline>]
 # . create a merge commit using the original merge commit's
 # . message (or the oneline, if no original merge commit was
 # . specified). Use -c <commit> to reword the commit message.
 #
 # These lines can be re-ordered; they are executed from top to bottom.
 #
 # If you remove a line here THAT COMMIT WILL BE LOST.
 git commit --amend 
 Once you are satisfied with your changes, run
 git rebase --continue
  • git commit --amend --author="username <邮箱>" --no-edit このコマンドはメールボックスを変更し、--no-edit をつけなければコミットメッセージも変更できます。
  1. git rebase --continue 次のコミットに進み、ステップ 3 を繰り返します。
Read next

HTMLキー・タグ

iframeを使用した最高レベルのドキュメント読み込みウィンドウは、iframeでこれを設定すると、現在のページに影響します。 デフォルト値は、このページで開きます。 target:プログラマ独自の値xxxは、新しいプログラマ独自のページを作成することができます、ページ名はxxxです。

Oct 11, 2020 · 4 min read