Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (855)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  What kind of version control system should I use?  (Read 1677 times)
0 Members and 1 Guest are viewing this topic.
Offline JNiNJA

Junior Newbie


Exp: 4 years


Whatever you do, do it in your way.


« Posted 2014-04-19 23:24:33 »

Hey guys..  I wanted to ask you about what kind of version control system can I use as a lonely programmer?
I found SVN and Git too complex and have a lot of features that I won't use any way.
I looking for a simple system that will allow me to track off my changes and store them easily.
Any suggestions?  Tongue

Offline ctomni231

JGO Wizard


Medals: 99
Projects: 1
Exp: 7 years


Not a glitch. Just have a lil' pixelexia...


« Reply #1 - Posted 2014-04-20 00:09:54 »

There isn't that much choice in version control software. You have a choice between SVN, Mercurial, Git and Bazaar. Of all, I think Mercurial was my best experience when working alone.

You can make it somewhat easier by downloading software like TortoiseSVN (SVN), TortoiseHG (Mercurial), or using Github (they have GUI for Windows) (GIT). Eclipse has built in functionality for version control software as well for Git, Mercurial, and SVN. For the best explanation of the lingo used, I suggest looking at the tutorials for Mercurial and Git, as they are the best written.

There are a lot of options, but personally I started on SVN. It was a rough road to learn it from scratch, but once I got past the hurdle I didn't find the others too hard to learn. Usually, those systems give the most advantage in a group environment since, when working by yourself, you can keep track of your changes. However, that is just how I personally do it.

Offline Longarmx
« Reply #2 - Posted 2014-04-20 00:16:10 »

How were you using Git? Eclipse has a Git plugin that makes updating very easy. It shows you real-time if you have made changes to a class since your last commit. Also, committing is very easy:

Right Click on project->Team->Commit
Type in a description
Click "Commit & Push"

The GitHub app isn't any different. It's just in a separate application instead of in the eclipse workspace. It also allows you to check past commits on every project.

I haven't tried SVN so I can't say anything about it.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cero
« Reply #3 - Posted 2014-04-20 02:42:19 »

git is not hard if you use it very basic; which I do.

I use the console and all you would do is:

1  
2  
3  
4  
git add -A .
git commit -m 'Message of this commit, tell yourself what major changes this commit has'

git push origin master

and you're done. "git pull" to pull it from server

not doing any branching in this case, but simple branching is easy too.

Also remember that commits should be as small as possible but of course thats not as easy to follow up upon


If you really dont wanna use git, then you could just have a change-log text file and do backup archives of your code

Offline Roquen

JGO Kernel


Medals: 518



« Reply #4 - Posted 2014-04-20 06:46:56 »

I still use CVS.  I know how it works and it does what I need.  Don't know if it would make sense for anyone that doesn't already know it to start using it these days.  Probably not.
Offline SHC
« Reply #5 - Posted 2014-04-20 06:57:46 »

I prefer GitHub. With it's applications for Windows & Mac, I can easily create commits and sync them online. Some terms to get by

CommitA commit is a new version. This specifies what files are changed and the changes for the files, including which files are removed.
PushA push is a command we issue to upload the commit to the repository. This command is called "Sync" in the GUI version.

There are so many others and they will be easy to learn and remember (If you want to learn console git, try using TryGit.

Offline delt0r

JGO Wizard


Medals: 145
Exp: 18 years


Computers can do that?


« Reply #6 - Posted 2014-04-20 10:50:21 »

Anything  but SVN (or CVS and sourceforge will make you want to kill yourself). Centralized version control simply doesn't work and is outdated. Even with just one dev.

I have no special talents. I am only passionately curious.--Albert Einstein
Offline Roquen

JGO Kernel


Medals: 518



« Reply #7 - Posted 2014-04-20 13:07:13 »

I'm not advocating using CVS just 'cause there's no margin in learning it.  But if you already know CVS and the repo is local...I don't see any real downsides vs. a more modern VCS.
Offline atombrot
« Reply #8 - Posted 2014-04-20 13:11:59 »

Anything  but SVN (or CVS and sourceforge will make you want to kill yourself). Centralized version control simply doesn't work and is outdated. Even with just one dev.

While a decentralized versioning has its advantages, I don't see why centralized vcs should not work. I've been using SVN since years in teams of 1-10 people and if you know what you are doing this works quite well. I only know one team member, who always had his problems with SVN, but that was because he commited his changes once a week (and one day per week he spent time merging XD).
For my private projects I am using git now, as I like the decentral nature of git. But at work we still use SVN and are happy with it.
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1572 views)
2018-06-10 19:43:48

EgonOlsen (1656 views)
2018-06-10 19:43:44

EgonOlsen (1145 views)
2018-06-10 19:43:20

DesertCoockie (1573 views)
2018-05-13 18:23:11

nelsongames (1174 views)
2018-04-24 18:15:36

nelsongames (1664 views)
2018-04-24 18:14:32

ivj94 (2421 views)
2018-03-24 14:47:39

ivj94 (1631 views)
2018-03-24 14:46:31

ivj94 (2718 views)
2018-03-24 14:43:53

Solater (884 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!