[英]openshift deploy output has many: 'remote: fatal: Not a git repository (or any parent up to mount point /var/lib/openshift) '
部署工作正常,輸出的噪音令人難以置信:
% git push openshift
remote: Stopping Ruby cartridge
remote: Stopping MySQL 5.5 cartridge
remote: Saving away previously bundled RubyGems
remote: Building git ref 'develop', commit 384b1c6
remote: Building Ruby cartridge
remote: Restoring previously bundled RubyGems
remote: NOTE: You can commit .openshift/markers/force_clean_build to force a clean bundle
remote: NOTE: Skipping 'bundle install' because Gemfile is not modified.
remote: Preparing build for deployment
remote: Deployment id is f3a42b22
remote: Activating deployment
remote: Starting MySQL 5.5 cartridge
remote: fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
remote: fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
remote: fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
remote: fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
remote: fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
remote: fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
每個命令openshift作為部署的一部分運行,將生成3-10行,如下所示。
關於為什么以及如何解決它的任何想法?
我剛收到此錯誤消息。 這是由於我在運行git init
時umask
設置了.git
目錄的文件模式。 檢查.git
的文件模式,並且所有子目錄對相關用戶都是readable/writable/executable
的。
就我而言,我將umask
更改為0022
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.