GIT - git push без пароля: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск
(Новая страница: «=== GIT - git push без пароля === $ git config credential.helper store $ git push https://github.com/user/repo1.git Username for 'https://github.com'...»)
 
(нет различий)

Текущая версия на 14:55, 20 октября 2021

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'