Add a git tag to a repository
See original GitHub issueIs there a way in huggingface_hub
to add a git tag at a specific revision without cloning the repo locally ?
This would be useful to allow users to specify a git tag when they do push_to_hub
for a model or dataset, so that they can reload it later at that resivion.
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Git - Tagging - Git SCM
In this section, you'll learn how to list existing tags, how to create and delete tags, ... The Git source repo, for instance,...
Read more >How To Create Git Tags - devconnected
To push your newly created tags, use the “git push” command and specify the “–tags” to explicitly push tags to your remote Git...
Read more >git tag | Atlassian Git Tutorial
Git tag command is the primary driver of tag: creation, modification and deletion. Learn how you can use them to organize code and...
Read more >git tag - how to create a tag in a GitHub repository? - Intellipaat
1 Answer · 1. Click on release on your repository. image · 2. Create a new release. image · 3. Give your tag...
Read more >Github Tags - Tools QA
Yes, we can add tags directly to GitHub. To sync the same with your local repository, you need to pull the changes using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A tag endpoint has been added to the Hub (internal link) ! 🎉
So we can now implement it in
huggingface_hub
as well. Preferred solution is to have a separate method for this (e.g.create_tag(commit="...")
).if we do this, API-design-wise i don’t know whether it should be an extra param to
create_commit
, or a dedicatedcreate_tag(commit="...")
method