For how git works it is best to watch a short video on youtube about it.
Mainly it allows you to keep track of your versions, changes, functions et cetera.
Git is a bit hard to learn, and way harder to keep yourself disciplined to use it. But has many benefits.
One of the main reasons i use git is that i can experiment with the code and then rollback if it was a mess (without having to edit files, change a folder etc) or merge it with my 'stable' code
Yes, this is exactly the use for it that I had in my head. Because currently, my crude way of backing-up is simply to copy and paste my entire project folder from the Eclipse workspace to a separate backup folder and append the date and time of the backup -_- Then if I screw something up terribly, I either manually copy the parts I need from the last working backup or copy the entire backup back to the workspace altogether if my changes completely wrecked the project.
If you want to use something with the look and feel of github but want to have private repositories i would recommend https://bitbucket.org/
It offers wiki, issue tracking and much more
I used it before i setup my private gitserver (Gitlab) and was very satisfied.
Thanks, I'll check this out
It's not blocked at work so it may also satisfy my need to have my project code available on any machine I'm working on. For... y'know... when I'm at work and don't feel like working
Free projects on GitHub don't have to be intentionally "open-source" - they're just public. People copying code off public projects isn't really a problem. GitHub is great for just versioning, but best for open-source. Github integrates ok with eclipse, but I wouldn't really know because I don't use it (built-in) in Eclipse - I just load my project from my github folder, make changes in Eclipse, then load up the GitHub client and commit/sync.
Free projects on GitHub don't have to be intentionally "open-source" - they're just public. People copying code off public projects isn't really a problem.
Code on Github aren't public domain unless specified by it or WTFPL. You can't just come to someone's repo (like evernote, node, libgdx, etc) and copy their code around. Each repo has its own license.
Sorry, I might need clarification on these two statements:
"People copying code off public projects isn't really a problem."
"You can't just come to someone's repo (like evernote, node, libgdx, etc) and copy their code around."
With how I understood how GitHub works (the free account where you can only create open-source repos), it seemed like people can totally access someone else's code and copy it around. Like, I can go for example to Texture.java on GitHub
, highlight the entire thing, and paste it wherever to be used.
Or is Texture.java specifically just made to be accessed that way? Meaning, there might be other parts of the project which one can't
copy and paste around?