How can I push individual projects using GIT and Netbeans?

  • Thread starter Thread starter toothpaste666
  • Start date Start date
Click For Summary
The discussion centers on a user experiencing issues with Git integration in NetBeans, specifically pushing an entire workspace to Bitbucket instead of individual projects. The user suspects that they have configured Git to commit all projects at once. Another participant suggests that this behavior may stem from setting up a single Git repository for all projects, which is supported by the NetBeans Git tutorial. They recommend creating separate repositories for each project to allow for project-specific commits and pushes. The conversation highlights the need for proper repository management in Git when using NetBeans to avoid unintended bulk commits.
toothpaste666
Messages
516
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
 
Technology 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.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 20 ·
Replies
20
Views
4K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
1
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K