Re: git pull --ff-only errors when git merge --ff-only passes

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

 



Arundas T C <arundas.tc@xxxxxxxxx> writes:

> What happened instead? (Actual behavior)
>
> error: cannot pull with rebase: You have unstaged changes.
> error: Please commit or stash them.
>
> What's different between what you expected and what actually happened?
>
> It errored out because of unstaged changes, even though doing `git
> merge --ff-only` will correctly do what's expected. See below.

But you are not doing "merge" but "rebase", according to the error
message.  "pull" was told to do "rebase" instead of "merge" and it
stopped because it did not want to clobber the local changes.  So
it appears that what "merge --ff-only" would have do has very little
to do with what "pull --ff-only" you configured would do, no?





[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