Another good introduction to version control (git)

I learned a lot during the last few months coding some real world projects for palm webOS.
One thing and this is a really important thing is, committing your code you worked on the last couple of hours to a source code management system can save you hours of work. Changing some code here and there and boom, “why this was working perfectly before” and sometimes you find the issue quickly, sometimes you search and search.
If you can simply revert or quick-check your code from the last commit you’ll find the issue really fast, trust me!
For all the lazy developers out there (not only webOS ones) I found another great site, that’s introducing, this time: git

Short quote from the page:

Git is a distributed version control system. No, you don’t need to know what that means to use this guide. Think of it as a time machine:Subversion or CVS without the cruft.

If you make a lot of changes, but decided you made a mistake, this will save your butt.

Read on if you want to learn some pretty cool and quick tips

Version Control with Mercurial for Mac OS X

Sure we (developers) all securing our code in different ways. BackUps are one way and should be done on a regular basis. So nothing new here. Some of us are also doing version control with different Revision Control Systems, like the popular SubVersion, Git, bazaar or Mercurial.

I started with version control and used Mercurial for myself a few months ago as I submitted my first App to Palm’s AppCatalog to keep up-to-date with changes and if I made a mistake I can easily roll back to a revision where that code worked. I also have the change to compare some code if I’m sure that there was a working one before.

Normally I do that with a Terminal and the hg commands, but since 2 weeks or so I found a really nice GUI for Mercurial where I can handle all my Repositories in one place and also can Push, Pull, Commit, Revert and so on from a graphical interface. That makes some things a lot simpler and I even save some spare time. I found a tool called MacHg which is a GUI for Mercurial and has all the Cocoa goodness included that we love in Mac OS X.

There are also some detailed screenshots on MacHg’s and a 10 minute screen cast on how to start with MacHg.

MacHg only runs on MAC OS 10.6 and is completely free! You can also checkout the sourcecode at BitBucket.

Thanks Jason for this great piece of software, it saved me a lot time and even makes working with Mercurial more fun!

And if you’re unfamiliar with Version Control systems, especially Mercurial, you should have a look at hginit.com. There is a really detailed and easy to understand tutorial on all the most features that Mercurial supports.

Which Revision Control System do you use for your code and are you taking the support of a GUI or going the “real way” with CommandLine only?

Version Control: Nice Tutorial

Every Developer should know a little about version control. Normally CVS or SVN (subversion) are the tools here.

But since 2 years or so, decentralized version control makes things even easier, also for developers who has no subversion server, or if you’re working in a team with only few update cycles.

I use Mercurial (hg) to have a version control of my software projects and found a nice tutorial written by Joel Spolsky, that teaches you in max. 6 steps to become a version control master. O.k. to be honest, not a master, but to use version control the right way for your project. If you are new to version control you can skip Step 1.

I’ve found it really useful, maybe you can take some ideas and concepts to bring it to your work-flow also.

Have a look here: http://hginit.com/