Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+14 votes

I am required to give my git token twice every time I use the commit and push feature in eclipse, I was wondering if there was a way around that. I understand it is for security, but it gets annoying.

asked in CSC305 Fall 2022 by (1 point)

1 Answer

+7 votes

Yes. If you configure your GitHub credentials with the --global command when you configure your username and email GitHub will remember and should only prompt your credentials one additional time. Given this fix only works if you have a personal device, if you use a olin pc you can do this and it'll remember for your session. Hope this helps

answered by (2.1k points)
+2

I have been mostly using eclipse instead of Git Bash so I am unsure how to configure my username and email. Is there a certain command for that?

+2

Nevermind I remembered, thank you so much. I'll update if the issue continues.

...