GIT - git push без пароля

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Версия от 14:55, 20 октября 2021; Admin iph (обсуждение | вклад) (Новая страница: «=== GIT - git push без пароля === $ git config credential.helper store $ git push https://github.com/user/repo1.git Username for 'https://github.com'...»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

GIT - git push без пароля

$ git config credential.helper store
$ git push https://github.com/user/repo1.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>


Задать хранение пароля только на 4 часа:

$ git config --global credential.helper 'cache --timeout 14400'