Creating branches in Github

217 views
Skip to first unread message

prasath nadarajah

unread,
Mar 22, 2012, 10:44:10 PM3/22/12
to joomla-de...@googlegroups.com
Hi devs,
I,m new to Joomla Platform and Github.

When contributing to the platform do i want to create a new branch for every single change.
I,m working on improving the existing JGithub packages and implementing new functions.
Do i want to create new branches for each function i create when making a pull request or just create a JGithub branch
and implement all the new functions and create a single pull request.
Iwonder how creating one single branch is hard to review for commit??

--
Cheers
Prasath Nadarajah

Andrew Eddie

unread,
Mar 23, 2012, 12:56:26 AM3/23/12
to joomla-de...@googlegroups.com

Hi

I use branches to hold each "idea" I'm trying to fix. If I was
improving the github package, I'd create just one branch called
"github" and do all my work in there. If I'm doing documentation, I
do that in a "docs" branch. If I'm fixing up code style, I would do
that in a "style" branch or similar. On the other hand, if I was
fixing bugs, I'd create a new branch for each bug (like a tracker bug)
I was fixing.

Does that help?

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers

prasath nadarajah

unread,
Mar 23, 2012, 1:17:36 AM3/23/12
to joomla-de...@googlegroups.com
Thanks for the reply.
I will try that approach
--
Cheers
Prasath Nadarajah

piotr_cz

unread,
Mar 23, 2012, 5:57:21 AM3/23/12
to Joomla! Platform Development
Is it possible to rename GitHub branch using web interface?
Till not I used option `fork and edit this file` and new branches were
named as patch-[n++], I get lost in them quickly

On Mar 23, 5:56 am, Andrew Eddie <mambob...@gmail.com> wrote:
> Andrew Eddiehttp://learn.theartofjoomla.com- training videos for Joomla developers

Matt Thomas

unread,
Mar 23, 2012, 7:38:10 AM3/23/12
to joomla-de...@googlegroups.com
AFAIK, it's not possible to rename branches with the web interface. I personally name my branches semantically so I can remember what I was doing :)

Best,

Matt Thomas
Founder betweenbrain
Phone: 203.632.9322
Twitter: @betweenbrain

Reply all
Reply to author
Forward
0 new messages