There was an error verifying your email github

Verifying your primary email address ensures strengthened security, allows GitHub staff to better assist you if you forget your password, and gives you access to more features on GitHub.

Verifying your primary email address ensures strengthened security, allows GitHub staff to better assist you if you forget your password, and gives you access to more features on GitHub.

About email verification

You can verify your email address after signing up for a new account, or when you add a new email address. If an email address is undeliverable or bouncing, it will be unverified.

If you do not verify your email address, you will not be able to:

  • Create or fork repositories
  • Create issues or pull requests
  • Comment on issues, pull requests, or commits
  • Authorize OAuth App applications
  • Generate personal access tokens
  • Receive email notifications
  • Star repositories
  • Create or update project boards, including adding cards
  • Create or update gists
  • Create or use GitHub Actions
  • Sponsor developers with GitHub Sponsors
  • Accept organization invitations

Warnings:

  • You cannot verify email addresses from disposable email address services (services that allow you to receive email at a temporary address that expires after a certain time). If you’d like to keep your email address private, you can use a GitHub-provided noreply email address. For more information, see «Setting your commit email address on GitHub.»
  • If an organization you’re a member of restricts email notifications to an approved email domain, you’ll need to verify an email address in that domain to receive email notifications about activity in the organization. For more information, see «Restricting email notifications to an approved domain.»

Verifying your email address

  1. In the upper-right corner of any page, click your profile photo, then click Settings.

    Settings icon in the user bar

  2. In the «Access» section of the sidebar, click Emails.

  3. Under your email address, click Resend verification email.
    Resend verification email link

  4. GitHub will send you an email with a link in it. After you click that link, you’ll be taken to your GitHub dashboard and see a confirmation banner.
    Banner confirming that your email was verified

Troubleshooting email verification

Unable to send verification email

You cannot verify email addresses from disposable email address services (services that allow you to receive email at a temporary address that expires after a certain time). If you’d like to keep your email address private, you can use a GitHub-provided noreply email address. For more information, see «Setting your commit email address on GitHub.»

Error page after clicking verification link

The verification link expires after 24 hours. If you don’t verify your email within 24 hours, you can request another email verification link. For more information, see «Verifying your email address.»

If you click on the link in the confirmation email within 24 hours and you are directed to an error page, you should ensure that you’re signed into the correct account on GitHub.com.

  1. Sign out of your personal account on GitHub.com.
  2. Quit and restart your browser.
  3. Sign in to your personal account on GitHub.com.
  4. Click on the verification link in the email we sent you.

Further reading

  • «Changing your primary email address»

Содержание

  1. Verifying your email address
  2. In this article
  3. Ошибка Git push «Вы должны подтвердить свой адрес электронной почты».
  4. 13 ответов
  5. Ошибка Git push «Вы должны подтвердить свой адрес электронной почты».
  6. Account email verification not working (no email sent) #795
  7. Comments
  8. Troubleshooting cloning errors
  9. In this article
  10. Help us make these docs great!

Verifying your email address

In this article

Verifying your primary email address ensures strengthened security, allows GitHub staff to better assist you if you forget your password, and gives you access to more features on GitHub.

About email verification

You can verify your email address after signing up for a new account, or when you add a new email address. If an email address is undeliverable or bouncing, it will be unverified.

If you do not verify your email address, you will not be able to:

  • Create or fork repositories
  • Create issues or pull requests
  • Comment on issues, pull requests, or commits
  • Authorize OAuth App applications
  • Generate personal access tokens
  • Receive email notifications
  • Star repositories
  • Create or update project boards, including adding cards
  • Create or update gists
  • Create or use GitHub Actions
  • Sponsor developers with GitHub Sponsors

Warnings:

  • You cannot verify email addresses from disposable email address services (services that allow you to receive email at a temporary address that expires after a certain time). If you’d like to keep your email address private, you can use a GitHub-provided noreply email address. For more information, see «Setting your commit email address on GitHub.»
  • If an organization you’re a member of restricts email notifications to an approved email domain, you’ll need to verify an email address in that domain to receive email notifications about activity in the organization. For more information, see «Restricting email notifications to an approved domain.»

Verifying your email address

In the upper-right corner of any page, click your profile photo, then click Settings.

In the «Access» section of the sidebar, click

Under your email address, click Resend verification email.

GitHub will send you an email with a link in it. After you click that link, you’ll be taken to your GitHub dashboard and see a confirmation banner.

Troubleshooting email verification

Unable to send verification email

You cannot verify email addresses from disposable email address services (services that allow you to receive email at a temporary address that expires after a certain time). If you’d like to keep your email address private, you can use a GitHub-provided noreply email address. For more information, see «Setting your commit email address on GitHub.»

Error page after clicking verification link

The verification link expires after 24 hours. If you don’t verify your email within 24 hours, you can request another email verification link. For more information, see «Verifying your email address.»

Источник

Ошибка Git push «Вы должны подтвердить свой адрес электронной почты».

Когда я пытаюсь нажать на GitHub, я получаю следующую ошибку:

Я абсолютно уверен, что моя электронная почта уже подтверждена. Я пытался добавить удаленный URL-адрес без .git, но это не помогло.

13 ответов

Я столкнулся с той же ошибкой. Я подозреваю, что это было связано с неправильными учетными данными, кэшированными в git (ранее я зафиксировал частное репо, используя другие учетные данные)

После выполнения этой команды git push начал работать.

Я столкнулся с той же проблемой после смены учетной записи Github.

Я понимаю, что это происходит потому, что ранее использовавшиеся имя пользователя и пароли сохраняются в хранилище учетных данных git.

Git позволяет локально хранить учетные данные, поэтому нам не нужно повторно вводить имя пользователя и пароль каждый раз, когда мы запрашиваем доступ к репозиторию Github, и он автоматически переходит в указанную папку ( .gitconfig ), чтобы найти учетные данные.

Предустановка Homebrew Git для использования osxkeychain для хранения учетных данных. Каждый раз, когда мы отправляем команду git push (при доступе к Github через HTTPS), Git будет использовать имя пользователя и пароль, который osxkeychain сохранил, чтобы запросить Github Repo для доступ.

Вот ПОЧЕМУ git push fatal и продолжайте запрашивать подтверждение электронной почты.

Используйте git config —show-origin —get credential.helper может узнать, где находится файл .gitconfig.

Затем вам нужно будет изменить эту строку в .gitconfig: [credential] helper = osxkeychain .

helper = xxxx определяет способ хранения учетных данных.

В моем случае я удалил [credential] helper = osxkeychain и сохранил файл. Так что git будет запрашивать имя пользователя и пароль, пока Git push .

После ввода нового имени пользователя и пароля git push работает успешно.

Затем я меняю настройку обратно на:

Или вы можете добавить [credential] helper = osxkeychain обратно в .gitconfig.

Источник

Ошибка Git push «Вы должны подтвердить свой адрес электронной почты».

Когда я пытаюсь нажать на GitHub, я получаю следующую ошибку:

Я абсолютно уверен, что моя электронная почта уже проверена. Я пытался добавить удаленный URL без .git, но это не помогло.

Я столкнулся с той же ошибкой. Я подозреваю, что это произошло из-за неправильных учетных данных, кэшированных в git (ранее я использовал частное репо с другими учетными данными)

После выполнения этой команды git push приступил к работе.

Я столкнулся с той же проблемой после изменения учетной записи Github.

Я понял, что это происходит потому, что ранее использованные имя пользователя и пароли сохраняются в хранилище учетных данных git.

Git позволяет локальное хранилище учетных данных, поэтому нам не нужно повторно вводить имя пользователя и пароль каждый раз, когда мы запрашиваем доступ к Github Repo, и он автоматически перейдет в указанную папку (.gitconfig), чтобы найти учетные данные.

Homebrew preset Git to use osxkeychain to storage credentials. Every time we send out git push command ( When access Github over HTTPS ), Git will use the username and password that osxkeychain saved to ask Github Repo for accessing.

This is WHY git push fatal and keep asking to verify email.

Использование git config —show-origin —get credential.helper может узнать, где находится файл .gitconfig .

Затем вам нужно будет изменить эту строку в .gitconfig : [credential] helper = osxkeychain .

helper = xxxx решает способ хранения учетных данных.

В моем случае я удалил [credential] helper = osxkeychain и сохранил файл. Чтобы git запрашивал имя пользователя и пароли, пока Git push .

После ввода нового имени пользователя и пароля git push работает успешно.

Затем я меняю настройку на:

Или вы можете добавить [credential] helper = osxkeychain обратно в .gitconfig.

Источник

Account email verification not working (no email sent) #795

I just experienced this, and it was recently reported in the forums:

Email is not sent when «Require email varification» is set. Approving a user without that verification does not work.

(I also think that adding a user in the backend while email varfication is set is failing as well — but I have not had a chance to replicate.)

The text was updated successfully, but these errors were encountered:

Are other emails being sent from your deployment? ie. can you confirm outgoing email is functioning on your server at all?

Other emails were being sent though can’t confirm they are right now. (sorry I’m away from my machine and can’t double check. I’ll post more when I can narrow it down further.)

@lbell there was some work done on this recently. Could you retest this with latest develop code?

I’m experiencing a similar error. The verification email isn’t sent, and I can attest that the email address can receive messages. When I add another email to the list and send the verification to it, the email is sent normally. Because of corporation issues, I cannot confirm through this email.

Me too. I set up a github account, keep getting asked to confirm at least one email address, and when I try it tells me to follow instructions in the confirmation email it just sent. I have tried repeatedly but the confirmation email just does not arrive — not even after 24 hours.

Adding this since I suspect it might not be an Ushahidi problem (at least for me.)

Thus if Ushahidi is set to send confirmation emails from a domain that is not Dreamhost (ie From: mydeployment@gmail.com) then Dreamhost will block the email.

@lbell @gitforseti @ludwigf are any of you stil experiencing this problem? Could you please re-test on the current code base? I tested this on v2.6.1 and I got a confirmation email and was able to verify the email address through the link and login successfully.

No, my email got sent after some tries. Thank you for your support, @lbell.

I’m having this problem. It’s been 24 hours since first attempts to get a verification email. More recent attempts have also failed. Within my organization (as defined on GithHub) we are also having failures with notification emails to some accounts

The verification email (on google) isn’t sent.

Added another email (not on google), and verification mail is sent.

@lwhite1 @Dehuc, what version of the platform are you running?

git 1.8.3
but at this moment i got all verification email to google account.
there was strange delay with github confirmation emails, other emails arrived in time.

I’ve been using this function in a deployment, the code to send confirmation emails definitely works.
If anything — the issues are due to server config issues.

Closing this unless someone can provide a reproducible example..

I have same issue. It is reproducible, if rjmackay would like to.
It happens to my different github accounts (using two different emails of course). I tried to verify my email, like 3487 times. But that mail from github never came.

I think there is some confusion here: the original issue here was email confirmation From Ushahidi. Email confirmation from github (as mentioned by @RaviRJoshi @Dehuc @ludwigf) is not something I can help with. Github is a third party service, we have no control over it. If you’re having issue with github notifications please send a message to github here: https://github.com/contact

had the same problems and just got it fixed , my email was @outlook.com when i used @yahoo.com i received the verification email

I’ve just opened a github account and email verification or: clicking the button or link in the email you send, fail miserably with a 404 error.
How can I avoid this Please?
Is it a bug?
am I doing something wrong?
thank you

I am also encountering this problem. Trying to use my gmail address for verification but the mail does not arrive.

I encountered this problem where I received a verification code but when I started verifying there’s nothing happen.

Every time I signed in GitHub, I have received a message like this:

You don’t have any verified emails. We recommend verifying at least one email.
Email verification helps our support team verify ownership if you lose account access and allows you to receive all the notifications you ask for.

I click the ‘verifying’ link and then click the ‘Resend’ label, it always shows me «Could not send email verification.» But I don’t know why it could not send email verification. How to fix it?

@hyhrop we don’t run github. I think you need to contact github’s support instead https://github.com/contact

I had the same issue while I was using hotmail/outlook. I fixed it by adding a email from Gmail to my list.
Give it a try.

I am not getting mail on Outlook live mail.

I have same problem. I am going to add my university email to my git account, but the verification code is not sent to my email. So maaad.
I need to install student developer for which I have to add my university email to the account. 🙁

Updates your emails settings to receive all emails, else you will never receive those verification mails.

This does not work with cdsbeo.on.ca why?

I have same problem. I am going to add my university email to my git account, but the verification code is not sent to my email. So maaad.
I need to install student developer for which I have to add my university email to the account. 🙁

I have the similar issue.

I have same problem. I am going to add my university email to my git account, but the verification code is not sent to my email.
I need to install student developer for which I have to add my university email to the account. 🙁

I reset my password which got me in without the Email verification step. Next time I logged in using my Username rather than my Email address. Abracadabra!

Sorry I should say that my last comment did not include the fact that the password reset did require Email verification, but that was straighforward.

Источник

Troubleshooting cloning errors

In this article

If you’re having trouble cloning a repository, check these common errors.

HTTPS cloning errors

There are a few common errors when using HTTPS with Git. These errors usually indicate you have an old version of Git, or you don’t have access to the repository.

Here’s an example of an HTTPS error you might receive:

Check your Git version

There’s no minimum Git version necessary to interact with GitHub, but we’ve found version 1.7.10 to be a comfortable stable version that’s available on many platforms. You can always download the latest version on the Git website.

Ensure the remote is correct

The repository you’re trying to fetch must exist on GitHub.com, and the URL is case-sensitive.

You can find the URL of the local repository by opening the command line and typing git remote -v :

Alternatively, you can change the URL through our GitHub Desktop application.

Provide an access token

To access GitHub, you must authenticate with a personal access token instead of your password. For more information, see «Creating a personal access token.»

If you are accessing an organization that uses SAML SSO and you are using a personal access token (classic), you must also authorize your personal access token to access the organization before you authenticate. For more information, see «About authentication with SAML single sign-on» and «Authorizing a personal access token for use with SAML single sign-on.»

Check your permissions

When prompted for a username and password, make sure you use an account that has access to the repository.

Tip: If you don’t want to enter your credentials every time you interact with the remote repository, you can turn on credential caching. If you are already using credential caching, please make sure that your computer has the correct credentials cached. Incorrect or out of date credentials will cause authentication to fail.

Use SSH instead

If you’ve previously set up SSH keys, you can use the SSH clone URL instead of HTTPS. For more information, see «About remote repositories.»

Error: Repository not found

If you see this error when cloning a repository, it means that the repository does not exist or you do not have permission to access it. There are a few solutions to this error, depending on the cause.

Check your spelling

Typos happen, and repository names are case-sensitive. If you try to clone git@github.com:user/repo.git , but the repository is really named User/Repo you will receive this error.

To avoid this error, when cloning, always copy and paste the clone URL from the repository’s page. For more information, see «Cloning a repository.»

To update the remote on an existing repository, see «Managing remote repositories».

Checking your permissions

If you are trying to clone a private repository but do not have permission to view the repository, you will receive this error.

Make sure that you have access to the repository in one of these ways:

  • The owner of the repository
  • A collaborator on the repository
  • A member of a team that has access to the repository (if the repository belongs to an organization)

Check your SSH access

In rare circumstances, you may not have the proper SSH access to a repository.

You should ensure that the SSH key you are using is attached to your personal account on GitHub. You can check this by typing the following into the command line:

If the repository belongs to an organization and you’re using an SSH key generated by an OAuth App, OAuth App access may have been restricted by an organization owner. For more information, see «About OAuth App access restrictions.»

Check that the repository really exists

If all else fails, make sure that the repository really exists on GitHub.com! If you’re trying to push to a repository that doesn’t exist, you’ll get this error.

Error: Remote HEAD refers to nonexistent ref, unable to checkout

This error occurs if the default branch of a repository has been deleted on GitHub.com.

Detecting this error is simple; Git will warn you when you try to clone the repository:

To fix the error, you’ll need to be an administrator of the repository on GitHub.com. You’ll want to change the default branch of the repository.

After that, you can get a list of all the available branches from the command line:

Then, you can just switch to your new branch:

Help us make these docs great!

All GitHub docs are open source. See something that’s wrong or unclear? Submit a pull request.

Источник

Когда я пытаюсь нажать на GitHub, я получаю следующую ошибку:

remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/user/userRep.git/': The requested URL returned error: 403

Я абсолютно уверен, что моя электронная почта уже подтверждена. Я пытался добавить удаленный URL-адрес без .git, но это не помогло.

13 ответов

Я столкнулся с той же ошибкой. Я подозреваю, что это было связано с неправильными учетными данными, кэшированными в git (ранее я зафиксировал частное репо, используя другие учетные данные)

Решено

git push https://username:password@github.com/user/userRep.git

После выполнения этой команды git push начал работать.


15

Michael H.
6 Янв 2019 в 18:12

Я столкнулся с той же проблемой после смены учетной записи Github.

Я понимаю, что это происходит потому, что ранее использовавшиеся имя пользователя и пароли сохраняются в хранилище учетных данных git.

Git позволяет локально хранить учетные данные, поэтому нам не нужно повторно вводить имя пользователя и пароль каждый раз, когда мы запрашиваем доступ к репозиторию Github, и он автоматически переходит в указанную папку ( .gitconfig ), чтобы найти учетные данные.

На macOS:

Предустановка Homebrew Git для использования osxkeychain для хранения учетных данных. Каждый раз, когда мы отправляем команду git push (при доступе к Github через HTTPS), Git будет использовать имя пользователя и пароль, который osxkeychain сохранил, чтобы запросить Github Repo для доступ.

Вот ПОЧЕМУ git push fatal и продолжайте запрашивать подтверждение электронной почты.

Используйте git config --show-origin --get credential.helper может узнать, где находится файл .gitconfig.

Затем вам нужно будет изменить эту строку в .gitconfig: [credential] helper = osxkeychain.

helper = xxxx определяет способ хранения учетных данных.

В моем случае я удалил [credential] helper = osxkeychain и сохранил файл. Так что git будет запрашивать имя пользователя и пароль, пока Git push.

После ввода нового имени пользователя и пароля git push работает успешно.

Затем я меняю настройку обратно на:

git  config --global  credential.helper  osxkeychain

Или вы можете добавить [credential] helper = osxkeychain обратно в .gitconfig.

Надеюсь, мой опыт может кому-то помочь.


12

Jinny Chen
12 Фев 2019 в 21:12

Вы можете установить URL-адрес github, указав, кто вы — имя пользователя и пароль.

 git remote set-url origin  https://YourName:YourPassword@github.com/YourName/YourRepo.git

Я столкнулся с той же проблемой после смены учетной записи Github.


А на земле вам нужно будет удалить информацию об авторизации из цепочки для ключей.

one

В моем случае в связке ключей много учетных записей github.


6

dengST30
17 Июн 2019 в 12:11

Я столкнулся с этой проблемой на osx (и мой адрес электронной почты был подтвержден), следующая команда решила ее для меня:

ssh-add -D && ssh-add


5

BananaNeil
25 Июл 2019 в 23:58

Я перепробовал все это, но не сработало:

  • мой адрес электронной почты уже подтвержден,
  • проверил git config user.email, чтобы убедиться, что это правильно
  • также проверил git config user.email и все было хорошо
  • попытался удалить мой ключ ssh, создать новый и добавить его в ssh-agent и github.
  • проверил ssh -T git@github.com, чтобы убедиться, что он авторизован
  • сделал ssh-add -d, чтобы удалить любой добавленный ключ, сгенерировал новый ключ и добавил его в ssh-agent и github
  • проверил файл конфигурации, выполнив cat ~/.ssh/config, чтобы убедиться, что там нет недопустимого имени пользователя

Что сработало, было очень просто: перезапуск моей машины.

Надеюсь, это сработает и для вас.


1

Ali Nem
21 Мар 2020 в 06:04

В моем случае это произошло потому, что я сгенерировал ключ SSH, используя ed25519 вместо rsa. Переключение на rsa сразу устранило проблему.


1

Liran H
20 Апр 2021 в 11:18

Вы клонировали репозиторий как https (по умолчанию в интерфейсе github) и пытаетесь протолкнуть его через протокол git. Откройте .git/config и измените url с https на url = git@github.com:....


1

a0s
19 Май 2021 в 19:02

В моем случае это произошло, когда я изменил свой пароль Github, но в моей программе Mac Keychain Access сохраненный пароль все еще был старым. После обновления пароля в Keychain Access команда git push снова сработала.

Если вы подозреваете, что это может быть ваш случай, просто откройте Keychain Access на Mac, найдите github и обновите пароль для всех соответствующих записей.


0

SimoAmi
17 Мар 2020 в 18:50

Вероятно, вы используете не ключ SSH, а аутентификацию по имени пользователя/паролю.

Для Windows:

Откройте Панель управления -> Учетные записи пользователей -> Диспетчер учетных данных.

Удалить запись GitHub

Попробуй снова. Появится окно с запросом вашего адреса электронной почты/пароля. Введите свои надлежащие учетные данные.


0

georgiptr
25 Мар 2020 в 18:20

В моем случае это произошло потому, что я недавно изменил свою аутентификацию git с HTTPS на SSH. Я пытался использовать SSH, но Git продолжал пробовать учетные данные из цепочки для ключей.

Основываясь на решении от jinny-chen, вот что помогло мне:

  • vim ~/.gitconfig. Вы можете найти файл конфигурации с помощью git config --show-origin --get credential.helper
  • Удалите учетные данные помощника, чтобы сообщить git, чтобы он прекратил использовать учетные данные пользователя/пароля.
[credential]
   helper = osxkeychain
  • git push --set-upstream origin master


0

Carlos Roso
3 Июн 2021 в 21:42

Я подтвердил свою электронную почту один раз. Когда он говорит You must verify your email address, я снова проверяю свою электронную почту и проблема решается.


-1

Blair Curie
6 Апр 2019 в 12:03

Я только что проверил свой репозиторий и увидел сообщение от github.

This is what I saw

Теперь нажмите «Подтвердить адрес электронной почты», и он отправит электронное письмо, и все готово. Это сработало для меня.


-1

Badri Paudel
16 Дек 2020 в 17:27

https://github.com/settings/emails, чтобы подтвердить свою электронную почту, нажмите кнопку «Отправить повторно», затем войдите в систему. ваш адрес электронной почты и щелкните письмо от github к вам. то идеально!


-2

dawenyang
13 Апр 2018 в 15:22

Добрый день, столкнулся с таким вот новшеством на гитхабе. Если кратко, то они отключили авторизацию по паролям через https.

Это конечно хорошо что они заботятся о нашей безопасности, но лично мне пришлось потратить чуть ли не целый час чтобы разобраться как сейчас подключаться правильно.

gitHub

Сообщение о ошибке выглядит вот так:

[nehrena@manjaro-nout hello]$ git push —set-upstream origin master
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token inst
ead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more in
formation.
fatal: Authentication failed for ‘http://github.com/nehrena/test_repo.git/’

Как авторизоваться в github.com правильно?

Сейчас осталось несколько способов, самые правильные из них это использовать token или ssh-key.

Авторизация через Token.

  1.  Для начала нужно подтвердить  email у себя в профиле на github.com (если вы этого еще не сделали).
  2. Зайти в настройки и найти там вкладку Developer settings.
  3. Там будет доступно создание токена и все его настройки. В этой же вкладке можно посмотреть уже существующие токены и скопировать их.
  4. Что делать с этим token? вот про это мало что расписано, но в недрах справки выясняется что этот токен сейчас можно использовать вместо пароля при внешней авторизации, чтобы избежать ошибки которую мы получили в начале.

Подключить внешний гит репозитарий на github.com можно будет командой:

git remote add origin http://LOGIN:TOKEN@github.com/nehrena_нужный_путь/test_repo.git

Авторизация через SSH key

  1. Открываем свой терминал.
  2. Создаём новый ssh ключ на своей локальной машине, обязательно указываем тот же email, что иcпользуется на github.com.
    ssh-keygen -t ed25519 -C "your_email@example.com"

    На старых линуксах может не поддерживаться новый алгоритм Ed25519, можно воспользоваться вот таким:

    ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

    Тем самым мы создали новый ключ с меткой в которой указан наш емайл.

    > Generating public/private ed25519 key pair.
  3. Сохраняем в файл наш ключ.
    > Enter a file in which to save the key (/home/you/.ssh/id_ed25519): [Press enter]
  4. Далее нас попросят ввести секретную фразу для ключа д
    > Enter passphrase (empty for no passphrase): [Type a passphrase]
    > Enter same passphrase again: [Type passphrase again]

Сейчас нам нужно добавить свой ключик в аккаунт на github.com. Для этого сделаем следующее.

  1. Запускаем ssh-agent в фоне (background).
    eval "$(ssh-agent -s)"
     > Agent pid 59566
  2. Добавляем свой SSH private key в ssh-agent. Если в начале у вас был выбран другой путь, то тут его тоже нужно будет изменить.
    ssh-add ~/.ssh/id_ed25519
  3. Добавляем свой ключ на GitHub. Чтобы найти собственно сам ключ нужно будет в только что созданной директории просмотреть файлик id_ed25519.pub. Просто копируем его содержимое и вставляем в нужную вкладку на GitHub.
  4.  Если воздникли вопросы вот тут есть инструкция на английском Adding a new SSH key to your GitHub account.

Ну и после всего этого подключить внешний репозитарий на GitHub можно будет через команду:

git remote add origin git@github.com:LOGIN/test_repo.git

Как видно, тут мы уже не вводим никаких логинов и паролей, авторизация происходит по созданному выше ключу. А если нужно изменить уже существующий репозитарий:

git remote set-url origin git@github.com:LOGIN/test_repo.git

Если вы только начали изучать и пользоваться Git, то вот вам отличная ссылка:

GitHowTo — это интерактивный самоучитель, который познакомит вас с основами Git, там есть версия на русском.

Понравилась статья? Поделить с друзьями:
  • There was an error updating the credit card you entered
  • There was an error trying to send your message please try again later перевод
  • There was an error trying to send your message please try again later перевести
  • There was an error trying to send your message please try again later wordpress
  • There was an error trying to log you in network error