Answer the question
In order to leave comments, you need to log in
How to configure PHPStorm to work with remote GIT without bare?
Good day to all! I installed git on VPSku, created a repository through a regular git init, added a folder git add --all, committed git commit -m 'mess'.
I created a new project in PHPStorm via "Check out from version control", it cloned everything with the necessary files. I make changes to the file, do Commit and Push and get an error (branch is currently checked out). I add denyCurrentBranch = ignore to the config (I have no idea what it is) so that I don’t complain. As a result, the push passes without errors, but the files on the remote server do not change.
What do I want? And I want to have a test development environment on my local machine, and when I need it, the files are uploaded to the production located on the server. Of course under the control of the version control system.
I would like to thank you in advance for any help!
PS: Sergey wrote everything correctly in the comment. I can only thank him with all my heart, explain that Yandex is not Google, and according to the error text, I only advised to enter denyCurrentBranch = ignore in the config
Answer the question
In order to leave comments, you need to log in
what do you need?
open google (I have no idea what it is) type in your question and, they say, there is how (you know what) behind the bath of these tutorials on rolling out code from git to vpski.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question