我有一个git设置在我的HostGator共享acct,我刚刚做了我的第一次推。然而,当我在服务器上看到的文件不存在 - 推没有错误或说任何事情都是错的。Git Push工作,但文件不在服务器上
我正在使用SSH类型的连接,如果这有什么区别。我跟着this guide建立了一个git回购。据我所知,远程原始URL是正确的。
本地LS:
/Applications/MAMP/htdocs/cyclesafestl [master] $ ls
/Applications/MAMP/htdocs/cyclesafestl
total 32
[email protected] 1 503 80 81 Jun 19 10:49 BETA.txt
-rw-r--r-- 1 503 80 1772 Jun 18 23:11 index.php
[email protected] 1 503 80 616 Jun 18 22:49 info.txt
drwxr-xr-x 7 503 80 238 Jun 17 22:59 includes/
-rw-r--r-- 1 503 80 76 Jun 17 16:18 README.md
服务器LS:
./
../
HEAD
branches/
config
description
hooks/
info/
objects/
refs/
混帐推信息:
/Applications/MAMP/htdocs/cyclesafestl [master] $ git push -u origin master
Counting objects: 45, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (45/45), done.
Writing objects: 100% (45/45), 498.12 KiB, done.
Total 45 (delta 1), reused 0 (delta 0)
To ssh://[email protected]:xxx/home2/xxx/public_html/thehivestl.com/cyclesafestl
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
2013-06-26
tbremer