login
Header Space

 
 

Re: Cloning empty repositories, was Re: What is the idea for bare repositories?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Junio C Hamano <gitster@...>, <git@...>
Date: Wednesday, November 14, 2007 - 7:38 pm

On Wednesday, November 14, 2007 at 20:58:29 (+0000) Johannes Schindelin writes:

Um, ok, but the above means that this repo now differs from other
repos, in that pushing now involves more than 'git push', i.e.,
'git push origin master'.  Is there not a way to configure it "as if"
I had done a 'git clone' and thereafter could just do 'git push'?

I want to do: 1) point to origin; 2) push; and not have to remember
"oh yeah, this is that 'special' repo and I have to tack on 'origin
master' or it won't work", or to clone it somewhere else and work
there.


I just want to point to it and treat it as if it had been cloned to
begin with: it is my future "point of origin".  If it is not cloning,
then it is "pointing to it as my origin", as if it were created by the
clone.

What's wrong with 'git init --mirror git://host/repo'?  Is it just
another special case that's busy work helping only a few, or does
it belong elsewhere in your opinion?


I think there is a tendency here to blame every shortcoming of git on
someone else's supposedly unsanitary past rather than facing up to
inherent problems in git itself.  We have several very senior, very
dedicated software developers who LOVE git, and who loathe CVS, but
who nevertheless find many vexing issues in git.


Whatever.  We went through this before on the list and push support
was added to git://.  We have SUCKY sysadmin support at our company
and permissions were getting HOSED using ssh pushes.  The git://
protocol makes everything clean on the repo side and no nasty
surprises with permissions and no delays begging the support team to
clean things up.


Bill
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What is the idea for bare repositories?, David Kastrup, (Mon Nov 12, 9:11 am)
Re: What is the idea for bare repositories?, Bruno Cesar Ribas, (Mon Nov 12, 9:19 am)
Re: What is the idea for bare repositories?, Johannes Schindelin, (Mon Nov 12, 9:57 am)
Re: What is the idea for bare repositories?, Jan Wielemaker, (Mon Nov 12, 12:19 pm)
Cloning empty repositories, was Re: What is the idea for bar..., Johannes Schindelin, (Mon Nov 12, 12:34 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Mon Nov 12, 1:15 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Mon Nov 12, 1:54 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Mon Nov 12, 1:30 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Mon Nov 12, 1:57 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Mon Nov 12, 2:06 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Thu Nov 15, 8:44 am)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Wed Nov 14, 4:58 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Bill Lear, (Wed Nov 14, 7:38 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Wed Nov 14, 8:28 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Tue Nov 13, 7:19 am)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Tue Nov 13, 7:56 pm)
Re: Cloning empty repositories, was Re: What is the idea for..., Johannes Schindelin, (Mon Nov 12, 6:17 pm)
Re: What is the idea for bare repositories?, David Tweed, (Mon Nov 12, 10:20 am)
speck-geostationary