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

Re: Bug: git-add .* errors out

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Sep 11, 2016, 19:34 UTC
Message-ID
<87h99m8c2v.fsf@linux-m68k.org>
In-Reply-To
<CAFZEwPPSiy1dxZgxWg1saPcw2QWgHtZKx26oSN3g1mCv25=0AA@mail.gmail.com>
On Sep 12 2016, Pranit Bauva <pranit.bauva@gmail.com> wrote:
> One of my friend was trying to add files using the command `git add
> .*` and got an error that "fatal: ..: '..' is outside repository"
> which did seem a little obvious to me. But then I tried to reproduce
> it in my machine with `git add ".*"` and it didn't error out.
Probably you were running it in a subdirectory.
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Pranit BauvaNext: Thomas Gummerer
Message 2 of 4 in “Bug: git-add .* errors out”
  1. Pranit BauvaSep 11, 2016
  2. Andreas SchwabSep 11, 2016
  3. Thomas GummererSep 11, 2016
  4. Pranit BauvaSep 12, 2016

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.