How can I push individual projects using GIT and Netbeans?

  • Thread starter Thread starter toothpaste666
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
toothpaste666
Messages
517
Reaction score
20
Hey everyone I am using GIT with netbeans to push projects to my bitbucket. The problem is I think I somehow accidentally set it so that it commits my entire workspace. What I mean by this is when I try to push one of my projects to one repository it pushes all of them instead of just the one I want. How can I change this? Thank you
 
Physics news on Phys.org
When using SVN, we create a tree outside of Netbeans and then open specific projects inside Netbeans. From there, we can update and commit changes using Netbeans on a project by project basis or even file by file basis.

How are you doing it with Git and Netbeans?

The GIT Netbeans tutorial seems to imply setting up a GIT repo for all your projects and hence you'd get the behavior you're seeing.

https://netbeans.org/kb/73/ide/git.html

We plan to move to GIT some time in the future so I'd like to hear more about this issue.