foundweekends / giter8

a command line tool to apply templates defined on GitHub
https://www.foundweekends.org/giter8/
Apache License 2.0
1.74k stars 225 forks source link

Can't pull a private repository #889

Open i-am-the-slime opened 3 months ago

i-am-the-slime commented 3 months ago

steps

sbt or Giter8 version:

g8 0.16.2

problem

Trying to run sbt new or g8 on a private repo leads to:

> g8 ssh://git@github.com/my-org/my-template.g8.git
ssh://git@github.com/my-org/my-template.g8.git: Cannot log in at github.com:22

expectation

It should not fail to log in (since cloning the repo works just fine)

i-am-the-slime commented 3 months ago

I wonder if this is related to using https://github.com/maxgoedjen/secretive over ssh-agent. I think it would be nice if this project could just call out to the git process instead of using a Java implementation of git.