godotengine / godot-git-plugin

Git implementation of the VCS interface in Godot
MIT License
656 stars 64 forks source link

I just need help #224

Open martin951 opened 4 months ago

martin951 commented 4 months ago

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

Calinou commented 4 months ago

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.

martin951 commented 4 months ago

I am trying to access my repo on GitHub

Yes it is Ed25519

I have 1696 files

martin951 commented 4 months ago

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

image

martin951 commented 4 months ago

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 "your_email@example.com"

JanneKro commented 4 months ago

@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.

markeel commented 3 months ago

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