Created
April 7, 2017 21:22
-
-
Save lukehinds/f0ed0586d8a69715759d6f6c8a266a20 to your computer and use it in GitHub Desktop.
This file contains 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
docker run -d -p 8080:8080 -p 29418:29418 \\n gerritforge/gerrit-centos7 | |
Login as adminstrator, create a user, add them to the adminstators group and then create a repo: | |
ssh -p 29418 lhinds@localhost gerrit create-project test-project --empty-commit | |
git clone ssh://lhinds@localhost:29418/test-project | |
cat << EOF > .gitreview | |
[gerrit] | |
host=localhost | |
port=29418 | |
project=test-project | |
EOF | |
cd test-project | |
git review -s | |
date > testfile.txt | |
git add testfile.txt | |
git commit -a | |
git review |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment