w32zhong commited on
Commit
3919a32
1 Parent(s): 42031f1
Files changed (1) hide show
  1. upload2hgf.sh +2 -1
upload2hgf.sh CHANGED
@@ -5,7 +5,8 @@ find ckpt -type f | xargs -I{} cp {} .
5
  git lfs track events.out.*
6
  git lfs track pytorch_model.bin
7
  tmp_branch=hgf-`uuidgen`
8
- git co -b tmp_branch
9
  git add .
10
  git commit -am 'update model'
11
  git push -f hgf tmp_branch:main
 
 
5
  git lfs track events.out.*
6
  git lfs track pytorch_model.bin
7
  tmp_branch=hgf-`uuidgen`
8
+ git checkout -b tmp_branch
9
  git add .
10
  git commit -am 'update model'
11
  git push -f hgf tmp_branch:main
12
+ git checkout -