huggingface_hub
ce2789c6 - Raise issue if trying to upload `.git/` folder + ignore `.git/` folder in `upload_folder` (#1408)

Commit
2 years ago
Raise issue if trying to upload `.git/` folder + ignore `.git/` folder in `upload_folder` (#1408) * More constrained * error message * ignore .git folder * Add tests * add docstring * docs * Update docs/source/guides/upload.mdx Co-authored-by: lewtun <lewis.c.tunstall@gmail.com> * Update src/huggingface_hub/hf_api.py --------- Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
Author
Parents
Loading