I keep getting prompted

I am using Debian on WSL.

I did ’ sudo git config --global’ for user.name and user.email, confirmed it with 'git config --list, restarted the terminal and made a new push and still got prompted.

How to fix this ?

Thanks.

sudo isn’t magic fairy dust
if you’re doing the wrong thing, doing the wrong thing with elevated privilege isn’t better
and if you’re doing the right thing, doing it with elevated privilege might make that the wrong thing

if you’re getting an error message, good, it’ll tell you something about the situation, allowing you to adjust it

1 Like