lightningdevkit / ldk-sample

Sample node implementation using LDK
Apache License 2.0
166 stars 94 forks source link

'Invalid branch name' on cloning the repo #88

Closed jalal closed 1 year ago

jalal commented 1 year ago

Trying to clone the repo with: git clone https://github.com/lightningdevkit/ldk-sample gives the error:

Cloning into 'ldk-sample'...
fatal: invalid branch name: init.defaultBranch = 

Necessary to download and unpack the source zip file.

tnull commented 1 year ago

As the given command works without issue for me, I think this is not a bug, but likely has to do with your local git config. Could it be that you have the init.defaultBranch value overridden with something else than main?

Closing for now.

jalal commented 1 year ago

you were correct!