Fix / simplify the example patch in USAGE.md
The patch given to modify the repo no longer applies cleanly. Fix this and trim things down by using sed. Change-Id: Ib203b39b70cba453d0fdcb804e3dc6c9fe5ea589
This commit is contained in:
14
USAGE.md
14
USAGE.md
@@ -134,17 +134,9 @@ Now start to develop new feature or fix bugs on master, as usual.
|
|||||||
For this example, we are going to change the .gitreview file in order to use a
|
For this example, we are going to change the .gitreview file in order to use a
|
||||||
local Gerrit server.
|
local Gerrit server.
|
||||||
|
|
||||||
echo "diff --git a/.gitreview b/.gitreview
|
```bash
|
||||||
index bb7e85c..f98d928 100644
|
sed -i 's/review\.openstack\.org/gerrit\.my\.org/' .gitreview
|
||||||
--- a/.gitreview
|
```
|
||||||
+++ b/.gitreview
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
[Gerrit]
|
|
||||||
-host=review.openstack.org
|
|
||||||
+host=gerrit.my.org
|
|
||||||
port=29418
|
|
||||||
-project=openstack-infra/jenkins-job-builder.git
|
|
||||||
+project=my-projects/jenkins-job-builder.git" | patch -p1
|
|
||||||
|
|
||||||
Don’t forget to commit and push (after this step, you may want to use git
|
Don’t forget to commit and push (after this step, you may want to use git
|
||||||
review as usual)
|
review as usual)
|
||||||
|
|||||||
Reference in New Issue
Block a user