moyiz/git-dev.nvim

git@github.com: not working

Closed this issue · 2 comments

please modify like this:

image

my config:

require 'git-dev'.setup {
  repositories_dir = B.rep_slash(vim.fn.stdpath 'cache' .. '/git-dev'),
  git = {
    base_uri_format = 'git@github.com:%s.git',
  },
  verbose = true,
}

Thanks for creating an issue.

I don't mind to substitute : as well, merely for not needing to escape it in via shell.
Since it does not seem like a bug, can you please elaborate on your reasoning?

 Parsing: pysan3/Norg-Tutorial
 {
  repo_url = "git@github.com:pysan3/Norg-Tutorial.git",
  type = "base_uri"
}
 Repository does not exist locally, cloning...
 fatal: could not create work tree dir 'c:/users/llydr/appdata/local/temp/nvim/git-dev/git@github.com:pysan3__Norg-Tutorial': Invalid argument

 Repository not found at: git@github.com:pysan3/Norg-Tutorial.git, aborting...