diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-16 08:15:42 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-16 08:15:42 +0200 |
commit | 4e71d8e0a343b373ead9a6c7b360fb71d65f4323 (patch) | |
tree | c32e37b17e799662945cdb0583f07ecf2f09830d /using-git.texinfo | |
parent | duplicate sentince (diff) | |
download | using-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.texinfo | 33 |
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 |