Skip to content

Instantly share code, notes, and snippets.

@cesarAugusto1994
Created December 5, 2016 10:20
Show Gist options
  • Save cesarAugusto1994/5c34608c5aaa96fa67981aef4f38213c to your computer and use it in GitHub Desktop.
Save cesarAugusto1994/5c34608c5aaa96fa67981aef4f38213c to your computer and use it in GitHub Desktop.
Salvar usuário e senha do git para que não seja mais solicitado
SALVA USUARIO E SENHA POR 8 HORAS:
$ git config --global credential.helper 'cache --timeout=28800'
SALVA USUARIO E SENHA PERMANENTE:
$ git config --global credential.helper cache
@estefanionsantos
Copy link

eu costumo usar o arquivo .gitconfig adicionando a credencial:

[credential]
	helper = cache --timeout=28800

https://github.com/estefanionsantos/gitconfig

@juniordbz
Copy link

Grato! Salvou um retrabalho e tanto com token!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment