SiteMap RecentChanges

Git

Using git with StumpWM

Just git it already

Clone the repository:

    $ git clone git://git.savannah.nongnu.org/stumpwm.git

Build StumpWM

    $ cd stumpwm
    $ autoconf && ./configure && make

Let's make a mess!

Tell git about yourself (it can't guess):

    $ git config --global user.name "John Doe"
    $ git config --global user.email "johndoe@foo.com"

Hack the Stump:

    $ vi core.lisp

Commit your changes ($EDITOR will be invoked for your log message, or use git with -m "log message"):

    $ git commit -a

Review your changes:

    $ git log origin..

Submit your commits to the mailing list:

    $ git format-patch -o patches origin
    $ git-send-email --to "stumpwm-devel@nongnu.org" patches

Working with development trees

Sometimes a developer will ask you to try out a bugfix or feature that exists in their personal git repo, but hasn't yet been pushed to the upstream repository.

Add a remote repository (ignoring the remote HEAD and only fetching one branch):

    $ git remote add -f -m master -t master foo git://bar.org/~foo/stumpwm

Check out a local (tracking) copy of the remote master:

    $ git checkout --track -b foo-master foo/master

Update:

   (on branch foo-master)
   $ git pull foo