Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

need help on github

 
Ranch Hand
Posts: 373
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As I am very new to github or git
I created a repository and understood the basics for using github
But don't know how to include my favourite java codes to it
As by their helping document named as "Hello world" they only provide you information how to start working at it and its basics
 
Sheriff
Posts: 4868
317
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well if you're new to git, then it's understandable that github is a mystery. I would recommend starting out learning about git, which is a version control system for your code.

Git website: https://git-scm.com/ which contains general information as well as tutorials.
 
Ranch Hand
Posts: 73
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went to that site once...other than finding out it was a VCS I wasn't sure how useful it would be for someone new to this like me so I left. Hopefully I will know enough within the next six months that I can go back and utilize it if necessary.
 
Sheriff
Posts: 7108
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a quick tutorial on git/github that I liked.
 
Sheriff
Posts: 67403
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like git a lot, but github, to me, is one of the best examples of why UI should never be designed by developers.
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could try using BitBucket instead to get started. It's another online code repository where you can sign up and host your projects for free, and it also uses Git underneath, but I find it's easier to use than the Github website, and the instructions are usually fairly clear. You might also like to look at the simple introductory book Git - Version Control For Everyone which will give you a simple introduction to Git and version control, and this book uses BitBucket for its examples.
 
Saloon Keeper
Posts: 22122
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The git docs are fairly good and github is reasonably (though not excessively) intuitive.

The real appeal, I think - aside from the fact that it's Linus Torvalds clearinghouse is that it allows people to set up what amounts to a mini-wiki/blog. Or actually several of them, since the github is designed to allow you to host many individual projects under a single account ID.

Git's strongest feature lies in the fact that you can work on projects using a local git repo, then push them through to the github repo when you're ready for the world to admire your work.

But that's only part of the deal. The github server understands markdown language, which, like the Wiki markup language allows people to create formatted, hyperlinked documents without the tedium of coding html. So it's typical that a project will include a "README.md" page that show when someone visits your public git repo for a project that can be used to describe the project and how to use it. For example: https://github.com/mtsinc1/dibs

Among the popular resources hosted at github you can find Docker container definitions and deployment instructions, Puppet modules (and, again, instructions), and so forth. And, of course, this: https://github.com/torvalds/linux
 
It means our mission is in jeapordy! Quick, read this tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic