This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi I am sorry if this is the wrong section to place this in, but i am not really sure where it goes, so I just placed it in java.
I am trying to upload my java code so we can work on it through github ( I am on windows ) problem is, I am not sure how to do it. I know netbeans has an option to do it, but I want to do it using the terminal.
I am not sure where to save the code or if I should just copy and paste the code to the github folder then push from there.
The first step is to set up your command line if you haven't already. The help walks you through it. Then create a repository in the browser. I find it easier to check the "create a read me" in the browser rather than following the docs to create a repository. Then you can copy paste the git url and start out with git clone.
Since you already have existing code, you may find it easier to go with the documented git init approach. That way you can easily have the repository be whereever netbeans is storing the project.