Skip to content

Instantly share code, notes, and snippets.

@smirn0v
Last active October 31, 2024 00:19
Show Gist options
  • 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