-
Notifications
You must be signed in to change notification settings - Fork 5k
Allow repository admin to manually trigger Git GC #5720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
i doesnt have access to a CLI because i on mobile, app such as https://play.google.com/store/apps/details?id=com.aor.pocketgit dont provide a way to execute |
Maybe I wasn't clear, you would have to
I can turn this ticket into a feature request to add GC option in repo settings, if that's what you want? |
So just to delete history i need to be an admin for example if i have an account on try.gogs.io i must have an access to the server username and password and login via SSH to run git gc? Seems git gc only work for site owner and not for ordinary user, for ordinary user need to contact admin just to run git gc?
Yes obviously, because there is no way to run git gc for ordinary user |
|
i try to rewrite history to delete sensitive data with git filter-branch and pushed to server
To Reproduce
when i try to go https://example.com/user/repo/commits/master it do not exist but if i know the sha1 hash visiting https://example.com/user/repo/commit/SHA1 it still exist
Expected behavior
it should not exist, as it can cause security issue
Screenshots
Additional context
Can you reproduce the bug at https://try.gogs.io:
Log gist (usually found in
log/gogs.log
):The text was updated successfully, but these errors were encountered: