How to check whether the username and password can access the git repository #1959
Replies: 4 comments 1 reply
-
You can do that with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
After I verified it, neither way works. The first way, I randomly change the username, password and repo_url, all display 'Access granted' |
Beta Was this translation helpful? Give feedback.
-
origin.ls() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
f"https://{GIT_USERNAME}:{GIT_PASSWORD}@gitee.com/guang11cheng/all_docs.git"
How to use gitpython to check whether the configured username and password can access the git repository?
I just wanted to test the connectivity.
Beta Was this translation helpful? Give feedback.
All reactions