diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2021-01-15 23:04:33 +0100 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2021-01-15 23:04:33 +0100 |
commit | 758da8fd3a73a70ef093e526207e904ecae60aa3 (patch) | |
tree | 27617b9c84b4fdb7982f18ae78645819ce70e97c /git.md | |
parent | 33921b69b45d4f41d18571416be2c255ce4ebddf (diff) |
Update cheatsheets
Diffstat (limited to 'git.md')
-rw-r--r-- | git.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -16,3 +16,8 @@ git checkout <some commit a while ago> git bisect old git bisect run <command that returns 1 on old, 0 on new> + +## Patches + + git diff > change.patch + patch -p1 < change.patch # -p1 to remove the a/ and b/ from filepaths |