[pacman-dev] Git cheat-sheet for pacman - Was: [PATCH] links problem in bacman

Xavier shiningxc at gmail.com
Mon Jun 23 05:19:32 EDT 2008


On Mon, Jun 23, 2008 at 9:29 AM, Allan McRae <allan at archlinux.org> wrote:
>
> You may want to add a line about checking out other peoples branches
> (e.g. the pgp branch).  I would be interested in that too...
>
> Also, the submitting patches page needs a bit of updating.  It is
> currently a mash-up between the pre and post git eras.
>

Yes it looks a bit weird, so probably the reference to diff should be
removed, asking to use git format-patch instead, and then giving a
link to some git guide.
Dan made one but it also needs to be updated :
http://code.toofishes.net/git-guide.txt
Especially the "Fixing your patch" section. It should be
s/append/amend for editing last patch.
And for a patch deeper in the tree, there is git rebase -i now, which
is much nicer.

One section which could be added is about the use of git-send-email,
with maybe a link to archwiki msmtp page or something.

There are some interesting articles on Dan's blog as well:
http://toofishes.net/blog/git-workflow-pacman/
http://toofishes.net/blog/using-valgrind-c-programming/
http://toofishes.net/blog/using-gcov-code-coverage-testing/
http://toofishes.net/blog/valgrind-330-and-new-massif/

Maybe all this useful information and other hints like this could be
put on the wiki, or otherwise just add a link to them, I don't know.
There are also probably many others hints to share about git
configuration, helpful git commands, and programming tools and
helpers.

As always, there are many things to do, and very little time and motivation.




More information about the pacman-dev mailing list