Archive › July, 2008

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 )