0

I'm using powershell in Windows to clone a repository to an on-premise Ubuntu GPU environment (specifically, NVIDIA-DGX). After successfully ssh, I followed instructions and added the following codes at the end part of ~/.bashrc:

# Enable https clone in dgx
export https_proxy=
export http_proxy= 

After that I ran the following commands:

git config --global credential.helper cache`
git config --global credential.helper 'cache --timeout=2592000'

Initialize git lfs

git lfs install

Clone respository

git clone <HTTPS_GIT_URL>

However, the expected prompt asking for username and password didn't show and powershell simply didn't react, the situation is like this:

img_Powershell

Is it because the http_proxy filed should not be null? Or the git commands are wrong? Thx.

4b0
  • 155

1 Answers1

1

Thanks steeldriver for pointing out the problem of backtick on the comment.

Yes, after removing the line:

git config --global credential.helper cache`

The problem is solved.

Actually, I have found that this line is even not necessary given I already have:

git config --global credential.helper 'cache --timeout=2592000'

Note: Answer provided by OP on question

4b0
  • 155