Take a look at fine grained personal access tokens on GitHub, and this SO thread that discusses using them over HTTPS. In theory this should allow you to make a token that can only access the one remote repository, for a temporary duration you define (you could set this to end shortly after your semester for instance). I’ve never personally set this up so YMMV, but this seems to be the right way to achieve what you want.
this post was submitted on 13 Oct 2023
3 points (100.0% liked)
GIT - Github, Gitea, Gitlabs. Everything git
321 readers
2 users here now
A place to everything git!
Rules
- Be civilised.
- Avoid going off topic.
- No slurs, harassement, racism or any other type of descrimination.
Cross-posts
- [email protected] is allowed!
- [email protected] is allowed!
- [email protected] is allowed!
- [email protected] is allowed!
- [email protected] is allowed!
Sidebar updates soon!
founded 3 years ago
MODERATORS
It worked great! exactly what I was looking for, thank you very much!
Glad to hear, good luck with your project.
Seems really promising! I'll try and let you know if it worked as I wish it will! Thanks!