{"thread":{"id":"40577","subject":"Git bug report: git doesn't change working directory","startedAt":"2015-10-17T01:43:45Z","lastAt":"2015-10-19T16:33:40Z","messageCount":2,"participants":["Khải","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"271845","messageId":"loom.20151017T034154-956@post.gmane.org","threadId":"40577","inReplyTo":null,"subject":"Git bug report: git doesn't change working directory","fromName":"Khải","fromEmail":"hvksmr1996@gmail.com","sentAt":"2015-10-17T01:43:45Z","receivedAt":"2015-10-17T01:43:45Z","isPatch":false,"sender":{"key":"hvksmr1996@gmail.com","avatar":null},"body":"I'm using Windows 10. Before I install git 2.6.1.windows.1, I have \ninstalled git 1.9.5.github.0 (by installing GitHub Desktop), it works just \nfine.\nBut when I installed git 2.6.1.windows.1 (from git-scm.com), I'm not able \nto use git anymore:\n - The powershell console displayed [(unknown)] instead of [master], even \nwhen I changed working directory to my project, it still display \n[(unknown)]\n - When I \"git add\" (or \"git commit\", \"git push\"), It told me an error: \n\"fatal: Not a git repository: 'C:\\Program Files\\Git'\"\nAfter that, I returned to the old version of git - git 1.9.5.github.0, but \nthe fault still there.\nI think git didn't change its working directory, I have no idea.\nNow, I'm not able to work with git.\nPlease response me as soon as possible, thanks.\n"},{"id":"271935","messageId":"alpine.DEB.1.00.1510191831130.31610@s15462909.onlinehome-server.info","threadId":"40577","inReplyTo":"loom.20151017T034154-956@post.gmane.org","subject":"Re: Git bug report: git doesn't change working directory","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2015-10-19T16:33:40Z","receivedAt":"2015-10-19T16:33:40Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Kh�i,\n\nOn Sat, 17 Oct 2015, Kh�i wrote:\n\n> I'm using Windows 10. Before I install git 2.6.1.windows.1, I have\n> installed git 1.9.5.github.0 (by installing GitHub Desktop), it works\n> just fine.\n\nGood.\n\n> But when I installed git 2.6.1.windows.1 (from git-scm.com), I'm not\n> able to use git anymore:\n>\n>  - The powershell console displayed [(unknown)] instead of [master], even \n> when I changed working directory to my project, it still display \n> [(unknown)]\n>\n>  - When I \"git add\" (or \"git commit\", \"git push\"), It told me an error: \n> \"fatal: Not a git repository: 'C:\\Program Files\\Git'\"\n\nUnfortunately, this is not enough information. Which options did you\nchoose during installation? How do you modify the PATH to be able to run\nGit from Powershell? What code do you use to display `[(unknown)]`\n(Powershell has *no* Git integration by default)?\n\nCiao,\nJohannes"}]}