2012-06-22 16 views
11

gitの<code>git cherry-pick</code>のmanページで桜ピック-xデフォルト

... 

-x 
    When recording the commit, append a line that says "(cherry picked 
    from commit …)" to the original commit message in order to indicate 
    which commit this change was cherry-picked from. ... 

-r 
    It used to be that the command defaulted to do -x described above, 
    and -r was to disable it. Now the default is not to do -x so this 
    option is a no-op. 

... 

に設定する設定がローカルに戻っ-xにデフォルトを設定し、-rはそれを無効にすることができますありますか?私は1つを見つけることができませんでしたが、私はそれを逃した可能性があります。

答えて

5

git cherry-pick -xのエイリアスを作成しないと、これはできません。

(楽しい事実:デフォルトはabd6970コミットで変更されました。)

+2

非常に迷惑です。ありがとうございます.. –

関連する問題