Cov txheej txheem:

Kuv yuav hloov kuv tus password github hauv davhlau ya nyob twg?
Kuv yuav hloov kuv tus password github hauv davhlau ya nyob twg?

Video: Kuv yuav hloov kuv tus password github hauv davhlau ya nyob twg?

Video: Kuv yuav hloov kuv tus password github hauv davhlau ya nyob twg?
Video: Installing Jupyter Notebook on Ubuntu! 2024, Hlis ntuj nqeg
Anonim

Hloov tus password uas twb muaj lawm

  1. Kos npe rau GitHub .
  2. Hauv tus sab saum toj-txoj cai kaum ntawm txhua nplooj ntawv, nyem koj duab profile, ces nyem qhov chaw.
  3. Hauv tus user settings sidebar, nyem Security.
  4. Hauv qab " Hloov tus password ", typ koj laus tus password , a muaj zog tshiab tus password , thiab paub meej tias koj tshiab tus password .
  5. Nyem Hloov tshiab password .

Yog li ntawd, kuv yuav hloov kuv lub npe git username thiab password hauv davhlau ya nyob twg?

  1. Hauv koj lub davhlau ya nyob twg, mus rau lub repo koj xav hloov pauv hauv.
  2. Execute git config --list los xyuas cov neeg siv tam sim no & email hauv koj qhov chaw repo.
  3. Hloov username & email raws li xav tau. Ua kom nws hloov pauv thoob ntiaj teb lossis tshwj xeeb rau hauv zos repo: git config [--global] user.name "Lub Npe"
  4. Ua tiav!

Tsis tas li ntawd, cov ntaub ntawv pov thawj git khaws cia nyob qhov twg? git - cov ntaub ntawv pov thawj file yog khaws cia nyob rau hauv qhov tseeb. Txhua daim ntawv pov thawj yog khaws cia ntawm nws tus kheej kab raws li qhov URL zoo li: https://user: [email tiv thaiv] Thaum twg Git xav tau authentication rau ib qho URL ntsiab lus, daim ntawv pov thawj -store yuav txiav txim siab qhov ntsiab lus ntawd tus qauv kom phim rau txhua qhov nkag hauv cov ntaub ntawv pov thawj ntaub ntawv.

Tib neeg kuj nug, Kuv yuav nkag mus rau github ntawm lub davhlau ya nyob twg?

Koj thawj zaug nrog git thiab github

  1. Tau txais ib tus account github.
  2. Download tau thiab nruab git.
  3. Teem git nrog koj tus neeg siv lub npe thiab email. Qhib lub davhlau ya nyob twg / plhaub thiab ntaus ntawv:
  4. Teeb tsa ssh ntawm koj lub computer. Kuv nyiam Roger Peng cov lus qhia los teeb tsa tus password-tsawg nkag nkag.
  5. Muab koj tus yuam sij ssh rau hauv koj tus account github. Mus rau koj lub github Account Settings.

Kuv yuav ua li cas clone Git repository nrog username thiab password?

Rau ua clone siv a tus password , tsuas yog muab cov tus neeg siv lub npe rau cov git account, thiab koj yuav tau prompted nrog rau tus password . ua clonetus neeg siv lub npe @ Cloning hauv 'private- rov ' Tus password rau 'https://< tus neeg siv lub npe >@: tej thaj chaw deb: Enumerating objects: 3, ua tiav.

Pom zoo: