From: Steven Walter <stevenrwalter@gmail.com>
To: Steven Grimm <koreth@midwinter.com>
Cc: Steven Walter <stevenrwalter@gmail.com>, 'git' <git@vger.kernel.org>
Subject: Re: StGIT (or guilt) + git-svn?
Date: Tue, 24 Jul 2007 19:48:17 -0400 [thread overview]
Message-ID: <20070724234817.GA29700@dervierte> (raw)
In-Reply-To: <46A5EE4B.7020905@midwinter.com>
On Tue, Jul 24, 2007 at 08:19:23PM +0800, Steven Grimm wrote:
> He wants to create some files in his git-svn clone and use git to manage
> them -- checkpointing his work in progress, backing out changes, etc.,
> without publishing those files to the svn repository. The files in
> question are not already in svn. But he does want to work on other files
> that *are* in the svn repository, and wants those changes to be
> committed back.
>
> So my assumption was that he would do something like maintain his
> local-only changes as StGIT patches that never get committed to git. His
> other changes would get committed from StGIT to git, and from there he'd
> do his normal git-svn dcommit. Or maybe git-svn dcommit followed by stg
> rebase since git-svn dcommit creates new revision IDs.
You certainly could do local versioning this way, but it isn't how I
accomplish the same thing. I keep another branch on top of my "public"
svn commits for local stuff. If I always run git-svn dcommit from the
public branch, the local changes will stay local. After committing, I
just have to rebase the local branch on onto git-svn.
--
-Steven Walter <stevenrwalter@gmail.com>
"A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects."
-Robert Heinlein
next prev parent reply other threads:[~2007-07-24 23:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-24 10:20 StGIT (or guilt) + git-svn? Steven Grimm
2007-07-24 11:27 ` Steven Walter
2007-07-24 12:19 ` Steven Grimm
2007-07-24 19:39 ` Josef Sipek
2007-07-24 23:48 ` Steven Walter [this message]
2007-07-25 6:35 ` Steven Grimm
2007-07-25 22:25 ` Steven Walter
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=20070724234817.GA29700@dervierte \
--to=stevenrwalter@gmail.com \
--cc=git@vger.kernel.org \
--cc=koreth@midwinter.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).