cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] git private branches guidelines
@ 2008-07-02  3:59 Fabio M. Di Nitto
  0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2008-07-02  3:59 UTC (permalink / raw)
  To: cluster-devel.redhat.com


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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-02  3:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02  3:59 [Cluster-devel] git private branches guidelines Fabio M. Di Nitto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).