Skip to content

Commit

Permalink
format-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanth committed Dec 25, 2016
1 parent 16b9349 commit 5d23b75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

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

## Preformatted patch file.
```sh
git format-patch -M upstream..topic
```

<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
<!-- @doxie.inject end -->
3 changes: 3 additions & 0 deletions tips.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}]

0 comments on commit 5d23b75

Please sign in to comment.