Question: is there a short way to merge the last commit to the second last one?

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

 



Hi all

This is something I usually come across. Sometimes I make a mistake in a commit, and then I create a new commit with a correction. After that I git rebase -i and use the fixup option to make the fixup commit a part of the main commit.

I was wondering if there is a command, like git fixup or something that could make this process easier? I know about git squash but I prefer doing fixup.

Sorry If I didn't notice any docs.

Thanks
Aditya





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux