$ git pull
をすると以下の警告が出る。
warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one of the following commands sometime before your next pull: git config pull.rebase false # merge (the default strategy) git config pull.rebase true # rebase git config pull.ff only # fast-forward only
正確には「出ていた」のだけど、ずっと放置していて「そろそろ対応するか」と重い腰を上げた。
警告の内容、対処法は以下の記事で詳しく説明されている。
個人的には、rebase
は明示的に実行したいので以下の設定をしておいた。
--global
をつけてグローバル設定にする。
$ git config --global pull.rebase false