私はこの問題を解決するために非常に多くの解決策を試しています。このシナリオは、私はhostgatorをホスティングしていると私はgit(ソースツリー)を使用して私のプロジェクトをクローンしたいです。したがって、私はそれらのファイルを変更すると、私は確認することができますし、プッシュ後にサイト上で更新されます。
http://www.arlocarreon.com/blog/git/push-git-repo-into-shared-hosting-account-like-hostgator/
How do I create a git repo on my shared hostgator?
私はホスティングに私のマシンRSAキーを追加し、これらの方法を試してみてくださいしています。しかし、私の本当の問題は、それをダウンロードできません。それを複製することは可能ですか?それを押すと、ウェブサイトが更新されますか?
私のオンラインWebサイトを監視し、コードを更新するためにsourcetreeを使用したい
私はいくつかのエラーを取得:
$ git clone --bare ****@******.com:public_html/.git
Cloning into bare repository 'public_html.git'...
Connection closed by xxx.xxx.xxx.xxx
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
$ git clone ssh:// ****@******:public_html/
Cloning into 'public_html'...
ssh: Could not resolve hostname ****@******:public_html: Name or service not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
誰もがこの質問の前に解決していますか?またはsourcetreeで使用することはできませんか?