Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8874821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:49:08+00:00 2026-06-14T18:49:08+00:00

Everything is in the title. I’m pushing from a Windows XP with MSysGit installed.

  • 0

Everything is in the title.

I’m pushing from a Windows XP with MSysGit installed.
I’m pushing on a Linux (RHEL 5) which doesn’t have git installed in /usr or in /usr/local (no admin right on the box)

When I’m doing a :

git clone user@redhatbox:~/repo/myrepo.git

It failed because of git-upload-pack not found. So I use my super skills to read the manpage and add

git clone -u "/path/on/the/redhat/to/git-upload-pack" user@redhatbox:~/repo/myrepo.git

And what I get is :

ksh: line 1: D:/users/myuser/softs/Git/path/on/the/redhat/to/git-upload-pack: not found
fatal: The remote end hung up unexpectedly

This %*$$~@ prepend a windows path to my path that should be the one on the redhat.

Oh yeah, we use ksh 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:49:09+00:00Added an answer on June 14, 2026 at 6:49 pm

    It appears that MSysGit recognized a “unix path” in my command and prepend windows path in it, even if it has nothing to do with it.
    The way to avoid that behaviour :

    git clone -u "\/path/on/the/redhat/to/git-upload-pack" user@redhatbox:~/repo/myrepo.git
    

    Yes, put a \ before the first / in the path. MSysGit won’t interpret it and won’t prepend some windows path before. You need to put the path in " too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, almost everything is in title. I have a dbf file which I would
Everything is in the title. I generated a dll file from a jar which
Everything is in the title... I want the zoom of the map limit from
Pretty much everything is in the title here. I have an android tablet, a
I think the title is the sum of everything... I have a sprite image
The title pretty much captures everything. I'm on linux, and I want to find
like in title:) I wrote from tutorial: http://msdn.microsoft.com/en-us/wp7trainingcourse_yourfirstwp7applab_topic3 does everything like there. my code:
Everything's in the title. I use MoreUnit in Eclipse which allow me to switch
Like the title says, we are using ABCPdf6 to render PDFs from XSLT. Everything
everything is the title java tutorial says: OuterClass.InnerClass innerObject = outerObject.new InnerClass(); this doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.