简体   繁体   中英

Cannot Connet to azure git in centos

i use azure for version control and store my codes instead of gitlab,but when i want to pull my commits into server i use git pull and the azure needs my password, when i enter my pass word the following error comes and i cannot pull my codes in server

 fatal: Authentication failed for 
'https://amirrezamoradi1372@dev.azure.com/amirrezamoradi1372/BMS/_git/BMS/'

i need to send my username and password again, i just want to find a way to git tell me please enter your username?

i searched alot and fond out i should install git credential manager but i do not know which manager is suitable for centos and how to install it please help me to pull my codes into server thanks

There are official tutorials for this: Install the Git Credential Manager and Git-Credential-Manager-for-Mac-and-Linux

And, for Linux OS, you can Set up SSH key authentication which is very convenient.

At last, you can use Personal access token (PAT) . When you are asked for password, you can just use the created PAT. I can successfully use it to clone and push my repository.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM