Преглед изворни кода

删除本地git cache的脚本(用于解决每次更新代码导致config/database.php被覆盖问题)

zhangjiangbin пре 8 година
родитељ
комит
07a256095a
3 измењених фајлова са 9 додато и 0 уклоњено
  1. 7 0
      fix_git.sh
  2. 1 0
      server/deploy_ssr.sh
  3. 1 0
      update.sh

+ 7 - 0
fix_git.sh

@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# Clear local git cache
+# Author:SSRPanel
+
+git rm -r --cached .
+git add .
+git commit -m 'update .gitignore'

+ 1 - 0
server/deploy_ssr.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 # Require Root Permission
 # SSR node deploy script
 # Author: Hao-Luo (https://github.com/Hao-Luo/Others/tree/master/apps/ssr)

+ 1 - 0
update.sh

@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
 git fetch --all
 git reset --hard origin/master
 git pull