Skip to content

Instantly share code, notes, and snippets.

@cesarAugusto1994
Created December 5, 2016 10:20
Show Gist options
  • Select an option

  • Save cesarAugusto1994/5c34608c5aaa96fa67981aef4f38213c to your computer and use it in GitHub Desktop.

Select an option

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
@renandmc

Copy link
Copy Markdown

Salvou eu aqui, kkkk vlw

@jrconsta

jrconsta commented Feb 3, 2021

Copy link
Copy Markdown

Bacana, deu certo aqui.

@edsonblwolf

Copy link
Copy Markdown

@estefanionsantos

Copy link
Copy Markdown

eu costumo usar o arquivo .gitconfig adicionando a credencial:

[credential]
	helper = cache --timeout=28800

https://github.com/estefanionsantos/gitconfig

@juniordbz

Copy link
Copy Markdown

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