File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -241,23 +241,31 @@ by allowing the commands to take options. Maybe
241241
242242* Convert a commit into a merge commit:
243243
244- pick -p c0ffeee -p e1ee712 deadbab The oneline of the commit after
244+ ```
245+ pick -p c0ffeee -p e1ee712 deadbab The oneline of the commit after
246+ ```
245247
246248* After squashing two commits, add a "Signed-off-by" line to the
247249 commit log message:
248250
249- pick deadbee Implement feature XXX
250- squash --signoff f1a5c00 Fix to feature XXX
251+ ```
252+ pick deadbee Implement feature XXX
253+ squash --signoff f1a5c00 Fix to feature XXX
254+ ```
251255
252256 or GPG-sign a commit:
253257
254- pick --gpg-sign=<keyid> deadbee Implement feature XXX
258+ ```
259+ pick --gpg-sign=<keyid> deadbee Implement feature XXX
260+ ```
255261
256262* Reset the author of the commit to the current user or a specified
257263 user:
258264
259- pick --reset-author deadbee Implement feature XXX
260- pick --author="A U Thor <[email protected] >" deadbab The oneline of the commit after 265+ ```
266+ pick --reset-author deadbee Implement feature XXX
267+ pick --author="A U Thor <[email protected] >" deadbab The oneline of the commit after 268+ ```
261269
262270See [ this
263271discussion] ( http://thread.gmane.org/gmane.comp.version-control.git/242701 )
You can’t perform that action at this time.
0 commit comments