Update init.sh
This commit is contained in:
parent
b3fdff8ee3
commit
bd0b1d07e4
3
init.sh
3
init.sh
@ -1,8 +1,9 @@
|
|||||||
BASE_PATH=$(cd "$(dirname "$0")"; pwd -P)
|
BASE_PATH=$(cd "$(dirname "$0")"; pwd -P)
|
||||||
|
|
||||||
|
cd $BASE_PATH
|
||||||
|
|
||||||
# Ignore config file from worktree
|
# Ignore config file from worktree
|
||||||
git update-index --skip-worktree wp-config.php
|
git update-index --skip-worktree wp-config.php
|
||||||
|
|
||||||
# Update all submodules
|
# Update all submodules
|
||||||
cd $BASE_PATH
|
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user