Search Linux Wireless

Re: [PATCH v2 0/6] BCMA Cumulative patches from OpenWRT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 05/03/2012 07:04 AM, Nathan Hintz wrote:
> I will repost; it will probably be a few days though.  I haven't used
> GIT before other than cloning some repo's, so I have a learning curve to
> overcome.
> Any hints are welcome.
> Thanks,
> Nathan

Adding a description to a change is not a git specific thing, but a scm
best-practice. To easily add a description to each of your patches is by
doing an interactive rebase (details in [1]).

$ git rebase -i HEAD~6
* this will pop-up your favorite editor
* each line starts with word 'pick'
* replace it with letter 'r'
* close the editor

git will open the editor for each change and let you enter a
description. After that you can recreate your patches.

$ git format-patch --subject-prefix="PATCH v3" --cover-letter -s -M -6

I always give the -M to catch renames and -s to add signed-off-by.

Hope this helps.

Gr. AvS


To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux Kernel]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]     [Free Dating]     [M2M Wireless]

Add to Google Powered by Linux