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.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Java and github

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Please if anyone can help me out on this
 
author & internet detective
Posts: 39625
784
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William,
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.
 
The City calls upon her steadfast protectors. Now for a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!