Re: Soft vs Hard links for man pages

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



On Dec 3, 2007 8:05 AM, DaNiMoTh <jjdanimoth@xxxxxxxxx> wrote:
> You can use git diff.
> Simply:
> git clone [address] pacman
> - Do your modifications -
> git diff > patch_to_send.
>
> There will be problems if remote repo is modified while you do your
> modifications; in other words, the patch that you make isn't synced
> with the remote repo.

It's probably far better to do the following:

git clone <url>
git checkout -b mychanges #make a branch for yourself, and switch to it
... make your changes...
git commit -a -s #commit what you did, and sign off
git format-patch master #create a patch against the master branch (the
original clone)

The reason format-patch is superior here is that it maintains your
authorship and change description.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux