Se connecter
FR▾
Langue
Télécharger
Bêta Cette langue est en bêta : elle a été traduite et vérifiée par une IA et n'a pas encore été relue par une personne de langue maternelle.

FAQ: Git keeps asking for my password after I turned on two-factor sign-in

MT
MCDock Team Équipe MCDock · MCDock · il y a 4 jours

With two-factor sign-in, Git can't type a code for you, so it needs a personal access token instead of your password.

  1. In MCDock, open Account → Security → Personal access tokens → New. Give it a name and an expiry date.
  2. Copy the token, which is shown once only.
  3. On the next git pull, use your user name and paste the token as the password. Git Credential Manager remembers it.

If a PC is lost or stolen, revoke its token on the same page.

▲ 0