Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7603285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:37:19+00:00 2026-05-30T23:37:19+00:00

I use Netbeans on 2 computers. I would like to use git to keep

  • 0

I use Netbeans on 2 computers. I would like to use git to keep the same source code for my project on the 2 computers. I tried this way :

On first computer (192.168.0.1) :

  1. Select a project on Netbeans > Team > Git > Initialize
  2. Add all the files, Commit
  3. On terminal, wrote the following command to create a bare repository :

git clone –bare myproject myproject.git

cd myproject.git mv hooks/post-update.sample hooks/post-update

git update-server-info

On second computer (192.168.0.2) :

  1. Launch Netbeans > Team > Git > Clone
  2. Enter my repository URL : 192.168.0.1/myproject.git
  3. Selected Master branche, Parent Directory, etc.
  4. It worked ! All my project from the First computer on the Second computer.

Now, I would like to push the modification from the first computer to the second computer. I tried this way :

On first computer (192.168.0.1) :

  1. On netbeans, modify an file, then Team > Git > Commit
  2. Team > Git > Remote > Push, then Repository URL is : file:///Users/me/projects/myproject.git/

On second computer (192.168.0.2) :

  1. Team > Git > Remote > Pull
  2. Repository Location is pre-filled : origin:192.168.0.1/myproject.git/
  3. Select the master branche.
  4. Nothing happens. The modifications don’t appear.

Where did I made a mistake ?

I actually want to use the workflow displayed here : Git with 2 developers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T23:37:20+00:00Added an answer on May 30, 2026 at 11:37 pm

    There is a bug in the Git Plugin of this version of Netbeans : it is not possible to connect to a remote repository which is in the local network.

    -> http://netbeans.org/bugzilla/show_bug.cgi?id=205963

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I now use Netbeans rather than Eclipse but find that the Source code generation
I use Netbeans IDE, some where in the code I included this ImageIcon accept_icon
I'd like to ask you a simple question(maybe stupid one). Would you use Netbeans
Question simple and quick: I have started to use Netbeans to write some code
What is the best way to allow a team of programmers to use Netbeans,
We have a netbeans project that has an xsd that we use to create
I use NetBeans & Zend Tool (ZT). Then i create new project, ZT create
I'm trying to use NetBeans to compile C code and have the following versions
I use netbeans on windows platform to write my code and then I commit
I use NetBeans 6.8 and have MAMP with this config on my mac: Apache

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.