I have struggled with this and what seems to work for me is to first use Git in Netbeans to start the process.  That creates a (hidden) .git directory in my project.  From a terminal in that .git folder I execute *git remote add origin reposit...@wherever.com:me/projectname.git* followed by *git add .*    and then *git commit -m "Initial commit"* then *git push -u origin master*

After I do that, I can commit from within NetBeans 12 (file by file or any combination) and at the end of the day in the .git folder do *git push*

I have checked the results with the GUI at https://git.wherever.com and they appear to capture my work.

Don
**

**

On 10/11/20 10:43 AM, C N Davies wrote:
I'm using Netbeans 12 and I have several projects, I can't seem to find a way to set the repository for each individual project.  So project1 uses repo1 and project2 uses repo2 etc. Each then would push to their respective remote github repo. I know it can be done because it seems I have done this before, but I can't find the solution.

Thanks for any advice.

Jon

Reply via email to