THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
You can ten create a patch with the following command
Code Block |
---|
git show --no-prefix > ZOOKEEPER-1234.patch
|
This will report all modifications done on ZooKeeper sources on your local disk and save them into the ZOOKEEPER-1234.patch file. Read the patch file.
Make sure it includes ONLY the modifications required to fix a single issue.
...
To apply a patch either you generated or found from JIRA, you can issue
Code Block |
---|
patch -p0 < ZOOKEEPER-<JIRA#>.patch
|
...
Code Block |
---|
patch --dry-run -p0 < ZOOKEEPER-<JIRA#>.patch
|
...