FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 07-02-2008, 03:59 AM
"Fabio M. Di Nitto"
 
Default git private branches guidelines

Hi guys,

in a an attempt to improve the visibility of changes, some of us agreed to
use git branches to share code in an easier way directly on sourceware.


The full man page on how to handle remote branches is in "git pull --help"

Here is a super short summary of what you need to know.

create and push changes from a local branch to a remote branch:

git push ssh://sources.redhat.com/git/cluster.git
origin localbranchname:refs/heads/remotebranchname

delete a remote branch:

git push ssh://sources.redhat.com/git/cluster.git
origin :remotebranchname

be _EXTREMELY_ careful when you remove a branch. To my knowledge there is
no way to revert a delete and you can delete any branches by mistake
(stable2, rhel....).


2 things need to happen before we will use them:

- we need to disable private branches commit messages to cluster-devel to
avoid an excess of noise (David is already looking at this).

- we need to agree on branch naming.

My suggestion for branch naming is fairly simple:

$ircnickname_$reason

where $reason can be fixbz123456 or newlogsys or cleanup or... basically
what the branch is about in one word.


this way we can avoid clashing and declare "ownership" of branches.

Please try to be sensible and remove unused branches once you are done.

Fabio

--
I'm going to make him an offer he can't refuse.
 

Thread Tools




All times are GMT. The time now is 07:17 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org