Skip to content

Implement additional CLI branch functionality#1672

Closed
martinbrose wants to merge 4 commits intohuggingface:mainfrom
martinbrose:1655-CLI-branch-management
Closed

Implement additional CLI branch functionality#1672
martinbrose wants to merge 4 commits intohuggingface:mainfrom
martinbrose:1655-CLI-branch-management

Conversation

@martinbrose
Copy link
Contributor

References #1655

Key features

  • Adds huggingface-cli branch create: Create a branch on a repo on huggingface.co
  • Adds huggingface-cli branch list: List branches on a repo on huggingface.co
  • Adds huggingface-cli branch delete: Delete a branch on a repo on huggingface.co

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@Wauplin
Copy link
Contributor

Wauplin commented Sep 19, 2023

I quickly reviewed and tried these commands. Thanks for implementing them! What I suggest to do is to finish #1671 and agree on the direction we want to take and then go back to this PR specifically. For what I've seen, it's already pretty good. I'd update a few args and simplify the output but apart from that, it should be straightforward.

@Wauplin
Copy link
Contributor

Wauplin commented Jul 25, 2025

Unfortunately closing the PR without merging as it became outdated. With #3229 we are renaming the CLI to hf instead of huggingface-cli and making changes to its structure. Therefore I believe it's simpler to start over from scratch. Sorry it did not make it to the finish line!

@Wauplin Wauplin closed this Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants