From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: Daniel Pittman <daniel@rimspace.net>
Cc: git@vger.kernel.org
Subject: Re: git-svn, and which branch am I on?
Date: Sat, 28 Feb 2009 15:54:16 +0100 [thread overview]
Message-ID: <20090228145416.GA6289@atjola.homenet> (raw)
In-Reply-To: <87ljrr7xof.fsf@rimspace.net>
On 2009.02.28 19:50:08 +1100, Daniel Pittman wrote:
> G'day.
>
> I recently got asked a question about git-svn that I had no idea how to
> answer, and which I am actually curious to know how to find out.
>
> The general question was: in git, how do I identify where this branch
> came from?
"git svn info" tells you, besides other things, the URL your checked out
branch is based upon WRT svn. Use it with "--url" to show only the URL.
> ...and, finally, is the reason that I am finding it hard to explain this
> because I have an expectation of how things work that doesn't match up
> with git? In other words, is the question actually meaningless?
If you use git-svn, it's actually meaningful, because it controls what
svn rebase and svn dcommit do. For a pure git repo, it's usually not
that interesting.
Björn
next prev parent reply other threads:[~2009-02-28 14:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-28 8:50 git-svn, and which branch am I on? Daniel Pittman
2009-02-28 14:54 ` Björn Steinbrink [this message]
2009-02-28 15:03 ` Peter Harris
2009-02-28 17:14 ` Jakub Narebski
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=20090228145416.GA6289@atjola.homenet \
--to=b.steinbrink@gmx.de \
--cc=daniel@rimspace.net \
--cc=git@vger.kernel.org \
/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