format-patch

This commit is contained in:
Hemanth.HM 2016-12-25 21:23:02 +05:30
parent 16b9349d48
commit 5d23b75504
2 changed files with 9 additions and 0 deletions

View File

@ -149,6 +149,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
* [Edit [local/global] git config](#edit-localglobal-git-config)
* [blame on certain range](#blame-on-certain-range)
* [Show a Git logical variable.](#show-a-git-logical-variable)
* [Preformatted patch file.](#preformatted-patch-file)
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end toc -->
@ -1020,5 +1021,10 @@ git blame -L <start>,<end>
git var -l | <variable>
```
## Preformatted patch file.
```sh
git format-patch -M upstream..topic
```
<!-- Dont remove or change the comment below that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->

View File

@ -437,4 +437,7 @@
}, {
"title": "Show a Git logical variable.",
"tip":"git var -l | <variable>"
}, {
"title": "Preformatted patch file.",
"tip": "git format-patch -M upstream..topic"
}]