docs: document Windows pitfall when updating patches (#43814)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
b896dbb103
commit
3232505c55
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ $ git rebase --autosquash -i [COMMIT_SHA]^
|
||||||
$ ../electron/script/git-export-patches -o ../electron/patches/v8
|
$ ../electron/script/git-export-patches -o ../electron/patches/v8
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that the `^` symbol [can cause trouble on Windows](https://stackoverflow.com/questions/14203952/git-reset-asks-more/14204318#14204318). The workaround is to either quote it `"[COMMIT_SHA]^"` or avoid it `[COMMIT_SHA]~1`.
|
||||||
|
|
||||||
#### Removing a patch
|
#### Removing a patch
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue