-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
impossible de commit and push #1102
Comments
🇫🇷 French here, 🇬🇧 ENGLISH translation BELOW.La réponse StackOverflow est très complète... Même si elle est parfois un peu sibylline. Voici ma version traduite et amendée. ...Si ça ne marche pas, au moins, on aura essayé, c'est sans doute que quelque chose a encore changé, donc celui ou celle qui trouve la solution commentera ci-dessous. Traduction ci-dessous de : https://stackoverflow.com/questions/68790276/pushing-from-eclipse-to-my-github-repository-via-https-stopped-working-git-rec , n'hésitez pas à aller voir cette réponse pour les autres possibilités (SSH...) et/ou si cela ne fonctionne pas, sans doute que la réponse / modification aura été postée là-bas. EDIT : en plus, les méthodes officielles proposées par GitHub sont décrites ici. 1. Dans GitHub : générer le token (jeton) d'accès aux API
2. Dans Eclipse, utiliser ce token
...Et voilà 👍 . Vous pouvez maintenant Commit et Push en toute quiétude avec un jeton (token) d'accès aux API de GitHub ! 🎉 Oups ! J'ai pas copié mon token / j'ai perdu mon tokenC'est moche ! 😅 Vous pouvez le voir, toujours dans Settings > Developer settings > Personal access tokens ( lien : https://github.com/settings/tokens ), mais vous ne pourrez plus accéder à sa valeur. Vous pouvez le modifier, ou le détruire pour le re-créer, mais dans les deux cas, il faudra ré-enregistrer ce nouveau token dans Eclipse, et éventuellement l'enregistrer (à nouveau) dans le Secure Store. 🇬🇧 ENGLISH translation :The StackOverflow response is very comprehensive... Even if it is sometimes a little cryptic. Here's my translated and amended version (and translated back to english). ...If it doesn't work, at least we've tried, it's probably because something has still changed, so whoever finds the solution will comment below. Translation below from: https://stackoverflow.com/questions/68790276/pushing-from-eclipse-to-my-github-repository-via-https-stopped-working-git-rec , feel free to check this answer for other possibilities (SSH...) and/or if it doesn't work, the answer/amendment will probably have been posted there. EDIT : in addition, the official methods proposed by GitHub are described here. 1. In GitHub: generate the API access token
2. In Eclipse, use this token
...And that's it 👍 . You can now Commit and Push in peace with a token for access to the GitHub APIs! 🎉 Oops! I didn't copy my token / I lost my tokenThis is bad! 😅 You can still see it in Settings > Developer settings > Personal access tokens ( link: https://github.com/settings/tokens ), but you won't be able to access its value. You can modify it, or destroy it to re-create it, but in both cases, you'll have to re-register this new token in Eclipse, and possibly save it (again!) in the Secure Store. Translated with www.DeepL.com/Translator (free version) ...and a few correction from me afterward. |
NOTE pour le commit/push sur GitHub (ajoutée en février 2024) : Depuis le 13 août 2021, GitHub n'autorise plus l'accès par authentification simple à ses API (c'est quoi une API?), comme expliqué ici par GitHub. (...Eclipse utilise les API pour mettre à jour GithHub ! Oups.) 🎉 La solution pour contourner le problème est décrite dans l'issue geoffreyarthaud#1102 (geoffreyarthaud#1102)
Bonjour. dans Eclipse j'ai un message d'erreur quand j'essai de commit and push qui indique ceci :
Can't connect to any repository: https://github.com/JustVinz29/oc-install-ide-cours.git (https://github.com/JustVinz29/oc-install-ide-cours.git: not authorized)
The text was updated successfully, but these errors were encountered: