Archive › git

Useful git tutorials

We’ve been using git for as our version control management system since the day we started, and have never looked elsewhere. It’s fast and easy to use and with github, it’s even gone social! So, for those of you who have heard of git, but don’t really know how it works, and are interested to [...]

Comments ( 0 )

git svn can't locate SVN/Core.pm

I had a problem when running git svn command on my ubuntu. Can’t locate SVN/Core.pm in @INC It turns out all I had to do is install libsvn-perl.

Comments ( 1 )

Make your bash aware of git branch on Ubuntu

If you’re someone who has multiple  git branches on a project and seem to always do git branch to check which branch you’re in. Then here’s how you can make your bash aware of a git branch. Well, I’m not sure if this works on others, but it sure does works in my Ubuntu Hardy. [...]

Comments ( 0 )

How the Rails Core team uses git

The beauty of git is there is no one true way to do it. Here’s how the Rails Frameworks maintainers uses git. http://rails.lighthouseapp.com/projects/8994/sending-patches And here’s a wonderful video from Railscast on how to contribute to Rails. http://railscasts.com/episodes/113

Comments ( 0 )

Git in a team.

So , after doing a little bit of homework, this is how I’m gonna do it. I’ll try the forking approach. Assuming that the repo is forked from a repo in github.Taken from Dr Nic’s website http://drnicwilliams.com/2008/02/03/using-git-within-a-team/ Forking is to clone an entire remote repository into another remote repository. Now you have two repositories based [...]

Comments ( 0 )

Git. Make sure branch is updated

I had to make sure my git branch is updated with my master. So at my master branch git pull master Next, I switched to my branch named ‘feature_super_tag’. git checkout feature_super_tag and then git rebase master A good explanation of what a rebase does is from these two blogs: http://jbowes.dangerouslyinc.com/2007/01/26/git-rebase-keeping-your-branches-current/ http://adam.blog.heroku.com/past/2008/6/30/rebasing_is_editing_commits/ Note: It’s a [...]

Comments ( 0 )

Git. Pushing your local branch to remote branch repo

Assume you have a git branch named experimental and you would like to push it to your remote repository. Then just do git push origin experimental Now other people can see the remote branch if they do git branch -r. Perhaps they should do a git pull first before the git branch -r. This should [...]

Comments ( 0 )

Incompetent git!! Or is it?

Git used to be, in my vocabulary, a word I use when I’m angry with someone. Now it’s a new word I use to keep my codes version controlled and backed up. Interesting how language can run circles around you If you don’t know what git is, here’s a detailed explanation on Wikipedia Here’s a [...]

Comments ( 1 )