...
In order to create a patch, type:
Code Block |
---|
git diff --no-prefix HEAD^ > SENTRY-{JIRA#}.patch
|
...
To apply a patch either you generated or found from JIRA, you can issue
Code Block |
---|
patch -p1p0 < SENTRY-<JIRA#>.patch |
if you just want to check whether the patch applies you can run patch with --dry-run option
Code Block |
---|
patch -p1p0 --dry-run < SENTRY-<JIRA#>.patch |
...