aboutsummaryrefslogtreecommitdiff
path: root/docs/misc/patch.md
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-03 12:37:59 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-04-03 12:37:59 -0700
commitcb8d13228f7dcb58f7e891dfd57493209ecc5518 (patch)
tree4d085d0b677e6ea0ac469ac829f32f4328676664 /docs/misc/patch.md
parent0b96f7a49f0428d23231403177583316ecee413f (diff)
downloadlibrebootfr-cb8d13228f7dcb58f7e891dfd57493209ecc5518.tar.gz
librebootfr-cb8d13228f7dcb58f7e891dfd57493209ecc5518.zip
squeeze
Diffstat (limited to 'docs/misc/patch.md')
-rw-r--r--docs/misc/patch.md19
1 files changed, 0 insertions, 19 deletions
diff --git a/docs/misc/patch.md b/docs/misc/patch.md
index 73d4979a..419654a7 100644
--- a/docs/misc/patch.md
+++ b/docs/misc/patch.md
@@ -4,8 +4,6 @@ This is just a quick guide for reference, use 'man' to know more.
[Back to index](./)
-
-
Apply a patch
=============
@@ -13,7 +11,6 @@ To apply a patch to a single file, do that in it's directory:
$ patch < foo.patch
-
Assuming that the patch is distributed in unified format identifying the
file the patch should be applied to, the above will work. Otherwise:
@@ -46,10 +43,6 @@ Removing a patch using the -R flag
$ patch -p5 -R < baz.patch
-[Back to top of page.](#pagetop)
-
-
-
Create a patch with diff
========================
@@ -65,10 +58,6 @@ Do whatever you want in new/ and then diff it:
$ diff -rupN original/ new/ > original.patch
-[Back to top of page.](#pagetop)
-
-
-
git diff
========
@@ -88,10 +77,6 @@ Alternatively (better yet), commit your changes and then use:
$ git format-patch -N
Replace N with the number of commits that you want to show.
-[Back to top of page.](#pagetop)
-
-
-
git apply
=========
@@ -110,10 +95,6 @@ If you use a patch from git format-patch, then use **git am patch.git**
instead of **git apply patch.git**. git-am will re-create the commits
aswell, instead of just applying the patch.
-[Back to top of page.](#pagetop)
-
-
-
Copyright © 2014, 2015 Leah Rowe <info@minifree.org>\
Permission is granted to copy, distribute and/or modify this document
under the terms of the Creative Commons Attribution-ShareAlike 4.0