From: Fabio M. Di Nitto <fdinitto@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] git private branches guidelines
Date: Wed, 2 Jul 2008 05:59:14 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0807020541220.27368@trider-g7> (raw)
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.
reply other threads:[~2008-07-02 3:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0807020541220.27368@trider-g7 \
--to=fdinitto@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).