我使用这个创业板运行git clone,但是它要求我输入密码,我需要知道正确的方法。
我正在尝试这个道路,但它不起作用
in_stream = StringIO.new
in_stream.puts "password"
in_stream.rewind
cmd = TTY::Command.new
git_clone = "git clone https://user@bitbucket.org/repository.git '/home/user/aplication/my-project'"
cmd.run(git_clone, in: in_stream).out我知道这个错误
fatal: could not read Password for 'https://user@bitbucket.org': Device or address does not exist,我怎样才能解决这个问题?
发布于 2019-09-10 16:02:40
这完全是国际海事组织的错误做法。使用为该工作构建的工具。为Ruby类的红宝石使用一个实际的git库。
https://stackoverflow.com/questions/57863061
复制相似问题