godotengine / godot-git-plugin

Git implementation of the VCS interface in Godot
MIT License
649 stars 62 forks source link

https://github.com/godotengine/godot-git-plugin/wiki/Git-plugin-v3#faqs recommends wrong format for PAT login to GitHub #237

Open ericlamotte opened 1 month ago

ericlamotte commented 1 month ago

https://github.com/godotengine/godot-git-plugin/wiki/Git-plugin-v3#faqs From my testing, the line

"Note the git@github.com:<organization>/<repository>.git format in the remote URL."

Should have the : changed to a / The image referenced immediately above is also incorrect.

Calinou commented 1 month ago

Should have the : changed to a /

This is strange, as git@github.com/organisation/repository.git is not a valid Git remote URL with Git 2.45.1.

git remote add example git@github.com/godotengine/godot.git      
git pull example

Results in:

fatal: 'git@github.com/godotengine/godot.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.