Answer the question
In order to leave comments, you need to log in
How to set up git on the server so that data appears on it when pushing?
What am I doing wrong?
Put Git on the server.
Created a folder for the repository.
I went to the pack and ran the command.
git init --bare .git
A .git folder appeared in the repository folder.
In phpstorm I connect to the repository, commit and push. The data is gone.
But the sent files do not appear in the folder itself on the server.
Although at the same time, if you clone the repository from the server, then everything comes.
How to make files appear immediately on the server?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question