Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 303
    • Issues 303
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3295

Closed
Open
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
None
Milestone
None
Assign milestone
Time tracking