[U-Boot] Question about patches
Graeme Russ
graeme.russ at gmail.com
Tue Jul 20 11:21:21 CEST 2010
>
> No problems. It takes a little time to get used to git but then you start liking
> it. Anyway
>
> you can create a patch for each commit. You can see a summary of commits via
> "git log"
>
> Basically you need to run git format-patch -n <reference>
> reference is a branch name or tag or a direct reference to commit from which
> you want to create patches
>
> eg git format-patch -n origin/master would create numbered patches for commits
> after the commit pointed to by origin/master
>
> Also, run "gitk --all -1000" to get an understanding of what exactly is
> happening in the background when you commit a change
>
> Hope this helps a little
>
I would also recommend looking at 'Stacked Git' (stgit) - It is basically
a wrapper around it which allows you to manage a set of patches and move
back and forth between them, merge, re-order etc.
It makes life a lot easier when you make a mess of things :)
Regards,
Graeme
More information about the U-Boot
mailing list