From b6281b33d0f02346274701c39b16759413db96ea Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 3 Apr 2014 11:47:46 +0200 Subject: [PATCH] Manual: improve 'contributing via git' section. --- Manual.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Manual.md b/Manual.md index 1dd13e08b64..27160e21d9c 100644 --- a/Manual.md +++ b/Manual.md @@ -577,14 +577,21 @@ the installed files (`xbps-src show-files`) before pushing new updates. ### Contributing via git -You can fork the `xbps-packages` git repository on github and then set up -a remote to pull in new changes: +Fork the voidlinux `xbps-packages` git repository on github and clone it: - $ git remote add voidlinux git://github.com/voidlinux/xbps-packages.git + $ git clone git://github.com//xbps-packages.git -To pull in new changes from `voidlinux`: +You can now make your own commits to the `forked` repository: - $ git pull voidlinux master + $ git add ... + $ git commit ... + $ git push ... + +To keep your forked repository always up to date, setup the `upstream` remote +to pull in new changes: + + $ git remote add upstream git://github.com/voidlinux/xbps-packages.git + $ git pull upstream master Once you've made changes to your `forked` repository you can submit a github pull request; see https://help.github.com/articles/fork-a-repo for more information.