A
A
Alex Art2017-06-14 07:41:18
git
Alex Art, 2017-06-14 07:41:18

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

2 answer(s)
A
aol-nnov, 2017-06-14
@aol-nnov

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.

L
lexnekr, 2017-06-14
@lexnekr

The IDE honestly wrote to you that everything is already committed and matches where you are trying to push.
There is an opinion that you forgot to index the changes before the commit, so they were not committed locally, and therefore there is nothing to push.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question