【gitee】remote: Incorrect username or password ( access token )

The error message is as follows

Insert picture description here

Foreword

I just want to 把码云上的仓库下载下来(而已) be able to modify and submit it.
1. Create a new empty file, just pick one of the file names
2. Initialize

   git init

3. You must establish a connection with the origin master (underscore is the remote warehouse link)

git remote add origin https://gitee.com/az44yao/devconf.git

4. Pull the remote branch to the local

git fetch origin dev(dev为远程仓库的分支名)

5. Create a branch dev locally and switch to that branch

git checkout -b dev(本地分支名称) origin/dev(远程分支名称)

My steps are like this, follow the above steps, but when the fourth step ...
Insert picture description here

Reference link:
https://blog.csdn.net/az44yao/article/details/100553599

Method summary 1

Original link: https://www.cnblogs.com/sunmingduo/p/10055329.html

Gitee prompts an error when pushing to a remote warehouse

remote: Incorrect username or password ( access token )
fatal: Authentication failed for 'https://gitee.com/***/***.git/'

Solution: Clear the local gitee username and password

git config --system --unset credential.helper

Perform push again, re-enter username and password

I ’m toxic because I ca n’t ...

Method summary 2

Original link:
https://blog.csdn.net/Hunt_bo/article/details/98491319

In the local git, if you do not use it for a long time, you need to re-verify the account information after logging in again. If the first input account or password is wrong, the project will report an error:remote: Incorrect username or password ( access token ) fatal: Authenticatio。

And it will be the same every time in the future, and it will not prompt you to re-enter the correct account and password again. Later, it was found that the git credentials under win10 existed in the windows system, and can be changed in the control panel.

The first step is to enter the control panel and enter the user account. The
Insert picture description here
second step is to choose to manage Windows credentials. The
Insert picture description here
third part is to modify the ordinary credentials and
Insert picture description here
then re-operate git.

I ’m poisonous because I tried it, and still ca n’t ...

Insert picture description here

Published 252 original articles · Like 106 · Visits 30,000+

Guess you like

Origin blog.csdn.net/weixin_42554191/article/details/105507626