![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPZUZMP_m8VR1GP7FW65X3YUbJsDvF6nMzpIhJ5D0lfYqMZ7e2CG-BMEriO-uaFO49FCaRvlG-Wy0lXAFE1oVeBfe1t8wXaz_ADWiyzvfAkzlpP27EkQI9m0Q_yjZKqt0RTkfHULU70e5amF5nCB9gVTBrC7carAwVUGdDN0CEJdNlbw6BUFmNnmTj/s1600/git.png)
> 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
You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.
メッセージから問題を探してみたら、原因は、以前にroot権限でpullを実行していたため、.gitのファイル権限が一部rootに変更されていた。
$ chown -R nginx:nginx root
これで解決