Page 1 of 1
Version control system
Posted: Sat Jun 21, 2014 4:52 am
by Zulsorai
Now that the school year is ending for me I have some spare time to explore Love a little more. My question for you guys is do you use any version control systems like Git and such, and how useful do you think it actually is? I've started to set up Git myself, but i've been having second thoughts if it's going to help me, or just become a nuissance.
P.S. this is my first post on the forums, but i've been creeping around for a while now
Re: Version control system
Posted: Sat Jun 21, 2014 6:46 am
by kikito
I consider git one of the most important tools I have when programming. That said, I also find it ugly. The commands are inconsistent and require me to know more things than I should (or get wacky errors from time to time). GitHub makes it palatable. When I need to review code from older versions, for example, I just use the GitHub website. Doing that though the command line is just too much of a hassle.
Re: Version control system
Posted: Sat Jun 21, 2014 7:53 am
by Plu
I think github is unmissable. Commit everything that works. If you ever manage to screw up your design, you'll love the option to just "reset to last working version" and start over; something that is nearly impossible to do without version control.
(All of the other options become really useful when working in a team, but even on your own the option to have a list of working versions of the game is awesome. Plus, if you put it on GitHub you also have a really easy way to ask questions about your code and for people to show you how to fix it, and you get free backups.)
Re: Version control system
Posted: Sat Jun 21, 2014 2:15 pm
by Zulsorai
Kikito wrote:That said, I also find it ugly. The commands are inconsistent and require me to know more things than I should (or get wacky errors from time to time).
What about using the desktop versions they provide for window and mac? Won't that remove the need to remember any other the commands?
Plu wrote: but even on your own the option to have a list of working versions of the game is awesome.
This is what I was hopping to hear
Re: Version control system
Posted: Sun Jun 22, 2014 3:56 pm
by Inny
TortoiseGit is pretty great. I use it at work and is a nice replacement for having to use the command line. Only on occasion have I had to drop to the command line to get something. None of my coworkers have ever had to.
Since you're one guy, the only thing you'd really need to worry about is making Commits, checking the Diff (or the "Modifications"), possibly having to do a Hard Reset if you've just made a mess that's making you unhappy, and the doing a Push to github if you want to share your source code with the world. Things like Merges and Branches won't happen until you have a second guy working with you, and even then Git's pretty magical about resolving merge conflicts.