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:
+7
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user