Git Cheat Sheet

April 11, 2009 § 1 Comment

A couple of notes for myself and readers about Git:

  • Git does not allow you to add empty directory.
  • Do not forget to do initial commit when starting a new repository. Otherwise you will get: error: src refspec master does not match any. Reference: here.
  • There are a couple of configurations need to be set before performing git pull:
    git config branch.master.merge 'refs/heads/master' and 
    git config branch.master.remote 'origin'
  • How to ignore files? Read here.
  • The best Git GUI on OS X is: GitX.
  • Git cheat sheet by GitHub: [link]

If you are SVN users:

  • git checkout is not what you think. The functionality that you might want is git clone.
  • git checkout is used to switch branch or re-checkout a file.
  • git commit is not what you think. The command only do local commit. To push to ‘central‘ repo, you want to do git commit followed by git push.

Google Tech Talk: Linus Trovald on Git

February 27, 2009 § 1 Comment

Unfuddle: Hosted SVN and Git Solution, Redmine, and Trac

October 14, 2008 § 6 Comments

I have a need for a simple hosted SVN solution for my toy project. I don’t want to make my own bug tracking system, and if I’m using other’s, I want it free (as in beer).

Thus, number one obvious choice is Trac. But it doesn’t really support more than 1 project.

Next is Redmine, an open source bug tracker and project management tool written in Ruby on Rails. Rails is not my cup of tea, but definitely easier to install than Trac. Redmine is pretty awesome, it has these features:

  • Multiple projects support
  • Flexible role based access control.
  • Flexible issue tracking system
  • News, documents & files management
  • Feeds & email notifications.
  • Per project wiki
  • Per project forums
  • Simple time tracking functionality
  • Custom fields for issues, projects and users
  • SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs)
  • Multiple LDAP authentication support
  • User self-registration support
  • Multilanguage support
  • Multiple databases support
Basically everything I need and many things I want. Sounds good and I installed it immediately.

Then, I came across this blog and discover Unfuddle. Unfuddle has all the benefits of Redmine and it is hosted. Furthermore:

  • Unfuddle already support SVN and Git.
  • Unfuddle free account is private, limited to just 2 developers, and max size 100MB. Perfect for my little project.

Bazaar: Version Control System

October 5, 2008 § Leave a comment

There are numerous distributed Version Control systems nowadays. There are Git, Mercurial, and Bazaar.

From first impression, I like Bazaar, here’s why:

  • It’s written in Python.
  • Furthermore, because it is written in Python, installation is a breeze: `easy_install bzr`
  • It has similar terminology to SVN. That means lower learning curve.
  • Bazaar has really good storage compression. See the comparisons that others have done below.

Bit of History:

Martin Pool started Bazaar when he was just hired by Canonical, ltd.


List of Projects using Bazaar[link]:

Below is not the complete list, see link above for more.

  • Bugzilla@Mozilla
  • GNU Mailman
  • MySQL
  • Squid – Caching Proxy project. It caches frequently visited web pages.

Others have attempted to compare Bazaar vs Git:



Where Am I?

You are currently browsing the git category at RAPD.