What was used before GitHub? - GNU/Linux

Users browsing this thread: 1 Guest(s)
z3bra
Grey Hair Nixers
Forker POV
==========
Code:
$ git clone git://repo.tld/project ~/project
$ cd project
$ edit file.c
$ git add file.c
$ git commit -m "file.c: fixed the overflow bug in function()"
$ git diff > 0001-fix-overflow-bug.diff
$ mail -s "[project] patch fix overflow" -a 0001-fix-overflow-bug.diff owner@repo.tld
Hi,

I found a nice way to fix your bug in `function()`. Please find attached a patch from your latest commit ("ae653fb"). You could also fetch the changes directly from my repo at

    git://myrepo.tld/project

Regards,

--
Forker
.

Owner POV
=========
Code:
$ cd ~/project
$ git stash
$ git checkout ae653fb
$ git apply 0001-fix-overflow-bug.diff
$ make
$ test/overflow ./project
OK
$ git checkout master
$ git remote add forker git://myrepo.tld/project
$ git fetch forker:master
$ git diff master forker/master
$ git merge forker/master
$ git commit -m "Merged fix from forker/master"
$ mail -s "re: [patch] fix overflow bug" forker@myrepo.tld
Hi,

Thanks for your contribution. I merged your patch.
Have a good day!

--
Owner
.

As you can see, github's PR make the process easier.
There are commands in git like git-request-pull, or git-mail to make the process simpler. But I've always found good to know how to do it with your bare hands :)


Messages In This Thread
What was used before GitHub? - by greduan - 15-02-2015, 10:24 PM
RE: What was used before GitHub? - by greduan - 16-02-2015, 01:39 PM
RE: What was used before GitHub? - by greduan - 16-02-2015, 05:56 PM
RE: What was used before GitHub? - by z3bra - 16-02-2015, 06:24 PM
RE: What was used before GitHub? - by greduan - 16-02-2015, 06:59 PM
RE: What was used before GitHub? - by greduan - 16-02-2015, 11:48 PM
RE: What was used before GitHub? - by xero - 17-02-2015, 02:15 PM