Alexey B
Alexey B

Reputation: 21

Git repository is not cloning from remote server in PhpStorm

I have my site working on server. I installed PhpStorm, set up FTP and SSH with my remote server and it works fine:

enter image description here

I go to Git > Clone..., enter URL of repository
[email protected]:/loudcar.com.ua/www/.git
and enter FTP password.

But cloning is not working and I get an error "does not appear to be a git repository".

I expected repository cloned to my local server.

Upvotes: 1

Views: 221

Answers (2)

phd
phd

Reputation: 94483

Based on the image the URL must be either

[email protected]:loudcar.com.ua/www/

or

[email protected]:/home/a50watt/loudcar.com.ua/www/

Upvotes: 2

Gaurav Dubey
Gaurav Dubey

Reputation: 1

In your local directory where you want to clone your repository, open Git bash or command prompt.

Then run the below commands for creating local repository.

git init
git clone <Your Remote Repository URL>

After pressing enter, Git will ask for authentication on a new pop up screen. Enter your credentials.

If logged in successfully, your remote repository will be cloned on your current directory in which Git bash/cmd is running.

Upvotes: -1

Related Questions