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

Does 'git config' accept the '--remove' option?

From
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>
Date
Jun 21, 2017, 18:12 UTC
Message-ID
<1498068738.32360.7.camel@gmail.com>
Hello all,	

I recently noticed that when I run 'git config' with the '--remove <non_existing_section>' I get a warning that section doesn't exist. When I scrolled through the man page of git-config I could see any mention about the '--remove' option. I only see that there is a ' --remove-section' option. Sample output,

> $ git config --remove test
> fatal: No such section!
> $ git config --remove-section test
> fatal: No such section!
Is this a bug (or) is the documentation stale ?
-- 

Regards, Kaartic Sivaraam <kaarticsivaraam91196@gmail.com>

Next: Junio C Hamano
Message 1 of 3 in “Does 'git config' accept the '--remove' option?”
  1. Kaartic SivaraamJun 21, 2017
  2. Junio C HamanoJun 21, 2017
  3. Kaartic SivaraamJun 21, 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.