S
S
Sergey Zhukov2015-08-13 00:08:34
PHP
Sergey Zhukov, 2015-08-13 00:08:34

How to unlink from git in PhpStorm?

Good time!
I have a project on Yii , on a local machine, the whole thing is automatically synchronized with the server. Those. I look at all checks at once on the server, instead of on the local machine. Periodically I make commits and pushes to github. Everything would be great, but this project is a skeleton, a template, a blank.
If I locally create a new project, copy this skeleton there, then how can I break the link with the github on the new project? Git is already initialized in the new project and it sends all changes to the " old " repository on the github.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Zhukov, 2015-08-13
@Adobe

All figured out. The fact is that if you just delete the .git folder, then PhpStorm starts to panic in confusion, saying that the project is marked as GIT, but there is no local repository itself. In general, you need to go to settings -> Version Control and in the main window of this, demolish the current project. As I understand it, from there the storm itself puts the SLE project under control.

T
TyzhSysAdmin, 2015-08-13
@POS_troi

Delete the .git folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question