N
N
Nikita Kit2016-12-13 11:17:09
git
Nikita Kit, 2016-12-13 11:17:09

How to download a git repository with a live site from the server to the local area?

Hello.
I recently had a problem with a site on peterhost. I need to edit the appearance of the content - CMS PrestaShop can't do that. You need to dig into css and re-upload more than once. I decided to do this:
https://habrahabr.ru/post/127213/
There is nothing complicated in the instructions, only there is a very strange configuration on their virtual hosting.
The address from the login root goes like this /loginName/www/site1/public_html/sitefiles
And in the directory at the public_html level, I can't create any external directory - no access. I ruled sites on many hosting sites - and I have never experienced such confusion.
PS - peterhost support is hell - I asked them to create a directory and give me access to it. A day later I was denied.
There is not much choice - it is worth trying to create it at the level with prime. But how does this change the content of paths in hooks? And won't I break something?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Tokarev, 2016-12-13
@Vadiok

To have a working git repository when there is no access to the remote repository, you can download the .git folder, then execute the commands in the directory with this folder:

git stash
git stash drop

Work files should appear. Then it will be possible to work with them.
However, judging by the question, you need something else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question