[cmake-developers] git doesn't let me push: bad whitespace at end?of line
brad.king at kitware.com
Mon May 3 08:28:22 EDT 2010
Bill Hoffman wrote:
> On 5/1/2010 2:39 PM, Alexander Neundorf wrote:
>>> This might work for you as well:
>>> git rebase --whitespace=fix origin/master
>> Yes, worked :-)
> Git is great, once you get a handle on the 1000 or so different command
> line options that are available... :)
> I think there is a way to install the same hooks that we have on the
> server into your git repo so you can't create commits that won't be
> acceptable. I will let Brad comment on that since I can't find mention
> of that on the wiki...
I've pushed out the branch with the hooks and added a link to the Wiki.
$ git fetch origin
$ cd .git/hooks
$ git init
$ git pull .. remotes/origin/hooks
$ cd ../..
To update later, repeat the steps but without "git init".
More information about the cmake-developers