librelist archives

« back to archive

Resetting my fork of Homebrew

Resetting my fork of Homebrew

From:
Ronny Haryanto
Date:
2010-10-15 @ 23:18
Hi all,

I forked Homebrew and have added a couple of formulas that were
accepted. Recently I have somehow managed to screw up my local
repository, and I think I made it worse by trying to fix it with git
rebase (not knowing how to use it properly) and pushed it to my fork
on github. So I was thinking of deleting my forked homebrew repo on
github and start over, and I just wanted to confirm that this won't
affect those commits for the formulas I have submitted and accepted.
Would it?

Thanks for not laughing (publicly anyway) :-)

Ronny

Re: [homebrew] Resetting my fork of Homebrew

From:
Michael Dippery
Date:
2010-10-16 @ 00:10
> So I was thinking of deleting my forked homebrew repo on
> github and start over, and I just wanted to confirm that this won't
> affect those commits for the formulas I have submitted and accepted.
> Would it?

Nope, if they were merged into the main repo, they'll still be there.



----
Michael Dippery
mdippery@gmail.com | www.monkey-robot.com

Re: [homebrew] Resetting my fork of Homebrew

From:
Ronny Haryanto
Date:
2010-10-16 @ 04:08
On Sat, Oct 16, 2010 at 11:10 AM, Michael Dippery <mdippery@gmail.com> wrote:
>> So I was thinking of deleting my forked homebrew repo on
>> github and start over, and I just wanted to confirm that this won't
>> affect those commits for the formulas I have submitted and accepted.
>> Would it?
>
> Nope, if they were merged into the main repo, they'll still be there.

Thanks, Michael. I deleted my homebrew forked repo on github,
reinstalled homebrew and did the fork again. All good now. From now
on, I create a branch in my own repo for each brew I create/modify,
and submit pull requests from each branch.

Ronny

Re: [homebrew] Resetting my fork of Homebrew

From:
Mike McQuaid
Date:
2010-10-16 @ 15:06
On 16 Oct 2010, at 05:08, Ronny Haryanto wrote:

> Thanks, Michael. I deleted my homebrew forked repo on github,
> reinstalled homebrew and did the fork again. All good now. From now
> on, I create a branch in my own repo for each brew I create/modify,
> and submit pull requests from each branch.

Or you can use git reset --hard origin/master which will reset to your upstream.

--
Cheers,
Mike McQuaid
http://mikemcquaid.com