More details about auth / credentials for pushing, and for pulling private repos #778
Labels
No labels
Codeberg Pages
Documentation Usability
Forgejo
Good First Issue! 👋
Kind: Bug
Kind: Documentation
Kind: Enhancement
Kind: Feature
Kind: Question
Kind: Security
Licensing
Part: Generator
Priority: High
Priority: Low
Priority: Medium
Reviewed: Confirmed
Reviewed: Duplicate
Reviewed: Invalid
Reviewed: Wontfix
Status: Blocked
Status: Help wanted
Status: In progress
Status: Needs feedback
Status: Ready for Review
Status: Review
Status: Stale
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Codeberg/Documentation#778
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The available information doesn't seem explicit enough to me, as it pertains to the following question : How can I set things up so that I'm not asked to authenticate when I pull from a private repository or when I push ? (As is the case when using github or gitlab.)
I'm currently seeing a behavior where push actions often fail and then either ask me to reauthorise through the browser, or it works the second time I try. The issue with the documentation is that it gives me contradictory answers.
The install git page, section Windows / Install / 3, states that if you use Git/Windows Credentials Managers, you will need to auth once and then be done with it :
However, the commit and push tutorial states that if you use HTTPS rather than SSH you will still need to enter your credentials each time :
@Gouvernathor wrote in #778 (comment):
This assumes you didn't setup a credential manager, it doesn't introduce credential managers here to avoid introducing too much at once..
Now, I'm not sure if that's a issue at all and I'm not sure how this relates to your issue that your credential manager is not working?
Well, I don't know whether it relates or not because it's not clear to me what the nominal behavior and workflow is.
So, if it said
it would be correct ?
If so, I would advise adding this sort of precision.
Still if so, then the git credential manager is at fault on my end, on two computers running Windows 11, exhibiting the exact same behavior, and on which github worked without issue for several years.
Issue 2541 describes the issue with the credentials itself, but I do think the documentation would deserve even a few words of disambiguation.
@Gouvernathor wrote in #778 (comment):
Yes, that would be okay to add.