loft-sh / devpod

Codespaces but open-source, client-only and unopinionated: Works with any IDE and lets you use any cloud, kubernetes or just localhost docker.
https://devpod.sh
Mozilla Public License 2.0
8.73k stars 328 forks source link

Offer a way to supply GIT credentials #1133

Closed elronzo closed 3 months ago

elronzo commented 3 months ago

Is your feature request related to a problem?
Cannot use a private GIT repo.

Which solution do you suggest?
Add a way to provide credentials.

gorillamoe commented 3 months ago

IDK if this is feasible for you, but you could maybe use a Github PAT to clone a private repo :)

pascalbreuninger commented 3 months ago

Hi @elronzo, DevPod automatically forwards the git credentials of your local machine to the workspace. If you're able to clone a repository locally you should also be able to create a workspace. This requires you to either use a PAT and git credentials helper like @gorillamoe suggested, or setup an SSH Key for Github authentication