私はリモートサーバに裸のレポを設定していますが、プッシュすることはできますが、終了時にリモートでファイルが表示されません....これは私がプッシュするときに見ているものです:git push to remote:コミットは行われていますが、ファイルは表示されませんか?
my-macbook-pro:myapp me$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: www/index.php
#
no changes added to commit (use "git add" and/or "git commit -a")
my-macbook-pro:myapp me$ git add .
my-macbook-pro:myapp me$ git commit -m 'test'
[master 57e4b86] test
1 files changed, 2 insertions(+), 1 deletions(-)
my-macbook-pro:myapp me$ git push
[email protected]'s password:
Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 368 bytes, done.
Total 4 (delta 1), reused 0 (delta 0)
To ssh://[email protected]:1111/var/www/myapp.git
ce07e61..57e4b86 master -> master
my-macbook-pro:myapp me$
私がsshに入ったとき、私が "プッシュ"したファイルはそこにありません。何か案は?
ベアレポはそれをすべて言う:デジタル・オーシャンは、ここで彼を行う方法を説明する素敵なチュートリアルを持っています。定義すると、参照する「ファイル」はなく、参照のみです。 –