git clone over https 401 error and not asking for username or password

前端 未结 3 1006
小蘑菇
小蘑菇 2020-12-10 03:11

I have a private git repository on Codaset. Normally when I try to clone it over HTTPS on my Windows machine, it asks me for my username and password. When I try to clone it

3条回答
  •  时光取名叫无心
    2020-12-10 04:03

    You can do:

    git clone https://username@codaset.com/username/project_name.git destination_folder_name.git
    

    to make it prompt for password.

提交回复
热议问题