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 380
    • Issues 380
    • 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
  • #3295
Closed
Open
Issue created Oct 25, 2018 by maranov@maranov

TortoiseGitPlink does not work with Git protocol ver. 2

What steps will reproduce the problem?

  1. Enable Git protocol version 2: git config --global protocol.version 2.
  2. Try to fetch or pull a repository via TortoiseGit.

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

Expected: A successful fetch/pull.

Instead: An error occurs:

git.exe fetch -v --progress "origin"

tortoisegitplink: unknown option "-o"
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


git did not exit cleanly (exit code 128) (187 ms @ 2018-10-25 12:12:44 PM)

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

TortoiseGit 2.7.0.0

git version 2.19.1.windows.1

GIT_SSH environment variable is set to TortoiseGitPlink.exe.

Please provide any additional information below.

From the Process Monitor, the command line is:

"C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe" -o SendEnv=GIT_PROTOCOL git@our.gitlab.server.com "git-upload-pack 'GitLabGroup/MyRepo.git'"`

The problem is that TortoiseGitPlink does not support the "-o" parameter, unlike ssh.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking