瀏覽代碼

Fix acquire script

Billy Barrow 10 月之前
父節點
當前提交
180529cbea
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      scripts/acquire.sh

+ 4 - 1
scripts/acquire.sh

@@ -1,4 +1,7 @@
 #!/bin/bash
 set -e
 
-git clone https://git.sr.ht/~tilo15/usm .
+git init
+git remote add origin https://git.sr.ht/~tilo15/usm || echo "Origin already exists"
+git fetch
+git reset --hard origin/master