Open aivanise opened 5 years ago
@aivanise It seems like you have some unusual git config that tries to set the name of your remotes to the full URL passed into the clone? I'm not sure exactly what's going on, but our git remote helper process sees the following:
remote=keybase://private/aivanise/amonium.git, repo=keybase://private/aivanise/amonium.git
This is unusual, I would expect it to see something more like:
remote=origin, repo=keybase://private/aivanise/amonium.git
The remote name is not allowed to have colons in it, so you'll need to look into whatever local configuration is making that happen. (That remote name is passed to our Keybase git helper from the main git process, it is not something we have any power over.)
I don't have any special configuration, we use hg internally so I'm only using git very occasionally and for very simple operations.
Turns out that my version of git was probably too old, I was using git-1.7.1-9.el6_9.x86_64 which ships with centos 6. I have switched to git2u from the IUS repository, which ships git version 2.16.5 and all is fine.
Feel free to close this one if you are not planning on supporting older versions, if not you might want to put some kind of override if you see remote and repo URLs being the same.
can't clone my private git repo on centos6
1 > git --version git version 1.7.1
0 > keybase --version keybase version 2.10.0-20181101184721+aad4943508
0 > git clone keybase://private/aivanise/amonium
Initialized empty Git repository in /home/alex/work/amonium/.git/ Initializing Keybase... done. Syncing with Keybase... done. git-remote-keybase error: (1) malformed refspec, separators are wrong
my log id: ccf6995d02dc59edef26af1c