Created
October 7, 2014 10:40
-
-
Save yuuichi-fujioka/5afd6414ff95465a094e to your computer and use it in GitHub Desktop.
rename project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In remote client side | |
# Shoud set to allow Access Database | |
ssh -p 29418 ${gerrit_admin_username}@${gerrit_host} gerrit gsql -c "UPDATE CHANGES SET DEST_PROJECT_NAME='NEW NAME' WHERE DEST_PROJECT_NAME='OLD NAME" | |
# In gerrit server side | |
# In gerrit site dir | |
mv "git/OLD NAME.git" "git/NEW NAME.git" | |
service gerrit2 stop | |
java -jar gerrit2.war reindex | |
service gerrit2 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment