0

Github x Android Studio Token

Hello, When I first made an android project a github repo, I needed to connect it via a github token. The token is about to expire. Now, do I need the token to keep pushing to github etc? Or was it just to connect the project to my github? I need to know, because if I still need it - I need to regenerate the token, else - i can let it expire peacefully :) Thanks

2nd Oct 2022, 5:46 AM
Yahel
Yahel - avatar
1 Odpowiedź
+ 1
When you connecting to remote Git repositories via Github, you usually have two connection options—HTTPS or SSH. Both have their uses, and while SSH is generally considered more secure, try if you set ssh then you need to generate ssh key on your system and copy the same generated key and paste on you GitHub settings developer option you will see ssh option paste it . If you select https then for every commits you need to generate new token and you have to paste it on you GitHub so better to generate ssh
2nd Oct 2022, 7:20 AM
A S Raghuvanshi
A S Raghuvanshi - avatar