Thanks, Kevin.  I'd been adjusting the wikis based on what was already there
and had overlooked putting instructions in for this setup.

There's actually a few extra steps which aren't completely obvious:

1. Fork Insoshi project on git
2. "git clone git://github.com/insoshi/insoshi.git"
3. "cd insoshi"
4. "git remote add <my_github_login> [EMAIL PROTECTED]
:<my_github_login>/insoshi.git"
5. "git fetch <my_github_login>"
6. "git checkout -b <my_local_branch> <my_github_login>/master"
7. Open up .git/config and add to the section [remote "<my_github_login>"]
the line
    "push = refs/heads/<my_local_branch>:refs/heads/master"

The "git fetch <my_github_login>" is needed to bring in and automatically
create the <my_github_login>/master branch. I've also updated the "git
checkout -b" to reflect that.

The update to the .git/config file is the really non-obvious one.  What
would happen without it is that the "git push" would try to actually push up
your local master branch (connected to the main Insoshi GitHub repository)
to your GitHub repository's master instead of your changes on
<my_local_branch>.

I'll make the updates and expand upon this in the wiki.

Long



On Fri, Apr 11, 2008 at 7:48 AM, Kevin Ansfield <[EMAIL PROTECTED]>
wrote:

>
> Hi Long,
>
> It may be worth putting on the wiki that you can create your own
> branch for local editing after pulling & forking on github. I'm not
> sure if I followed the right way of doing it or not as I basically
> just winged it but the process I followed was thus:
>
> 1. Fork Insoshi project on git
> 2. "git clone git://github.com/insoshi/insoshi.git"
> 3. "cd insoshi"
> 4. "git remote add <my_github_login> [EMAIL PROTECTED]:<my_github_login>/
> insoshi.git"
> 5. "git checkout -b <my_github_login>/master"
>
> This creates a <my_github_login> branch in your local repository. Now
> I can do a pull on master to get the official insoshi changes, then
> rebase my <my_github_login> branch the same way as described in the
> wiki docs, pushing this branch then updates my own github repository
> ready to issue a pull request if needed.
>
> I think most of the above is in the docs aside from the "checkout -b"
> command, albeit not in one concise walkthrough.
>
> Cheers,
> Kevin
>
>
>
>
> On Apr 11, 4:16 am, "Long Nguyen" <[EMAIL PROTECTED]> wrote:
> > I've updated our Trac wiki (http://trac.insoshi.com/insoshi/wiki) to
> reflect
> > putting the Insoshi repository on GitHub.  I still have a few changes I
> need
> > to make but everything you need to know to get Insoshi is there.
> >
> > If you haven't already cloned our self-hosted repository, you can follow
> the
> > instructions in the Getting Started guides and be pointed to our
> repository
> > at GitHub.  (FYI, it's almost exactly the same except for the repository
> > URL!)
> >
> > For those that have cloned our self-hosted repository, it's actually
> really
> > simple to point your local repository over to GitHub.  All the details
> are
> > at
> >
> > http://trac.insoshi.com/insoshi/wiki/MovingToGitHub
> >
> > So go ahead sign up for GitHub (https://github.com/signup/free), start
> > watching the "insoshi" project (http://github.com/insoshi/insoshi) or
> fork
> > the project and have a public repository that everyone can follow
> (including
> > us!).
> >
> > And as always, if you have any questions or run into issues anywhere
> along
> > the way, let me know.
> >
> > Long
> >
> >
> >
> > On Thu, Apr 10, 2008 at 1:25 PM, Michael Hartl <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hi all,
> >
> > > Good news, everyone!  We'll be making a big announcement in a few
> > > days, but there's something you can all do right now that will make it
> > > easier to get involved in the Insoshi project.  Right now, we're using
> > > Trac for Insoshi, but behind the scenes we've already moved to GitHub,
> > > a cool new site for hosting Git projects.  We hadn't announced this
> > > because we only had three invitations for GitHub's closed beta, but
> > > they launched today, and now everyone can join!
> >
> > > To get started, it's as easy as 1-2-3:
> >
> > > 1. Sign up for a free GitHub account at
> >
> > >https://github.com/signup/free
> >
> > > (Don't worry about the SSH public key at this point.)
> >
> > > 2. Go to the Insoshi project at
> >
> > >http://github.com/insoshi/insoshi
> >
> > > and click on "watch" to get project updates.
> >
> > > 3. Click on "fork" to make your own copy of the repository.  Don't
> > > worry about doing anything with it now, but this will make it easier
> > > to contribute when the time comes.
> >
> > > Even if you don't plan to contribute source code, you can still help
> > > us by following these steps, since it will help raise the profile of
> > > the Insoshi project.
> >
> > > That's all you need to do for now.  We'll be releasing more detailed
> > > instructions for contributors shortly.
> >
> > > Cheers,
> >
> > > Michael
> >
> > --
> > Long Nguyen
> > [EMAIL PROTECTED]
> >
>


-- 
Long Nguyen
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to