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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]