godotengine / godotengine/godot-git-plugin
(Need help) Can't login with remote login
- Dominant language
- C++
- Stars
- 954
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
Apologies if this isn't the right place to ask, but I've reached out on multiple other platforms/communities, and am not getting responses.
I'm trying to make the plugin work.
### **What I want (that I don't yet have)**:
I want the plugin to work as intended. And I want to better understand it.
Note: I have used Git before. I would say I understand the basics, but there are some things I don't. I don't think I fully understand the references to "remote".
### **What happens**:
When I click

to push, it comes up with the following error message.
`core/variant/variant_utility.cpp:1091 - GitPlugin: Could not connect to remote "origin". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -1: too many redirects or authentication replays in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533`
### **What I don't understand**:
Underneath the "VCS settings" I don't understand the "remote login" fields and what I should put in. I try putting in my git username and password, but that doesn't seem to fix it. If I put in my user name and a PAC key I generated, it works. But I don't want be generating a PAC key every 90 days, I'd rather just have my login information.

(See image): I assume the left is for selecting a branch to pull from. The middle drop down to select a branch to push to(?). I don't understand the Fetch button (the circle with an arrow). I assume the down arrow will pull from the branch I have selected in the left drop down. And the up arrow pushes to the selected branch in the middle drop down.
I tried creating a "New Remote", but I honestly don't understand it. I'm guessing it is for connecting to a branch to be able to push to it? Cause it then appears in the second drop down.
I named the remote "master" hoping it would connect to the master branch. And put in the url as I found in documentation
git@github.com:organization/repository.git
I replaced the organization with my username, and the repository with the name of the repository as found on github. As mentioned, this works when using a PAC token. While it works, I don't feel I understand what is going on.
### **Can you help with**:
Understanding what is going on. I have read through documentation repeatedly. I have tried watching videos online to do with git. I think my lack of understanding lies around the plugin? If you think I don't understand certain concepts explained elsewhere, feel free to link me to videos/documentation.
Thank you in advance
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.