ongardie / cubicle

Manage isolated development environments
MIT License
15 stars 3 forks source link

the `git push` problem #28

Open ongardie opened 2 years ago

ongardie commented 2 years ago

How should users push from their dev environments when those probably don't have an SSH key/agent? And similar for git fetch of private repos. Right now I run my git push from outside the dev environment.

It doesn't look like GitHub supports fine-grained access control for SSH keys (at least for personal accounts).

Git has core.gitProxy and core.sshCommand (see https://git-scm.com/docs/git-config), which could probably be used with a local proxy.

ongardie commented 2 years ago

https://github.blog/2022-10-18-introducing-fine-grained-personal-access-tokens-for-github/ might help