Reworking a patch in git.

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

 



Hi,

I have a simple question wrt git. After making few commits in my local
git branch, let's say that I need to rework a patch and resend it
again. In this is it possible to make only the necessary changes in
the required commit and create a patch out of the previous and the new
commit and resend ?

What I do currently is :

a) Save the new changed file
b) Revert the commit
c) Overwrite the file with the changed file
d) Make the *rework* changes
e)Make a new commit it and send as a patch.

Is there any better/smarter way of doing this ?

Thanks -
Manish

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux