[cmake-developers] git doesn't let me push: bad whitespace at end?of line
Alexander Neundorf
neundorf at kde.org
Sat May 1 14:39:47 EDT 2010
On Saturday 01 May 2010, Bill Hoffman wrote:
> On 5/1/2010 10:51 AM, Eric Noulard wrote:
> > 2010/5/1 Ben Boeckel<mathstuf at gmail.com>:
> >> Alexander Neundorf<neundorf at kde.org> wrote:
> >>> Hi,
> >>>
> >>> I tried to push a commit to master, but this failed because git
> >>> complained that the patch adds a trailing whitespace in one line.
> >>> So I removed this whitespace and committed this.
> >>> But git still doesn't push, I guess because the commit which adds the
> >>> whitespace is still there:
>
> This might work for you as well:
>
> git rebase --whitespace=fix origin/master
Yes, worked :-)
Alex
More information about the cmake-developers
mailing list