aboutsummaryrefslogtreecommitdiffstats
path: root/using-git.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-16 08:15:42 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-16 08:15:42 +0200
commit4e71d8e0a343b373ead9a6c7b360fb71d65f4323 (patch)
treec32e37b17e799662945cdb0583f07ecf2f09830d /using-git.texinfo
parentduplicate sentince (diff)
downloadusing-git-4e71d8e0a343b373ead9a6c7b360fb71d65f4323.tar.gz
using-git-4e71d8e0a343b373ead9a6c7b360fb71d65f4323.tar.bz2
using-git-4e71d8e0a343b373ead9a6c7b360fb71d65f4323.tar.xz
making pull requests
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--using-git.texinfo33
1 files changed, 31 insertions, 2 deletions
diff --git a/using-git.texinfo b/using-git.texinfo
index f0593c6..c3f8ae7 100644
--- a/using-git.texinfo
+++ b/using-git.texinfo
@@ -398,7 +398,7 @@ parameters:
git push
@end example
-The @command{-u origin BRANCH_NAME} is just
+The @option{-u origin BRANCH_NAME} is just
to initially tell which remote repository
a pushes should go to.
@@ -473,6 +473,7 @@ the files and make a new commit.
* Cloning a repository::
* Submitting patches::
* Accepting patches::
+* Making pull requests::
@end menu
@@ -488,7 +489,7 @@ repository:
git clone REPOSITORY -o upstream
@end example
-By including @command{-o upstream}, git
+By including @option{-o upstream}, git
sets up the cloned repository as a
remote repository named `upstream'.
@@ -584,6 +585,34 @@ sign off with @command{git am}, just add
+@node Making pull requests
+@section Making pull requests
+
+A less feature rich alternative than
+patches are pull request, but they are
+easier to just because you do know need
+to know anything to make a pull request
+and to accept them you just need to
+know how to pull from other repositories.
+
+Git does however provide a command
+the produces a clean standard message
+than can be posted on a mailing list.
+To do this just type:
+
+@example
+git request pull FORKING_POINT_COMMIT YOUR_URL
+@end example
+
+Additionally you can add a commit that
+the pull requests stops at, if you have
+another commit than @code{HEAD} --- the
+current commit you are working at --- in
+mind. You can also add @option{-p} if
+you want to see the changes.
+
+
+
@node GNU Free Documentation License
@appendix GNU Free Documentation License
@include fdl.texinfo