J
J
jekanok2020-04-28 15:45:30
git
jekanok, 2020-04-28 15:45:30

How to set default user in git?

The problem is that when I want to push to git, I constantly need to enter username and password, how can I make it the default?
thank!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2020-04-28
@Zarom

Use ssh keys
https://help.github.com/en/github/authenticating-t...

D
Dmitry Gordinskiy, 2020-04-28
@DmitriyGordinskiy

And if so?

git config --global credential.helper store
git pull

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question