Skip to content

How to check whether the username and password can access the git repository #1958

@BrentHuang

Description

@BrentHuang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions