Skip to content

Instantly share code, notes, and snippets.

@smirn0v
Last active February 24, 2023 09:44
Show Gist options
  • Star 20 You must be signed in to star a gist
  • Fork 10 You must be signed in to fork a gist
  • Save smirn0v/b8e6c4bedebed23a0328 to your computer and use it in GitHub Desktop.
Save smirn0v/b8e6c4bedebed23a0328 to your computer and use it in GitHub Desktop.
Edit gerrit project config
# checkout
git fetch origin refs/meta/config:refs/remotes/origin/meta/config
git checkout meta/config
#directly:
git push origin meta/config:meta/config
#via review:
git push origin meta/config:refs/for/refs/meta/config
# flush
ssh gerrit gerrit flush-caches --cache project_list
ssh gerrit gerrit flush-caches --cache projects
@gunchev
Copy link

gunchev commented Feb 2, 2023

The direct push did not work for me, but the review did, 10x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment