Computer Science Canada

Github in Netbeans

Author:  Nathan4102 [ Mon Jul 07, 2014 9:51 pm ]
Post subject:  Github in Netbeans

So I have a little open source project I'm starting work on, and I want to make it avaliable on github for interested people to add to or suggest changes. I've looked up how to use github with Java, but practically ALL the tutorials are for Eclipse, and the ones for Netbeans didn't really do what I wanted.

Really all I need is to be able to upload the project to Github, have it viewable by others, and have others be able to submit push requests. How do I do that?

Thank ya,

Author:  rdrake [ Mon Jul 07, 2014 10:07 pm ]
Post subject:  Re: Github in Netbeans

You'll need to initialize a Git repository in Netbeans, create a project on GitHub, then add the new GH repository as a "remote" to the Git repository you created in Netbeans.

Author:  Zren [ Mon Jul 07, 2014 10:10 pm ]
Post subject:  RE:Github in Netbeans

Git's a command line tool, get used to using it from the command line before you use it with your IDE.

Can't remember the keyboard shortcuts for Netbeans, but you can do Git Add/Commit by right clicking the project/files in the explorer view.

Author:  Nathan4102 [ Wed Jul 09, 2014 8:25 pm ]
Post subject:  RE:Github in Netbeans

God damn this is confusing. I fiddled with it for a while, got it sorta working, and then eventually gave up Razz Ill try again another time, I don't really need git right now, just thought it'd be sorta neat.