Skip to content

Commit 4e04a5c

Browse files
committed
doc fix
1 parent fab9e84 commit 4e04a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/hub/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ npx @huggingface/hub upload datasets/coyotte508/test-dataset .
103103
# Same thing
104104
npx @huggingface/hub upload --repo-type dataset coyotte508/test-dataset .
105105
# Upload new data with 0 history in a separate branch
106-
npx @huggingface/hub create-branch coyotte508/test-model release --empty
106+
npx @huggingface/hub branch create coyotte508/test-model release --empty
107107
npx @huggingface/hub upload coyotte508/test-model . --revision release
108108

109109
npx @huggingface/hub --help
@@ -115,7 +115,7 @@ You can also instal globally with `npm install -g @huggingface/hub`. Then you ca
115115
```console
116116
hfjs upload coyotte508/test-model .
117117

118-
hfjs create-branch --repo-type dataset coyotte508/test-dataset release --empty
118+
hfjs branch create --repo-type dataset coyotte508/test-dataset release --empty
119119
hfjs upload --repo-type dataset coyotte508/test-dataset . --revision release
120120

121121
hfjs --help

0 commit comments

Comments
 (0)