-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to create a pull request for hibernate-orm
PostPosted: Mon Sep 08, 2014 3:56 am 
Newbie

Joined: Wed Mar 12, 2014 7:51 am
Posts: 9
I want to contribute my changes to the hibernate code base, as discussed in https://forum.hibernate.org/viewtopic.php?f=1&t=1035961.
The problem is that the instructions for creating a branch, as specified on https://help.github.com/articles/creating-and-deleting-branches-within-your-repository#creating-a-branch don't work for me.
The instructions say 'Just start typing the name of your branch; if it doesn't exist, GitHub will offer to create it for you', but in my case it doesn't offer anything :(
Extra question: am I supposed to do my changes on the master branch or on 3.6 ?


Top
 Profile  
 
 Post subject: Re: How to create a pull request for hibernate-orm
PostPosted: Mon Sep 08, 2014 5:30 am 
Hibernate Team
Hibernate Team

Joined: Fri Sep 09, 2011 3:18 am
Posts: 295
Hi,
thanks for the help.

Assuming you have already forked and cloned the project locally (https://help.github.com/articles/fork-a-repo), what I usually do to create a branch on GitHub is:

1) Create the new branch:
Code:
git co -b NEW_BRANCH


2) Push the new branch on my remote repository (origin is a fork of the project I want to send the patch)
Code:
git push origin NEW_BRANCH


3) You should be able to see the new branch in the GitHub page of your project

This will create the branch NEW_BRANCH on you remote repository. I've never used the GitHub interface.

Hope this help,
Davide


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.