godot-git-plugin icon indicating copy to clipboard operation
godot-git-plugin copied to clipboard

I just need help

Open martin951 opened this issue 2 years ago • 7 comments

Hey

I just added this to a relatively grown project and I am rather confused. Working with the addon while all the files are new is extremely slow. Godot freezes for minutes. Ive added remote repo, pressed push, godot froze for a few mins and then nothing really happened I guess?

Would it be possible to add precise instructions on how to get your first git push done?

Thank you

martin951 avatar Mar 06 '24 22:03 martin951

Which repository host are you pushing to?

Are you using a SSH key with Ed25519 (elliptic curve cryptography)? If so, this is due to https://github.com/godotengine/godot-git-plugin/issues/193.

How many staged files do you have before making a commit? If you have a lot of files, this could be due to https://github.com/godotengine/godot-git-plugin/issues/181.

Calinou avatar Mar 06 '24 22:03 Calinou

I am trying to access my repo on GitHub

Yes it is Ed25519

I have 1696 files

martin951 avatar Mar 06 '24 22:03 martin951

I have tried the basic SSH-rsa key. I also used PAT as my password. I get the same error message:

image

martin951 avatar Mar 06 '24 23:03 martin951

Ive tried using -m PEM while generating yet another key and it seems to work now. This was a suggestion found after searching for "Failed to retrieve list of SSH authentication methods"

ssh-keygen -m PEM -t rsa -b 4096 -C "[email protected]"

martin951 avatar Mar 06 '24 23:03 martin951

@martin951 Thank you! I had the same problem when working with my private (not github) repository. My keys worked just fine pushing and pulling from the repository, just not from within the plugin. Very strange.

JanneKro avatar Mar 09 '24 11:03 JanneKro

I wish I had read this issue before I spent a bunch of time on #230. I think these can be linked.

markeel avatar Apr 11 '24 05:04 markeel

@martin951 Thank you very much! It seems this is still an issue as of now. I couldn't get it to work until I regenerated my keys using the PEM format.

Yokii908 avatar Oct 16 '24 09:10 Yokii908