w32zhong commited on
Commit
56e0739
1 Parent(s): 067c3f6

replace uuidgen with /proc/sys/kernel/random/uuid

Browse files
Files changed (1) hide show
  1. upload2hgf.sh +1 -1
upload2hgf.sh CHANGED
@@ -4,7 +4,7 @@ git lfs install
4
  find ckpt -type f | xargs -I{} cp {} .
5
  git lfs track *.bin
6
  git lfs track events.out.*
7
- tmp_branch=hgf-`uuidgen`
8
  git checkout -b $tmp_branch
9
  git add .
10
  git commit -am 'update model'
 
4
  find ckpt -type f | xargs -I{} cp {} .
5
  git lfs track *.bin
6
  git lfs track events.out.*
7
+ tmp_branch=hgf-$(cat /proc/sys/kernel/random/uuid)
8
  git checkout -b $tmp_branch
9
  git add .
10
  git commit -am 'update model'