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

Re: Advice needed for basic setup for home user

From
Christian Couder <christian.couder@gmail.com>
Date
Aug 23, 2017, 05:13 UTC
Message-ID
<CAP8UFD32=67Cfq6ke0_7SFBEL20TqpFVtq8LXou9WuKOti59ag@mail.gmail.com>
In-Reply-To
<87o9r7z7jp.fsf@local.lan>
On Tue, Aug 22, 2017 at 10:11 PM, Harry Putnam <reader@newsguy.com> wrote:
Show 11 quoted lines
>
> I run 5-10 vbox vms' on this host with various OS's involved.
> With each host, I've kept a local repo of some key OS rc files.
> and a couple of hundred home made scripts.
>
> They all follow the same pattern of setup, but over time each repo
> becomes different from its cousins.
>
> I've never taken the step of centralizing the assorted local git repos
> into a central repo that keeps a branch or directory or whatever it
> would be called of each local repo.

You should probably decide first how you want the local git repos to be merged. The result would be quite different if you have a branch or if you have a directory for each local repo.

Maybe tutorials or books can help you get more familiar with Git so that you can decide based on what would be best for your use case.

My wild guess would be that a branch in the central repo for each of the "master" branches of the local repos would be the way to go. But I don't know your use case much and cannot suggest you to do that based on a wild guess.

> So that all the local repos would become a checked out module from the
> central git repo.

Git doesn't know about "modules". It has "submodules" but this is yet another different thing and I am not sure at all that it would help in your case.

> Or at any rate, something along that line... not even sure how I would
> set that up with git, but would like some overall advice about how to
> do that. A step thru or an outline would be very useful.
As it is not clear what end result you want, it is difficult to help you.
Previous: Harry Putnam
Message 2 of 2 in “Advice needed for basic setup for home user”
  1. Harry PutnamAug 22, 2017
  2. Christian CouderAug 23, 2017

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.