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.


+11 votes

And also, why do I need to create one every time I use eclipse? In my opinion, this is illogical, confusing, and not user friendly at all so I am just confused as to why everyone loves github.

asked in CSC305 Fall 2021 by (1 point)

3 Answers

+3 votes
Best answer

Technically speaking, it's to help prevent others from hijacking your account and ruining your program. It's just a basic use password to allow for access to pushing up to github. You could always save one in a document so that you only need one, but you will have to input it every time you code on a school computer. On personal computers you should be able to save the token to your secure database. Also you can elongate the life of a personal access token so that you don't have to make new ones.

answered by (2k points)
selected by
+1 vote

Well, since Katelyn provided the best answer, I just want to add that you don't have to create one every time you use eclipse, just merely set the expiration time for your token

answered by (1 point)

That's neat. Great idea!

0 votes

It's an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. Idk but maybe they're going to replace the passwords in the future?

answered by (1 point)