Version control system

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Zulsorai
Prole
Posts: 16
Joined: Fri Jun 20, 2014 1:57 am

Version control system

Post 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 :megagrin:
Life without internet is life without food, you won't last long.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Version control system

Post 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.
When I write def I mean function.
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: Version control system

Post 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.)
Zulsorai
Prole
Posts: 16
Joined: Fri Jun 20, 2014 1:57 am

Re: Version control system

Post 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 :)
Last edited by Zulsorai on Sun Jun 22, 2014 9:58 pm, edited 1 time in total.
Life without internet is life without food, you won't last long.
User avatar
Inny
Party member
Posts: 652
Joined: Fri Jan 30, 2009 3:41 am
Location: New York

Re: Version control system

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests