2016-06-19 5 views
0

OpenShift에서 WordPress 사이트를 설정 한 후 this 설명서에 따라 로컬 Repo에서 새 플러그인을 업로드하려고했지만 OpenShift에 업로드 된 플러그인이 없습니다.OpenShift에 WordPress 플러그인이 배포되지 않았습니다.

단계는 내가했던 내 플러그인이 업로드되지처럼

# cloning WordPress app from OpenShift 
rhc git-clone -a wpdev 

# Going to plugins folder on local machine 
cd ~/openshift/wpdev/.openshift/plugins 

# cloning my plugin from GitHub to openshift plugins folder 
git clone https://github.com/samuelsh/youtube-channel-player.git 

# standart add/commit/push 
git add plugins 
git commit -m "youtube-channel-player deploy to openshift" 
git push 

openshift 내 wpdev 응용 프로그램을 확인한 후 보인다. 무엇이 잘못 될 수 있습니까?

고마워요.

답변

0

글쎄, git submodule issue가 나타났습니다.

git add .openshift/plugins/youtube-channel-player/* 
fatal: Pathspec '.openshift/plugins/youtube-channel-player/admin' is in submodule '.openshift/plugins/youtube-channel-player' 

자식의 디렉토리를 제거하고 다시 나를 위해 일 추가 :

git rm --cached directory 
git add directory 

새 파일을 추가 명시 적으로 노력하는 것은 다음과 같은 오류를 초래 REPO하기

관련 문제