git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git bug report: git doesn't change working directory
@ 2015-10-17  1:43 Khải
  2015-10-19 16:33 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Khải @ 2015-10-17  1:43 UTC (permalink / raw)
  To: git

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.
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'"
After that, I returned to the old version of git - git 1.9.5.github.0, but 
the fault still there.
I think git didn't change its working directory, I have no idea.
Now, I'm not able to work with git.
Please response me as soon as possible, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Git bug report: git doesn't change working directory
  2015-10-17  1:43 Git bug report: git doesn't change working directory Khải
@ 2015-10-19 16:33 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2015-10-19 16:33 UTC (permalink / raw)
  To: Khải; +Cc: git

[-- Attachment #1: Type: TEXT/PLAIN, Size: 899 bytes --]

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.

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-19 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-17  1:43 Git bug report: git doesn't change working directory Khải
2015-10-19 16:33 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).