git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: How to setup git repository for internal collaboration, that can be rebased easily?

From
NKNeal Kreitzinger <nkreitzinger@gmail.com>
Date
Mar 29, 2012, 15:16 UTC
Message-ID
<4F747CE4.9010609@gmail.com>
In-Reply-To
<CANz+fEk0HJBvHM2Z9kA42kXb7Aq-GL9ASQ+HiT3JgRQe_XpJLQ@mail.gmail.com>
On 3/27/2012 12:50 AM, Kumar Pande wrote:
Show 8 quoted lines
> On Mon, Mar 26, 2012 at 12:08 PM, Kumar Pande<pandekumar023@gmail.com>  wrote:
>
> So this what we have done so far:
>
> git clone --bare --shared
> http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git config core.sharedrepository 1
>

I don't think git-clone --shared does what you think it does. You should reread the git-clone manpage for --shared. I haven't used it, but from what I'm reading it doesn't seem to make sense in conjunction with your cloning of git.kernel.org. Either way, it comes with a warning in the manpage: http://schacon.github.com/git/git-clone.html "NOTE: this is a possibly dangerous operation; do not use it unless you understand what it does..."

v/r, neal

Previous: Kumar Pande
Message 3 of 3 in “How to setup git repository for internal collaboration, that can be rebased easily?”
  1. Kumar PandeMar 26, 2012
  2. Kumar PandeMar 27, 2012
  3. Neal KreitzingerMar 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.