0

It's a tiring job to type my ID and password every time I want to push something. How can I proceed it globally without putting in my ID, password, not just one repository if possible?

If not, can I push it without that process at least in one repository?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
r3dr4bb1t
  • 64
  • 12
  • Use ssh keys; adapt this guide to your workplace's system: https://help.github.com/articles/connecting-to-github-with-ssh/ – msanford Nov 10 '17 at 15:23

1 Answers1

0

Try using this command:

git config --global credential.helper wincred

This is actually caching your passwords, so you will not have to enter them every time.

Nevertheless, mind this is not safe if you want to do it on a server with SSH. You can see the related GitHub documentation for more details.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
drkostas
  • 517
  • 1
  • 7
  • 29