fix: git-sync для detached HEAD, shop-root требует .git
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -207,8 +207,8 @@ journalctl -u shop -n 5 --no-pager
|
||||
Каталог клона — там, где лежат `package.json` и `scripts/` (часто `/opt/shop` или `/opt/shop/shop10`):
|
||||
|
||||
```bash
|
||||
cd /opt/shop/shop10 # ваш путь к репозиторию
|
||||
git config --global --add safe.directory "$(pwd)"
|
||||
cd /opt/shop/shop10
|
||||
bash scripts/git-sync.sh # если detached HEAD или ошибка git pull
|
||||
bash scripts/server-update.sh
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user