Iphone xcdatamodel历史记录导致git推送错误

Iphone xcdatamodel历史记录导致git推送错误,iphone,git,xcode4,push,xcdatamodel,Iphone,Git,Xcode4,Push,Xcdatamodel,我已经为xcdatamodel文件启用了历史记录。从xcode看,它似乎是一个文件 从终端到一组文件夹 my.xcdatamodeld/ my 2.xcdatamodel my.xcdatamodel 由于此错误,我无法将其传递到远程git存储库 indmacsunelama$ git push Counting objects: 19, done. Delta compression using up to 2 threads. Compressing obj

我已经为xcdatamodel文件启用了历史记录。从xcode看,它似乎是一个文件 从终端到一组文件夹

my.xcdatamodeld/

      my 2.xcdatamodel
      my.xcdatamodel
由于此错误,我无法将其传递到远程git存储库

 indmacsunelama$ git push
 Counting objects: 19, done.
 Delta compression using up to 2 threads.
 Compressing objects: 100% (13/13), done.
 Writing objects: 100% (14/14), 34.11 KiB, done.
 Total 14 (delta 5), reused 7 (delta 1)
 remote: usage: git cat-file (-t|-s|-e|-p|<type>|--textconv) <object>
 remote:    or: git cat-file (--batch|--batch-check) < <list_of_objects>
 remote: <type> can be one of: blob, tree, commit, tag
 remote:     -t show object type
 remote:     -s show object size
 remote:     -e exit with zero when there's no error
 remote:     -p                    pretty-print object's content
 remote:     --textconv            for blob objects, run textconv on object's content
 remote:     --batch               show info and content of object standard input
 remote:     --batch-check         show info about objects fed from the standard input

 remote: error: hook declined to update refs/heads/master
 To git://mylinuxbox.us.spec.com/mobile.git
 ! [remote rejected] master -> master (hook declined)
 error: failed to push some refs to 'git://mylinuxbox.us.spec.com/mobile.git'
indmacsunelama$git推送
计数对象:19,完成。
增量压缩最多使用2个线程。
压缩对象:100%(13/13),完成。
书写对象:100%(14/14),34.11千磅,完成。
总计14(增量5),重复使用7(增量1)
远程:用法:git cat文件(-t |-s |-e |-p |--textconv)
远程:或:git cat文件(-batch |--batch check)<
远程:可以是blob、tree、commit、tag中的一个
远程:-t显示对象类型
远程:-s显示对象大小
远程:-e在没有错误时以零退出
远程:-p漂亮打印对象的内容
远程:--textconv对于blob对象,在对象的内容上运行textconv
远程:--批量显示对象标准输入的信息和内容
远程:--批量检查显示有关从标准输入馈送的对象的信息
远程:错误:钩子拒绝更新refs/heads/master
到git://mylinuxbox.us.spec.com/mobile.git
! [远程拒绝]主机->主机(拒绝挂钩)
错误:无法将某些引用推送到'git://mylinuxbox.us.spec.com/mobile.git'

这些错误表明您的远程存储库中安装了错误挂钩。检查远程服务器上
mobile.git
中的
hooks
子目录,并查看已启用的hooks。钩子似乎在某个时候误用了
git cat file

文件名中的空格似乎导致钩子中的git cat file命令失败…谢谢标记:)