(Need help) Can't login with remote login

Aperta
#242 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp, git

Direzione di ricerca

Iniziare da src/git_plugin.cpp:GitPlugin::_push#L533 e dai controlli remote-login delle impostazioni VCS descritti nella issue. Verificare come il plugin gestisce le configurazioni delle credenziali e dei remote e cosa significano Fetch, pull, push e New Remote. Il lavoro sarà completato con un aggiornamento della documentazione confermato da un maintainer che risponda a queste domande; non viene indicato alcun file di documentazione né alcun test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

image
(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

[email protected]: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

Lingua principale
C++
Stelle
966
Fork
100
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di godotengine/godot-git-plugin

Tutte le issue di godotengine/godot-git-plugin

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.