On Friday, 3 October 2014 07:28:48 UTC+2, Sam Roberts wrote:
> On Wed, Oct 1, 2014 at 12:40 AM, Thomas Ferris Nicolaisen 
> <tfn...@gmail.com <javascript:>> wrote: 
> > On Tuesday, September 30, 2014 8:49:11 PM UTC+2, Sam Roberts wrote: 
> > How about this approach: 
> > 
> > (The thing is to avoid GitHub's Fork button, instead create it manually 
> with 
> > only the branches you want) 
> If you don't use github's fork button, then github doesn't know there 
> is a relationship, you can't PR any changes upstream, etc. It goes 
> poorly. 
> But maybe what I can do is after the first fork, prune everything but 
> master from a local clone, and git push --mirror, effectively deleting 
> all the remote state. 
> Cheers, 
> Sam 

Yes, that should do. Just make your local repo as you want it to be, using 
git-fetch <http://git-scm.com/docs/git-fetch>'s prune mode (*--prune* or 
*-p*) on the upstream for instance, and mirror-push it to your fork.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to