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

Re: local configuration

From
NSNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Date
Jul 20, 2009, 11:47 UTC
Message-ID
<20090720114757.GA25657@vidovic>
In-Reply-To
<33BF73EE-79AB-435F-B35F-E848DD1F3BF3@roalddevries.nl>
The 20/07/09, Roald de Vries wrote:
Show 5 quoted lines
> I want to use git to synchronize my bashrc's (and other configuration  
> files) between computers. These have common stuff in them, and stuff  
> that's specific to a certain computer. The way I do it now is with a  
> branch for each computer, and one common branch. Is this a known use  
> case, am I misusing git, and is there a more elegant way to do this?

I try to write my conf files as portable as possible. Today, I don't need dedicated branches but that's the way I would achieve it.

-- 
Nicolas Sebrecht
Previous: Roald de VriesNext: Ben Walton
Message 2 of 4 in “local configuration”
  1. Roald de VriesJul 20, 2009
  2. Nicolas SebrechtJul 20, 2009
  3. Ben WaltonJul 22, 2009
  4. Tim VisherJul 20, 2009

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.