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

Feature: Use $HOME instead of /home/username in ~/.gitconfig

From
JJJovial Joe Jayarson <jovial7joe@hotmail.com>
Date
Jun 23, 2023, 08:22 UTC
Message-ID
<OSZP286MB1968CC1BD59489496919D16B8F23A@OSZP286MB1968.JPNP286.PROD.OUTLOOK.COM>
Hi,

Currently the `[maintenance]` section of `~/.gitconfig` has something like:

```ini
[maintenance]
    repo = /home/username/.znap/repos/asdf
```

I'm sharing my `.dotfiles` across systems, so I'd prefer `/home/username` be replaced with `$HOME` or even with `~/`.

```ini
[maintenance]
    repo = $HOME/.znap/repos/asdf
```

I'd be happy to make a patch, if somebody let me know where, in this huge repository: https://github.com/git/git

Thanks, Joe

Next: Junio C Hamano
Message 1 of 2 in “Feature: Use $HOME instead of /home/username in ~/.gitconfig”
  1. Jovial Joe JayarsonJun 23, 2023
  2. Junio C HamanoJun 23, 2023

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.