Topic on Talk:Gerrit/Tutorial/tl;dr

Global git-review configuration deprecated

3
Ejegg (talkcontribs)

Under git-review 1.25.0, I'm now getting a "Using global/system git-review config files (.config/git-review/git-review.conf) is deprecated" with each review push. What's the best solution? Move defaultremote=origin into each repo's .gitreview file, a la https://gerrit.wikimedia.org/r/224872?

Mobrovac-WMF (talkcontribs)

Have you got multiple remotes, where some are ssh and some aren't ?

BSitzmann (WMF) (talkcontribs)

This comes a bit late but in case it might help someone, the Tutorial#Configuring_git-review section has been updated to reference the new way. Just run this command instead of using the file:

git config --global gitreview.remote origin
Reply to "Global git-review configuration deprecated"