You have to create new branch locally and pull code from your git branch
into that one.
So something like this on your laptop:
Open up terminal and change directory to where your app is checked out.
Create a new local branch:
git checkout -b updating_users

Pull code in that branch from your github repo branch:
git pull origin updating_users

Alternatively you can also use this command:
git checkout -b updating_users origin/updating_users


Chirag
http://sumeruonrails.com



On Fri, Sep 23, 2011 at 10:21 AM, 7stud -- <li...@ruby-forum.com> wrote:

> Chirag Singhal wrote in post #1023053:
> > First you have to setup your laptop for git usage similar to what you
> > had
> > done for your PC.
> > 1. Install Git
> > 2. Generate SSH keys
> > 3. Add your laptop's public key to your github account (you can add as
> > many
> > keys as you want, so do not modify your PC's key, just add a new one)
> >
> > Then go to your repo page on github, copy the clone url shown there, and
> > use
> > git clone <clone url>
> > to get your ruby app on your laptop.
> >
> > From there on, you can continue working same way as you did on your PC.
> >
> > Chirag
> > http://sumeruonrails.com
>
> There is nothing at github that says "clone url".  There is a url
> displayed when you go to a repo.  So on my laptop, I went to the
> directory I want my app to be in, rails_projects, and then I issued the
> command you showed me.  Then I cd'ed into the newly created app
> directory, and I get this:
>
> $ git branch
> *master
>
> However, I have another branch on github called 'updating users', and  I
> can't figure out how to download the other branch.
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to