Closed
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options
git version 2.28.0.windows.1
cpu: x86_64
built from commit: 77982caf269b7ee713a76da2bcf260c34d3bf7a7
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
Microsoft Windows [Version 6.3.9600]
- What options did you set as part of the installation? Or did you choose the
defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt
Editor Option: Notepad++
Custom Editor Path:
Path Option: Cmd
Plink Path: C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe
SSH Option: Plink
Tortoise Option: true
CURL Option: WinSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Disabled
Enable Pseudo Console Support: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
Probably not.
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
I test it in Git Bash, cmd and powershell.
- What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
> git clone test-repo
> mkdir test-dir
> cd test-repo
> mklink /j junc-test-dir ..\test-dir
> cd junc-test-dir
> git log
- What did you expect to occur after running these commands?
I expect see log.
- What actually happened instead?
I see message:
fatal: not a git repository (or any of the parent directories): .git
But this worked in version 2.19.1 (I can be a little wrong with the version, I don't remember which one was installed earlier).
Why do I need this directory: this is a C++ project, the repository itself is located on the HDD, and the build artifacts are on the SSD. But the project structure is such that the build directory must be located inside the repository. So I create a junction-point on another disk.
- If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
No specific repository.
Metadata
Metadata
Assignees
Labels
No labels