Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3543
Closed
Open
Issue created Mar 13, 2020 by Gene Pavlovsky@gene-pavlovsky

Push can't run TortoiseGitPlink.exe with Cygwin hack enabled

What steps will reproduce the problem?

  1. Have some commits waiting to be pushed
  2. Push with TortoiseGit

What is the expected output? What do you see instead?

git.exe push --progress "origin" master:master error: cannot run C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe: No such file or directory fatal: unable to fork

git did not exit cleanly (exit code 128) (94 ms @ 2020-03-13 20:22:05)

What version of TortoiseGit and Git are you using? On what operating system?

Currently 2.10.0, this was also happening with a previous version I had after I haven't used it for a while - although this was working correctly before. Windows 7 Build 7601 (SP1) Cygwin - latest version, bash 4.4.12(3) Cygwin Hack enabled in TortoiseGit settings

Please provide any additional information below.

The TortoiseGitPlink.exe file mentioned above does exist. However it seems that TortoiseGit (or git.exe itself) is trying to execute it using the Windows-style path, and this fails.

Workaround: In TortogiseGit Settings > Network > SSH > SSH Client, set the path to either (note the forward slashes) C:/Program Files/TortoiseGit/bin/TortoiseGitPlink.exe or (Cygwin-style path) /mnt/C/Program Files/TortoiseGit/bin/TortoiseGitPlink.exe

Edited Mar 17, 2020 by Sven Strickroth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking