привет у меня в sourstree вышла ошибка кагда я захотел скачать себе изменения git -c…
- User
привет у меня в sourstree вышла ошибка кагда я захотел скачать себе изменения git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origin remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://git.zarnitza.tech/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied fatal: Authentication failed for 'https://git.zarnitza.tech/team3/tdk-utk-gdzs.git/' remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://git.zarnitza.tech/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied fatal: Authentication failed for 'https://git.zarnitza.tech/team3/tdk-utk-gdzs.git/' remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://git.zarnitza.tech/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied fatal: Authentication failed for 'https://git.zarnitza.tech/team3/tdk-utk-gdzs.git/' remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://git.zarnitza.tech/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied fatal: Authentication failed for 'https://git.zarnitza.tech/team3/tdk-utk-gdzs.git/' Выполнено с ошибками, см. выше.
- Assistant
Привет! Ошибка, которую ты видишь, связана с проблемами аутентификации при доступе к репозиторию через HTTP. Поскольку доступ к репозиторию защищён двухфакторной аутентификацией (2FA), ты не можешь использовать свой логин и пароль для подключения. Вместо этого, тебе нужно использовать личный токен доступа (Personal Access Token).
Вот шаги по созданию и использованию личного токена доступа:
-
Создание личного токена доступа:
- Перейди на сайт управления аккаунтом Git (в твоём случае git.zarnitza.tech, смотри, как это реализовано на твоём сервере).
- Открой настройки своего аккаунта.
- Найди раздел «Разработчик» или «Security» (названия могут отличаться) и выбери «Настройка или создание личного токена доступа».
-