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

Re: submodule add -f errs on un-ignored path

From
Thomas Rast <trast@student.ethz.ch>
Date
Jan 9, 2012, 15:40 UTC
Message-ID
<8739borij2.fsf@thomas.inf.ethz.ch>
In-Reply-To
<jeaip7$meo$1@dough.gmane.org>
"Neal Kreitzinger" <neal@rsss.com> writes:
> $ git submodule add -f file:///home/me/super/Images.git WebPortal/Images
> Usage: git submodule [--quiet] add [-b branch] [--reference <repository>] [--] repository [<path>]

AFAICT this works since 1.7.2 (d27b876 to be precise). Before that the -f option didn't exist, and wasn't in the docs either.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Neal Kreitzinger
Message 2 of 2 in “submodule add -f errs on un-ignored path”
  1. Neal KreitzingerJan 7, 2012
  2. Thomas RastJan 9, 2012

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.