Re: Adding a commit to the front of my branch?

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

 



On Mon, Jan 11, 2016 at 8:11 AM, Stefan Haller <lists@xxxxxxxxxxxxxxxx> wrote:
> Robert Dailey <rcdailey.lists@xxxxxxxxx> wrote:
>
>> Normally to add commits on my branch, I perform an interactive rebase:
>>
>> $ git rebase -i origin/master
>>
>> I mark the commit I want to put the new commit on top of as 'edit'.
>> However, if I want to add a commit to the front of my branch, I don't
>> really have a commit to mark as "edit".
>
> Instead of marking commits as edit, I usually add "x false" at the place
> where I want to add a commit. With this I find it easier to see where
> the new commit goes, and it also works before the first commit.

What do you mean "x false"? I'm not familiar with this. Can you explain?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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]