* Newbie question about making a bare repository
@ 2008-06-16 18:57 D. Stuart Freeman
2008-06-16 20:57 ` Miklos Vajna
2008-06-20 20:53 ` D. Stuart Freeman
0 siblings, 2 replies; 3+ messages in thread
From: D. Stuart Freeman @ 2008-06-16 18:57 UTC (permalink / raw)
To: git
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
I have a repository that I made with 'git-svn clone' that I'd like to
make bare but retain the svn info. Would I just change the "bare" in
.git/config to true? Is there anything I have to do to remove the
working copy info?
I plan to do this so that a co-worker and I can clone the git repo, and
push our changes back to it, and maintain the "proxy" to svn from that
central location.
--
D. Stuart Freeman
Georgia Institute of Technology
[-- Attachment #2: stuart_freeman.vcf --]
[-- Type: text/x-vcard, Size: 162 bytes --]
begin:vcard
fn:D. Stuart Freeman
n:Freeman;Douglas
email;internet:stuart.freeman@et.gatech.edu
tel;work:(404)385-1473
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Newbie question about making a bare repository
2008-06-16 18:57 Newbie question about making a bare repository D. Stuart Freeman
@ 2008-06-16 20:57 ` Miklos Vajna
2008-06-20 20:53 ` D. Stuart Freeman
1 sibling, 0 replies; 3+ messages in thread
From: Miklos Vajna @ 2008-06-16 20:57 UTC (permalink / raw)
To: D. Stuart Freeman; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 480 bytes --]
On Mon, Jun 16, 2008 at 02:57:42PM -0400, "D. Stuart Freeman" <stuart.freeman@et.gatech.edu> wrote:
> I have a repository that I made with 'git-svn clone' that I'd like to
> make bare but retain the svn info. Would I just change the "bare" in
> .git/config to true? Is there anything I have to do to remove the
> working copy info?
change it in foo/.git/config and mv foo/.git foo.git
also don't forget that you'll need 'git --bare svn foo' instead of 'git
svn foo' from now.
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Newbie question about making a bare repository
2008-06-16 18:57 Newbie question about making a bare repository D. Stuart Freeman
2008-06-16 20:57 ` Miklos Vajna
@ 2008-06-20 20:53 ` D. Stuart Freeman
1 sibling, 0 replies; 3+ messages in thread
From: D. Stuart Freeman @ 2008-06-20 20:53 UTC (permalink / raw)
To: stuart.freeman; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]
D. Stuart Freeman wrote:
> I have a repository that I made with 'git-svn clone' that I'd like to
> make bare but retain the svn info. Would I just change the "bare" in
> .git/config to true? Is there anything I have to do to remove the
> working copy info?
>
> I plan to do this so that a co-worker and I can clone the git repo, and
> push our changes back to it, and maintain the "proxy" to svn from that
> central location.
>
I think I've found a flaw in my plan. Now that the repo is bare I can't
get any changes from upstream. I run 'git --bare svn fetch' and that
works, but then I have no way to rebase those changes into a local
branch because I don't have a working copy. Is there a way to see a
remote repo's remotes, and merge/rebase from there?
--
D. Stuart Freeman
Georgia Institute of Technology
[-- Attachment #2: stuart_freeman.vcf --]
[-- Type: text/x-vcard, Size: 162 bytes --]
begin:vcard
fn:D. Stuart Freeman
n:Freeman;Douglas
email;internet:stuart.freeman@et.gatech.edu
tel;work:(404)385-1473
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-20 20:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-16 18:57 Newbie question about making a bare repository D. Stuart Freeman
2008-06-16 20:57 ` Miklos Vajna
2008-06-20 20:53 ` D. Stuart Freeman
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).