Dmytro Zarezenko
Dmytro Zarezenko

Reputation: 10686

Netbeans remote project with Git repository

I have a remote project in Netbeans, I mean that I have local copy of SFTP project and when I perform changes I can upload them directly to the server.

Now I want commit all changes to Bitbucket repository as well. How can I associate my project sources with repository. When I try to perform Team -> Git -> Clone Netbeans says that folder is not empty and can't clone project from repository.

Have you some solution?

Upvotes: 2

Views: 6172

Answers (1)

Dmytro Zarezenko
Dmytro Zarezenko

Reputation: 10686

I have found a solution.

  1. Clone new project from Git repository.

  2. After cloning simply crate new Remote Project and set created on first step source directory.

That's all. This order is important.

Upvotes: 1

Related Questions