S
S
sawa42016-07-18 16:10:06
git
sawa4, 2016-07-18 16:10:06

How to push local changes to phpstorm git server?

Hello!
There is a project on the fighting server. I do this:
1. I create a local directory in xamp and do git init in it
2. git remote add origin ssh://[email protected]
3. I download from the server git pull origin master
4 I make changes, I do VCS-> Commit changes
5. Trying to run VCS->Git->Push (CTRL+Shift+K)
and getting error Merge failed
Some untracked working tree files would be overwritten by merge. Please move or remove them before you can merge. View them 160215a7f2854ead9ebe15c77312cf95.png
+100500 times deleted the .idea folder and did it again.
I can't figure out what the problem is, what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Pochepko, 2016-07-18
@DJZT

Add this folder to gitignore

S
Slava Kryvel, 2016-07-18
@kryvel

Have you tried Git -> Add on the project folder?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question