Skip to content

error: cannot spawn git: Invalid argument #1481

@MagicAndre1981

Description

@MagicAndre1981
  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit? I use Git-2.16.1.2-64-bit.exe
$ git --version --build-options
git version 2.16.1.windows.2
cpu: x86_64
built from commit: e78e3c8ee9c219723d60aa1bccd8348c2269b9ba
sizeof-long: 4
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?

Windows 8.1 x64

$ 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

C:\Users\André> type "C:\Program Files\Git\etc\install-options.txt"
Editor Option: Nano
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: WinSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: ConHost
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Enabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

n/a

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

I get the error when using TortoiseGit to to a pull.

I get the error when using TortoiseGit to to a pull.
  • What did you expect to occur after running these commands?

Pull works fine and I get the new changes pulled.

  • What actually happened instead?

I get this error:

git.exe pull --progress -v --no-rebase "origin"

error: cannot spawn git: Invalid argument

git did not exit cleanly (exit code 1)
  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

happens to all cloned repositories

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions