Readme for using git with linux-omap, version 20080305 1. Install git You can view recent mainline Linux changes at: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary And you can view recent omap changes at: http://git.kernel.org/git/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=summary or at: http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=log You can download git from: http://git.or.cz/ To build and install git: $ tar zxf ... $ cd git $ make prefix=/usr all doc $ su # make prefix=/usr install install-doc Replace /usr with the prefix to where you want to install it. 2. Clone linux-omap git tree First cd into some directory where you want to keep your git trees. Then clone linux-omap git tree: $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git or $ git clone git://source.mvista.com/git/linux-omap-2.6.git or if you're behind a firewall: $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git or $ git clone http://source.mvista.com/gittrees/linux-omap-2.6.git You may need to export http_proxy environment variable for proxy. 3. Update your local tree Change to linux-omap-2.6 directory, and then update the tree: $ cd linux-omap-2.6 $ git pull - You should update your local linux-omap git tree once a day, or when needed. 4. Create your local development branch $ git branch my_branch $ git checkout my_branch 5. Setup your name and email on git $ git config --global user.name "My Name" $ git config --global user.email "myname@domain.com" 6. Commit changes locally $ git status $ git update-index arch/arm/plat-omap/myfile.c $ git commit -s Before commit, $ git diff HEAD will show you what has changed. 6. Sending patches upstream You can either send patches to the mailing list as usual, or just post a link to your git tree where to pull from. After commit, patches are created by $ git format-patch -o abcdef0123456789abcdef0123456789abcdef01