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

Re: Git bug report: git doesn't change working directory

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 19, 2015, 16:33 UTC
Message-ID
<alpine.DEB.1.00.1510191831130.31610@s15462909.onlinehome-server.info>
In-Reply-To
<loom.20151017T034154-956@post.gmane.org>
Hi Kh�i,
On Sat, 17 Oct 2015, Kh�i wrote:
> I'm using Windows 10. Before I install git 2.6.1.windows.1, I have
> installed git 1.9.5.github.0 (by installing GitHub Desktop), it works
> just fine.
Good.
Show 9 quoted lines
> But when I installed git 2.6.1.windows.1 (from git-scm.com), I'm not
> able to use git anymore:
>
>  - The powershell console displayed [(unknown)] instead of [master], even 
> when I changed working directory to my project, it still display 
> [(unknown)]
>
>  - When I "git add" (or "git commit", "git push"), It told me an error: 
> "fatal: Not a git repository: 'C:\Program Files\Git'"

Unfortunately, this is not enough information. Which options did you choose during installation? How do you modify the PATH to be able to run Git from Powershell? What code do you use to display `[(unknown)]` (Powershell has *no* Git integration by default)?

Ciao, Johannes

Previous: Khải
Message 2 of 2 in “Git bug report: git doesn't change working directory”
  1. KhảiOct 17, 2015
  2. Johannes SchindelinOct 19, 2015

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.