You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to run the Dev Containers: Clone Repository in Container volume command from VSCode it tries to clone the repo and i get this output where i am prompted to input my username and password
...
[1282 ms]
[1282 ms] Start: Run in container: # Copy /Users/claudiu.roman/.ssh/known_hosts to /root/.ssh/known_hosts
[1283 ms]
[1283 ms]
[1398 ms] Start: Run in container: git clone --depth 1 --branch main https://github.com/RClaudiuM/clone-from-github.git .
Cloning into '.'...
/opt/homebrew/bin/gh auth git-credential get: line 0: /opt/homebrew/bin/gh: not found
Username for 'https://github.com':
after i input something i get this
I get from the logs that the container tries to run the github cli that is installed from Brew and it does not find it.
It works as expected if i comment the following lines from my `.gitconfig'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have GitHub Cli installed on my machine through Brew and i am logged in with two users on it
This is a sample of what i have in my
.gitconfig
When i try to run the
Dev Containers: Clone Repository in Container volume
command from VSCode it tries to clone the repo and i get this output where i am prompted to input my username and passwordafter i input something i get this
I get from the logs that the container tries to run the github cli that is installed from Brew and it does not find it.
It works as expected if i comment the following lines from my `.gitconfig'
My questions are:
I'm aware this might not be the best place to post this but i couldn't think of any better place
Beta Was this translation helpful? Give feedback.
All reactions