diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-16 11:29:09 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-16 11:29:09 +0200 |
| commit | f200f7007272129bf59fef3e0b0e0a19f5bd362c (patch) | |
| tree | 1a9b46f694b3722e9c4c6da5d6df0c082d126d40 /desktop/modules/git/README.md | |
| parent | e97d5dea1d2b36ee9882de8699b382cf4fef64ae (diff) | |
| download | quickshell-f200f7007272129bf59fef3e0b0e0a19f5bd362c.tar.gz quickshell-f200f7007272129bf59fef3e0b0e0a19f5bd362c.zip | |
feat(git): add keys per section with a + beside each heading
The single Add line at the bottom took a full section.key and left the
user to type the section right. Each heading now carries a + that opens a
key and value row under it; git config --add writes the key into that
existing section, among its neighbours, rather than at the end of the
file. The typed text lives on the page, not in the fields, so a failed add
keeps it across the reload that rebuilds every row. A new section is made
in the editor.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/git/README.md')
| -rw-r--r-- | desktop/modules/git/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/modules/git/README.md b/desktop/modules/git/README.md index e5a4370..65f2a8a 100644 --- a/desktop/modules/git/README.md +++ b/desktop/modules/git/README.md @@ -5,7 +5,9 @@ page's "More git settings" button. Back returns to the user page. One row per value, grouped by section in file order, so a key set several times shows several rows. Enter saves a row, Escape undoes an edit, Remove -drops that one value, and the Add row takes `section.key` and a value. +drops that one value, and `+` beside a section's heading adds a key to +that section, where `git config --add` writes it among its neighbours. A +new section is made in the editor. "Edit in editor" opens the file in Sublime Text. `gitcfg` does every read and write, through `git config`, so the file keeps |
