Skip to content

Commit 5d23b75

Browse files
committed
format-patch
1 parent 16b9349 commit 5d23b75

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
149149
* [Edit [local/global] git config](#edit-localglobal-git-config)
150150
* [blame on certain range](#blame-on-certain-range)
151151
* [Show a Git logical variable.](#show-a-git-logical-variable)
152+
* [Preformatted patch file.](#preformatted-patch-file)
152153

153154
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
154155
<!-- @doxie.inject end toc -->
@@ -1020,5 +1021,10 @@ git blame -L <start>,<end>
10201021
git var -l | <variable>
10211022
```
10221023

1024+
## Preformatted patch file.
1025+
```sh
1026+
git format-patch -M upstream..topic
1027+
```
1028+
10231029
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
10241030
<!-- @doxie.inject end -->

tips.json

+3
Original file line numberDiff line numberDiff line change
@@ -437,4 +437,7 @@
437437
}, {
438438
"title": "Show a Git logical variable.",
439439
"tip":"git var -l | <variable>"
440+
}, {
441+
"title": "Preformatted patch file.",
442+
"tip": "git format-patch -M upstream..topic"
440443
}]

0 commit comments

Comments
 (0)