Skip to content
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

How get the access of modifying past commit info for huggingface repos? #2187

Open
monet-joe opened this issue Mar 31, 2024 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@monet-joe
Copy link

Feature request

I tried to amend past commit info such as GIT_COMMITTER_NAME , AIT_AUTHOR_NAME, etc., but failed to run git push -f to update them onto the cloud, please see the pic in Motivation part:

Motivation

Snipaste_2024-03-31_20-02-06

Your contribution

It seems that we have no access to unlock the protected branch of the hf repos, actually the settings of hf repos cannot let us edit any branch or do other branch operations. I wonder if we are able to achive batch modification of past commit info just like GitHub

@monet-joe monet-joe added the enhancement New feature or request label Mar 31, 2024
@severo
Copy link
Contributor

severo commented Apr 2, 2024

cc @Wauplin

@mariosasko
Copy link
Contributor

This issue is more related to huggingface_hub than the datasets lib, so I'm transferring it there.

@mariosasko mariosasko transferred this issue from huggingface/datasets Apr 2, 2024
@Wauplin
Copy link
Contributor

Wauplin commented Apr 2, 2024

Hi @monet-joe, it looks like the error is related to an LFS upload rather than the git commit amend. This can be the case if git LFS is not setup correctly for the local repo.

cc @Pierrci just in case about updating existing commit metadata

@monet-joe
Copy link
Author

Hi @monet-joe, it looks like the error is related to an LFS upload rather than the git commit amend. This can be the case if git LFS is not setup correctly for the local repo.

cc @Pierrci just in case about updating existing commit metadata

thx 4 ur answer, it seems that u r right, cuz I tried another hf repo without LF, it succeeded!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants