Use nas hostname for Git remote records

This commit is contained in:
OpenAI Codex
2026-03-31 13:41:28 +08:00
parent c508039760
commit 1245d7d2f0
2 changed files with 6 additions and 6 deletions

View File

@@ -7,16 +7,16 @@ Repository: `/root/sourceserver/pbf`
The repository remote was switched to the NAS Git server:
- host: `192.168.1.230`
- host: `nas`
- port: `2222`
- remote: `ssh://git@192.168.1.230:2222/tei/pbf.git`
- remote: `ssh://git@nas:2222/tei/pbf.git`
## Result
`origin` now points to:
- fetch: `ssh://git@192.168.1.230:2222/tei/pbf.git`
- push: `ssh://git@192.168.1.230:2222/tei/pbf.git`
- fetch: `ssh://git@nas:2222/tei/pbf.git`
- push: `ssh://git@nas:2222/tei/pbf.git`
Remote visibility check completed successfully against:

View File

@@ -3,7 +3,7 @@
Date: 2026-03-31
Project Root: `/root/sourceserver/pbf`
Primary Branch: `main`
Current Git Remote: `ssh://git@192.168.1.230:2222/tei/pbf.git`
Current Git Remote: `ssh://git@nas:2222/tei/pbf.git`
## 1. Project Positioning
@@ -140,7 +140,7 @@ The repository is in a "usable engineering system, still converging toward final
Observed on 2026-03-31:
- branch: `main`
- remote: `origin -> ssh://git@192.168.1.230:2222/tei/pbf.git`
- remote: `origin -> ssh://git@nas:2222/tei/pbf.git`
- local branch relation after remote sync: `main` aligned with `origin/main` at `94c8f45`
- working tree is not clean