How to check whether the username and password can access the git repository #1959
Unanswered
BrentHuang asked this question in Q&A
Replies: 4 comments 1 reply
-
You can do that with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
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.
0 replies
-
origin.ls() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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