forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Milestone
Description
Setup
- Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
64-Bit
$ git --version --build-options
git version 2.21.0.windows.1
cpu: x86_64
built from commit: 2481c4cbe949856f270a3ee80c802f5dd89381aa
sizeof-long: 4
sizeof-size_t: 8
- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver
OS Name: Microsoft Windows Server 2019 Standard
OS Version: 10.0.17763 N/A Build 17763
Original Install Date: 3/26/2019, 7:24:51 AM
System Manufacturer: Microsoft Corporation
System Model: Virtual Machine
System Type: x64-based PC
- 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: VIM
Custom Editor Path:
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
- Any other interesting things about your environment that might be related
to the issue you're seeing?
** A fresh installed Windows 2019 **
Details
- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
** CMD or Bash **
- 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.
**C:\repo>git version
git version 2.21.0.windows.1
C:\repo>git lfs --version
git-lfs/2.7.1 (GitHub; windows amd64; go 1.11.5; git 6b7fb6e3)
C:\repo>git lfs checkout
Cannot checkout LFS objects, Git LFS is not installed.
C:\repo>git lfs install
Updated git hooks.
Git LFS initialized.
C:\repo>git lfs checkout
Now the command will run succesfull**
- What did you expect to occur after running these commands?
** Git should checkout the LFS files **
- What actually happened instead?
** Message Cannot checkout LFS objects, Git LFS is not installed.
appears **
- Remarks
** After running git lfs install
you can uninstall and install Git again, the issue will not be present anymore. That means you need a fresh Windows installation
. I only tested it with Windows Server 2019, Windows Server 2012 R2 so I don't know its even an issue with other Windows versions (10, Server 2016). Installing Git 2.20.1
is working on a fresh installation **
Metadata
Metadata
Assignees
Labels
No labels