Git protocol not documented #731
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 project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/Documentation#731
Loading…
Add table
Add a link
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?
On IRC a person was trying to clone a repository using the git protocol. I don't think this is supported by Codeberg, so I went to the documentation to try to confirm that, but I could not find it. I would expect it mentioned for example here: https://docs.codeberg.org/git/clone-commit-via-cli/
It has been deprecated even by Github in 2022 and luckily Forgejo does not provide this unsecure
git://protocol neither. I would also expect it to be mentioned in the linked docs if it were there. Does this solve your question?Thanks for your reply. I agree that there are all sorts of valid reasons to not use the git protocol in Codeberg, and I'm not advocating that. I'm looking for an authoritative place in the docs I can point to explaining that
git clone git://codeberg.org/Codeberg/Documentation.gitwill not work. Preferably without jumping through hoops explaining that Codeberg runs a (version of) Forgejo and this person says Forgejo "doesn't provide this unsecuregit://protocol".The docs seem suitable to me. The Clone section describes the two supported protocols. It does not describe unsupported protocols (git://, file://, others?).
A sentence could be added to say that there are 2 supported protocols if this were a common problem. Why did the IRC user think git:// would work?
@danselmi wrote in #731 (comment):
I can't say. But if you're not an expert maybe it's not so unreasonable to think that git uses the git protocol? I don't know.