[hibernate-dev] Pleas help with GITHub, how to get new branches into personal fork?

Steve Ebersole steve at hibernate.org
Fri Apr 5 09:37:35 EDT 2013


Create a remote in the clone of your fork that refers to the upstream 
Hibernate repo:

* git remote add upstream git://github.com/hibernate/hibernate-orm.git

fetch the 4.2 branch into your clone:

* git fetch upstream 4.2:4.2

You can choose to push this to your fork or not.  If so (assuming you 
left that remote named "origin"):

* git push origin 4.2:4.2

Do your work...


On 04/05/2013 08:23 AM, Demetz, Guenther wrote:
> Hello hibernate developers,
>
> I want to open a JIRA-Issue and as always I like to provide an according  test-case in form of a pull-request.
> I already created pull-requests in past, but now I need  to update/align my fork of hibernate-orm with branch 4.2 which at the time of fork-creation did not exist yet.
> How to do that without destroying my fork first?
> It seems that GitHub does allow maximal one fork per repository. I tried almost everything imaginable without success.
> If someone could give me an advice please..
>
> thanks
> Guenther Demetz
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev



More information about the hibernate-dev mailing list