feat: workspace-bootstrap — init SSH/git/Cursor для Mac и Windows

Единый workspace.local.env для адресов и паролей, init-machine,
Set-GitRemotes, push-safe и check-no-secrets для политики kalinamall/github.
This commit is contained in:
Andrey Lutsenko
2026-06-14 19:34:52 +10:00
parent 8e2a4ac1b9
commit 834595df6b
18 changed files with 813 additions and 8 deletions
+7 -3
View File
@@ -1,4 +1,4 @@
# Работа с Git
# Работа с Git
Три **SSH**-remote (без HTTPS и без `origin`):
@@ -25,12 +25,16 @@ git clone ssh://git@git.kalinamall.lan:2222/PapaTramp/reverse-proxy.git
cd reverse-proxy
```
На Windows после [Setup-SshAccess](https://git.kalinamall.ru/PapaTramp/Answer.and.other.shit) (или локально):
На Windows:
```powershell
Set-GitRemotes.ps1 -Repo reverse-proxy
cd scripts\workspace-bootstrap
.\init-machine.ps1
.\scripts\Set-GitRemotes.ps1 -Repo reverse-proxy
```
Полная настройка новой машины: [scripts/workspace-bootstrap/README.md](../scripts/workspace-bootstrap/README.md).
## Обновление локальной копии
```bash