Thursday, December 13, 2012

Steps to create remote branching in git (github)

This is a note to myself (may be useful to some of you)

1. Install git_remote_branch ruby utility
git_remote_branch simplifies the git remote branching process. More details about git_remote_branch can be found here:  https://rubygems.org/gems/git_remote_branch

We should ensure ruby is already installed before attempting to install git_remote_branch

To check if ruby is installed, try the following command:
$ ruby --version

If ruby is installed, we will get result similar to the following:
ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32]
If ruby is not installed, we will get message like "ruby command not found".

$ gem install git_remote_branch

2. Create a new branch using git_remote_branch (grb) unity
$ grb create 1.0

3. Push the changes to the server (in my case github)
$ git push

4. Tag the branch
$ git tag tag-1.0

5. Push the tags to server
$ git push --tags

Thats it!

7 comments:

Avinaash Diraviyam said...

Dear Mugunth!

Your contributions to society, especially to Tamil Community is excellent.

I would like to reach you.

Can you support my Social Venture?

http://openskillsmovement.blogspot.in/

We need Experts(Volunteers) to train our e-Riders on ICTs. Please have a look at the above link.

Thanks & Regards,

Avinaash Diraviyam
avinaash.d@gmail.com
skype: avinaash.diraviyam

nithya raghuvaran said...

Best SAP FICO Training Institute in Chennai pallavaram chrompet guindy T.Nagar Poonamallee Vadapalani Anna Nagar

http://thecreatingexperts.com/sap-fico-training-in-chennai/

Rigid Box said...

Information from this blog is very useful for me, am very happy to read this blog Kindly visit us @ Luxury Watch Box | Shoe Box Manufacturer |  Candle Packaging Boxes

shivani said...

A befuddling web diary I visit this blog, it's incredibly grand. Strangely, in this present blog's substance made motivation behind fact and sensible. The substance of information is instructive
Oracle Fusion Financials Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training

shivani said...

An astounding web diary I visit this blog, it's inconceivably magnificent. Strangely, in this current blog's substance made point of fact and sensible. The substance of information is instructive.
Oracle Fusion Financials Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training

Merlin Kristianti said...

persembahkan mantra judi kartu memang sebagian orang menggunakannya. Walaupun sudah zaman modern seperti saat ini tapi masih tetap saja ada yang menggunakan mantra
asikqq
dewaqq
sumoqq
interqq
pionpoker
bandar ceme terpercaya
hobiqq
paito warna
forum prediksi

Tiffany said...

Having doubts regarding VictoriaMilan Review? Check VictoriaMilan Review reviews on wizzlove.com