Trouble Cloning Git remote repository
I am trying to set up a remote Git repository on my network server. I want to develop source on several desktops / laptops and want to have a central repository to sync everything and maintain version control. Seems like a good fit for Git, but I cannot get it to work and would appreciate advice on fixing the configuration or how to troubleshoot to identify the root cause.
Please let me know what additional info you need to assist.
I have listed the machine configurations and the Git Bash lines from attempting the git clone.
Configuration:
Local Machine (Host1)
o Windows 10 - Git for Windows 2.7.1.2-64bit update
o Git Repository = ~HOME/gitrepository
Remote Machine (Host2)
o Ubuntu Server 14.04 LTS; Git version 2.7.2
o Git repository = /srv/centralrepo.git ;created with -bare -shared
o Owner= user1; group= developer
o Created ~/.bashrc to ensure PATH is set correctly with 'interactive
non-login' session
o After .bashrc runs there is a line from a bash script that causes a
bash error: "bash: user1@Host2: command not found"
Clone to the remote repository always fails with:
bash: user1@Host2: command not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
All command line text shown here is executed from Local Machine(Host1) (from Windows Git Bash) My comments preceded with ##
## First cd into local repository and check status;
user1@Host1 MINGW64 ~
$ cd $HOME/gitrepository user1@Host1 MINGW64 ~/gitrepository (master) $ git status On branch master nothing to commit, working directory clean
## Now try to clone remote repository on Host2 (added set -x to ~/.bashrc script)
user1@Host1 MINGW64 ~/gitrepository (master)
$ git clone -v ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'...
Quoted 1 line
Quoted 1 line
Quoted 1 line
Lines from $HOME/.bashrc
+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games :/usr/local/games
+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games :/usr/local/games
+ PROMPT_COMMAND=
+ CDPATH=
+ '[' '' = yes ']'
+ PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
+ export GIT_TRACE_PACKET=1
+ GIT_TRACE_PACKET=1
+ export GIT_TRACE=1
+ GIT_TRACE=1
Quoted 1 line
Quoted 1 line
Quoted 1 line
End of Lines from $HOME/.bashrc
## WHERE DOES The following line COME FROM????What Script spits out this line????
+ user1@Host2 git-upload-pack /srv/centralrepo
bash: user1@Host2: command not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
## Check remote path for interactive non-login session user1@Host1 MINGW64 ~/gitrepository (master)
$ ssh user1@Host2 echo \$PATH Enter passphrase for key '/c/Users/user1/.ssh/id_rsa': ## >>>Lines from $HOME/.bashrc (See Above, removed here for clarity) ## PATH looks okay + echo /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr /local/games /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr /local/games
## List remote Git respository to check permissions user1@Host1 MINGW64 ~/gitrepository (master)
$ ssh user1@Host2 ls -al /srv/centralrepo.git Enter passphrase for key '/c/Users/user1/.ssh/id_rsa': ## >>>Lines from $HOME/.bashrc (See Above, removed here for clarity) ## CHECK the permissions and owner of the remote git repository + ls -al /srv/centralrepo.git total 44 drwxrwsrwx 7 user1 developer 4096 Feb 11 21:02 . drwxrwxrwx 4 user1 developer 4096 Feb 2 08:15 .. drwxrwsrwx 2 user1 developer 4096 Feb 2 08:16 branches -rwxrwxrwx 1 user1 developer 224 Feb 4 18:09 config -rwxrwxrwx 1 user1 developer 26 Feb 11 21:02 description -rwxrwxrwx 1 user1 developer 23 Feb 2 08:16 HEAD drwxrwsrwx 2 user1 developer 4096 Feb 2 08:16 hooks drwxrwsrwx 2 user1 developer 4096 Feb 2 08:16 info drwxrwsrwx 4 user1 developer 4096 Feb 2 08:16 objects drwxrwsrwx 4 user1 developer 4096 Feb 2 08:16 refs -rw-rw-r-- 1 user1 developer 52 Feb 11 19:37 sample.txt
## Try cloning with -u option and path to upload-pack user1@Host1 MINGW64 ~/gitrepository (master)
$ git clone -u /usr/bin/git-upload-pack ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'... ## >>>Lines from $HOME/.bashrc (See Above, removed here for clarity) ## ***** POSIX directory translation messed up this path + user1@Host2 C:/Program Files/Git/usr/bin/git-upload-pack /srv/centralrepo bash: user1@Host2: command not found fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
## List the remote repository config
user1@Host1 MINGW64 ~/gitrepository (master)
$ ssh user1@Host2 cat /srv/centralrepo.git/config
Enter passphrase for key '/c/Users/user1/.ssh/id_rsa':
## >>>Lines from $HOME/.bashrc (See Above, removed here for clarity)
+ cat /srv/centralrepo.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = true
sharedrepository = 1
[receive]
denyNonFastforwards = true
[remote "origin"]
uploadpack = /usr/bin/git-upload-pack
receivepack = /usr/bin/git-receive-pack## List Git version
user1@Host1 MINGW64 ~/gitrepository (master)
$ ssh user1@Host2 git --version Enter passphrase for key '/c/Users/phreddyw/.ssh/id_rsa': ## >>>Lines from $HOME/.bashrc (See Above, removed here for clarity) + git --version trace: built-in: git 'version' git version 2.7.2
Regards,
Fred
Duy,
Thanks for advice, here is the result of executing the lines you suggested:
user1@Host1 MINGW64 ~/gitrepository (master)
$ export GIT_TRACE=1
user1@Host1 MINGW64 ~/gitrepository (master)
$ git clone -v ssh://user1@Host2/srv/centralrepo 12:33:47.928365 git.c:348 trace: built-in: git 'clone' '-v' 'ssh://user1@Host2/srv/centralrepo' Cloning into 'centralrepo'... 12:33:48.022110 run-command.c:343 trace: run_command: 'C:\Program Files (x86)\PuTTY\plink.exe' 'user1@Host2' 'git-upload-pack '\''/srv/centralrepo'\'''
##>>>Lines from $HOME/.bashrc (See below, removed here for clarity)
+ user1@Host2 git-upload-pack /srv/centralrepo
bash: user1@Host2: command not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Regards,
Fred
-----Original Message-----
From: Duy Nguyen [mailto:[email protected]]
Sent: Saturday, February 27, 2016 4:36 AM
To: Fred's Personal
Cc: Git Mailing List
Subject: Re: Trouble Cloning Git remote repository
Quoted 19 lines · Fred's Personal
$ git clone -v ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'...Quoted 1 line
Quoted 1 line
Quoted 1 line
Lines from $HOME/.bashrc
+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr /games
:/usr/local/games
+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr /games
:/usr/local/games
+ PROMPT_COMMAND=
+ CDPATH=
+ '[' '' = yes ']'
+ PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
+ export GIT_TRACE_PACKET=1
+ GIT_TRACE_PACKET=1
+ export GIT_TRACE=1
+ GIT_TRACE=1
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
End of Lines from $HOME/.bashrc
## WHERE DOES The following line COME FROM????What Script spits out this line????
+ user1@Host2 git-upload-pack/srv/centralrepo
Try set GIT_TRACE=1 at the clone line, I have a feeling that this line should be "ssh user@Host2..." but "ssh" is missing.
$ export GIT_TRACE=1 $ git clone -v ssh://user1@Host2/srv/centralrepo -- Duy
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7442 / Virus Database: 4537/11702 - Release Date: 02/26/16
Quoted 4 lines · Fred's Personal
Duy,
Thanks for advice, here is the result of executing the lines you suggested:
Quoted 8 lines
user1@Host1 MINGW64 ~/gitrepository (master)
$ export GIT_TRACE=1user1@Host1 MINGW64 ~/gitrepository (master)
$ git clone -v ssh://user1@Host2/srv/centralrepo 12:33:47.928365 git.c:348 trace: built-in: git 'clone' '-v' 'ssh://user1@Host2/srv/centralrepo' Cloning into 'centralrepo'... 12:33:48.022110 run-command.c:343 trace: run_command: 'C:\Program Files (x86)\PuTTY\plink.exe' 'user1@Host2' 'git-upload-pack '\''/srv/centralrepo'\'''
This command looks good to me. So I have no clue what goes wrong :-) Maybe you can execute this command directly, with more plink debugging options or something. You don't have to run git-upload-pack. Just spawn a shell. Another option is try something other than plink (does git-for-windows come with ssh.exe?)
Quoted 63 lines
##>>>Lines from $HOME/.bashrc (See below, removed here for clarity)
+ user1@Host2 git-upload-pack
/srv/centralrepo
bash: user1@Host2: command not found
fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
Regards,
Fred-----Original Message-----
From: Duy Nguyen [mailto:[email protected]]
Sent: Saturday, February 27, 2016 4:36 AM
To: Fred's Personal
Cc: Git Mailing List
Subject: Re: Trouble Cloning Git remote repositoryQuoted 19 lines · Fred's Personal
$ git clone -v ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'...Quoted 1 line
Quoted 1 line
Quoted 1 line
Lines from $HOME/.bashrc
+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr /games
:/usr/local/games
+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr /games
:/usr/local/games
+ PROMPT_COMMAND=
+ CDPATH=
+ '[' '' = yes ']'
+ PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
+ export GIT_TRACE_PACKET=1
+ GIT_TRACE_PACKET=1
+ export GIT_TRACE=1
+ GIT_TRACE=1Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
End of Lines from $HOME/.bashrc
## WHERE DOES The following line COME FROM????What Script spits out this line????
+ user1@Host2 git-upload-pack/srv/centralrepoTry set GIT_TRACE=1 at the clone line, I have a feeling that this line should be "ssh user@Host2..." but "ssh" is missing.
$ export GIT_TRACE=1 $ git clone -v ssh://user1@Host2/srv/centralrepo -- Duy-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7442 / Virus Database: 4537/11702 - Release Date: 02/26/16
Signature · 1 line
Duy
Quoted 15 lines · Duy Nguyen
Quoted 4 lines · Fred's Personal
Duy,
Thanks for advice, here is the result of executing the lines you suggested:
Quoted 8 lines
user1@Host1 MINGW64 ~/gitrepository (master)
$ export GIT_TRACE=1user1@Host1 MINGW64 ~/gitrepository (master)
$ git clone -v ssh://user1@Host2/srv/centralrepo 12:33:47.928365 git.c:348 trace: built-in: git 'clone' '-v' 'ssh://user1@Host2/srv/centralrepo' Cloning into 'centralrepo'... 12:33:48.022110 run-command.c:343 trace: run_command: 'C:\Program Files (x86)\PuTTY\plink.exe' 'user1@Host2' 'git-upload-pack '\''/srv/centralrepo'\'''
Quoted 5 lines
This command looks good to me. So I have no clue what goes wrong :-) Maybe you can execute this command directly, with more plink debugging options or something. You don't have to run git-upload-pack. Just spawn a shell. Another option is try something other than plink (does git-for-windows come with ssh.exe?)
On Windows it's probably going through mingw_spawnve_fd() which reassembles a quoted command line from the individual arguments. It would be interesting to see what gets passed to CreateProcessW().
Quoted 71 lines
Quoted 62 lines
##>>>Lines from $HOME/.bashrc (See below, removed here for clarity)
+ user1@Host2 git-upload-pack
/srv/centralrepo
bash: user1@Host2: command not found
fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
Regards,
Fred-----Original Message-----
From: Duy Nguyen [mailto:[email protected]]
Sent: Saturday, February 27, 2016 4:36 AM
To: Fred's Personal
Cc: Git Mailing List
Subject: Re: Trouble Cloning Git remote repositoryQuoted 19 lines · Fred's Personal
$ git clone -v ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'...Quoted 1 line
Quoted 1 line
Quoted 1 line
Lines from $HOME/.bashrc
+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr /games
:/usr/local/games
+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr /games
:/usr/local/games
+ PROMPT_COMMAND=
+ CDPATH=
+ '[' '' = yes ']'
+ PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
+ export GIT_TRACE_PACKET=1
+ GIT_TRACE_PACKET=1
+ export GIT_TRACE=1
+ GIT_TRACE=1Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
End of Lines from $HOME/.bashrc
## WHERE DOES The following line COME FROM????What Script spits out this line????
+ user1@Host2 git-upload-pack/srv/centralrepoTry set GIT_TRACE=1 at the clone line, I have a feeling that this line should be "ssh user@Host2..." but "ssh" is missing.
$ export GIT_TRACE=1 $ git clone -v ssh://user1@Host2/srv/centralrepo -- Duy-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7442 / Virus Database: 4537/11702 - Release Date: 02/26/16Signature · 5 lines
Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
John,
Thanks for the insight, it's been a while since I debugged a Windows call stack. Can you give me commands to view what gets passed to CreateProcessW().
Regards,
Fred
-----Original Message-----
From: John Keeping [mailto:[email protected]]
Sent: Monday, February 29, 2016 4:35 AM
To: Duy Nguyen
Cc: Fred's Personal; Git Mailing List
Subject: Re: Trouble Cloning Git remote repository
Quoted 5 lines · Duy Nguyen
Quoted 3 lines · Fred's Personal
Duy,
Thanks for advice, here is the result of executing the lines you
suggested:
Quoted 6 lines
Quoted 6 lines
user1@Host1 MINGW64 ~/gitrepository (master) $ export GIT_TRACE=1
user1@Host1 MINGW64 ~/gitrepository (master) $ git clone -v ssh://user1@Host2/srv/centralrepo
12:33:47.928365 git.c:348 trace: built-in: git 'clone'
'-v' 'ssh://user1@Host2/srv/centralrepo'
Quoted 2 lines
Quoted 2 lines
Cloning into 'centralrepo'...
12:33:48.022110 run-command.c:343 trace:run_command: 'C:\Program
Files (x86)\PuTTY\plink.exe' 'user1@Host2' 'git-upload-pack '\''/srv/centralrepo'\'''
Quoted 6 lines
This command looks good to me. So I have no clue what goes wrong :-) Maybe you can execute this command directly, with more plink debugging options or something. You don't have to run git-upload-pack. Just spawn a shell. Another option is try something other than plink (does git-for-windows come with ssh.exe?)
On Windows it's probably going through mingw_spawnve_fd() which reassembles a quoted command line from the individual arguments. It would be interesting to see what gets passed to CreateProcessW().
Quoted 24 lines
Quoted 24 lines
##>>>Lines from $HOME/.bashrc (See below, removed here for clarity)
+ user1@Host2 git-upload-pack
/srv/centralrepo
bash: user1@Host2: command not found
fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
Regards,
Fred-----Original Message-----
From: Duy Nguyen [mailto:[email protected]]
Sent: Saturday, February 27, 2016 4:36 AM
To: Fred's Personal
Cc: Git Mailing List
Subject: Re: Trouble Cloning Git remote repositoryOn Sat, Feb 27, 2016 at 6:03 AM, Fred's Personal
Quoted 21 lines · <[email protected]> wrote:
Quoted 21 lines
Quoted 21 lines
$ git clone -v ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'...Quoted 1 line
Quoted 1 line
Quoted 1 line
Lines from $HOME/.bashrc
+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/ usr
/games
:/usr/local/games
+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/ usr
/games
:/usr/local/games
+ PROMPT_COMMAND=
+ CDPATH=
+ '[' '' = yes ']'
+ PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
+ export GIT_TRACE_PACKET=1
+ GIT_TRACE_PACKET=1
+ export GIT_TRACE=1
+ GIT_TRACE=1
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
End of Lines from $HOME/.bashrc
## WHERE DOES The following line COME FROM????What Script spits out this line????
+ user1@Host2 git-upload-pack/srv/centralrepoTry set GIT_TRACE=1 at the clone line, I have a feeling that this line
should be "ssh user@Host2..." but "ssh" is missing.
Quoted 17 lines
Quoted 7 lines
$ export GIT_TRACE=1 $ git clone -v ssh://user1@Host2/srv/centralrepo -- DuyQuoted 7 lines
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7442 / Virus Database: 4537/11702 - Release Date:
02/26/16
Quoted 6 lines
--
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7442 / Virus Database: 4537/11716 - Release Date: 02/28/16
Quoted 3 lines · Fred's Personal
Thanks for the insight, it's been a while since I debugged a Windows call stack. Can you give me commands to view what gets passed to
CreateProcessW().
Sorry, my Windows knowledge is several years old. Maybe procmon[1] will show them?
[1] https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx
Quoted 124 lines
-----Original Message-----
From: John Keeping [mailto:[email protected]]
Sent: Monday, February 29, 2016 4:35 AM
To: Duy Nguyen
Cc: Fred's Personal; Git Mailing List
Subject: Re: Trouble Cloning Git remote repositoryQuoted 5 lines · Duy Nguyen
Quoted 3 lines · Fred's Personal
Duy,
Thanks for advice, here is the result of executing the lines you
suggested:
Quoted 6 lines
Quoted 6 lines
user1@Host1 MINGW64 ~/gitrepository (master) $ export GIT_TRACE=1
user1@Host1 MINGW64 ~/gitrepository (master) $ git clone -v ssh://user1@Host2/srv/centralrepo
12:33:47.928365 git.c:348 trace: built-in: git 'clone''-v' 'ssh://user1@Host2/srv/centralrepo'
Quoted 2 lines
Quoted 2 lines
Cloning into 'centralrepo'...
12:33:48.022110 run-command.c:343 trace:run_command: 'C:\ProgramFiles (x86)\PuTTY\plink.exe' 'user1@Host2' 'git-upload-pack '\''/srv/centralrepo'\'''
Quoted 6 lines
This command looks good to me. So I have no clue what goes wrong :-) Maybe you can execute this command directly, with more plink debugging options or something. You don't have to run git-upload-pack. Just spawn a shell. Another option is try something other than plink (does git-for-windows come with ssh.exe?)
On Windows it's probably going through
mingw_spawnve_fd()which reassembles a quoted command line from the individual arguments. It would be interesting to see what gets passed toCreateProcessW().Quoted 24 lines
Quoted 24 lines
##>>>Lines from $HOME/.bashrc (See below, removed here for clarity)
+ user1@Host2 git-upload-pack
/srv/centralrepo
bash: user1@Host2: command not found
fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
Regards,
Fred-----Original Message-----
From: Duy Nguyen [mailto:[email protected]]
Sent: Saturday, February 27, 2016 4:36 AM
To: Fred's Personal
Cc: Git Mailing List
Subject: Re: Trouble Cloning Git remote repositoryOn Sat, Feb 27, 2016 at 6:03 AM, Fred's Personal
Quoted 21 lines · <[email protected]> wrote:
Quoted 21 lines
Quoted 21 lines
$ git clone -v ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'...Quoted 1 line
Quoted 1 line
Quoted 1 line
Lines from $HOME/.bashrc
+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/ usr
/games
:/usr/local/games
+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/ usr
/games
:/usr/local/games
+ PROMPT_COMMAND=
+ CDPATH=
+ '[' '' = yes ']'
+ PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
+ export GIT_TRACE_PACKET=1
+ GIT_TRACE_PACKET=1
+ export GIT_TRACE=1
+ GIT_TRACE=1Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
End of Lines from $HOME/.bashrc
## WHERE DOES The following line COME FROM????What Script spits out this line????
+ user1@Host2 git-upload-pack/srv/centralrepoTry set GIT_TRACE=1 at the clone line, I have a feeling that this line
should be "ssh user@Host2..." but "ssh" is missing.
Quoted 17 lines
Quoted 7 lines
$ export GIT_TRACE=1 $ git clone -v ssh://user1@Host2/srv/centralrepo -- DuyQuoted 7 lines
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7442 / Virus Database: 4537/11702 - Release Date:
02/26/16Quoted 6 lines
--
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7442 / Virus Database: 4537/11716 - Release Date: 02/28/16--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 17 lines · Fred's Personal
$ git clone -v ssh://user1@Host2/srv/centralrepo Cloning into 'centralrepo'...Quoted 1 line
Quoted 1 line
Quoted 1 line
Lines from $HOME/.bashrc
+ export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games :/usr/local/games
+
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games :/usr/local/games
+ PROMPT_COMMAND=
+ CDPATH=
+ '[' '' = yes ']'
+ PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ '
+ export GIT_TRACE_PACKET=1
+ GIT_TRACE_PACKET=1
+ export GIT_TRACE=1
+ GIT_TRACE=1
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
End of Lines from $HOME/.bashrc
## WHERE DOES The following line COME FROM????What Script spits out this line????
+ user1@Host2 git-upload-pack/srv/centralrepo
Try set GIT_TRACE=1 at the clone line, I have a feeling that this line should be "ssh user@Host2..." but "ssh" is missing.
$ export GIT_TRACE=1 $ git clone -v ssh://user1@Host2/srv/centralrepo
Signature · 1 line
Duy