위키를 표준 AI WIKI 플랫폼 구조로 정리
- 표준 원본(_____AI_WIKI_Platform_std 38f17d7)을 new_project.py --update 방식으로 적용: CLAUDE.md, PROJECT.md, .claude/, .obsidian/app.json, tools/, assets/, raw/ 골격, wiki/00·02~07·09·99 표준 문서 - 프로젝트 고유 문서는 wiki/10_프로젝트/ 에 둠 (표준 갱신 때 덮어쓰지 않도록) - 01_구성_운영환경.md (옛 wiki/00 홈.md) - 02_작업현황.md (완료·남은 일) - wiki/01_사용자지시: 20261103 위키 정리 지시 기록 - .obsidian: webui/ comfyui/ _claude/ jjollamamanager/ 검색 제외 - .gitignore/.gitattributes에 표준 규칙 합침 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnDmXvY8ekNA8cQwBmcsUE
This commit is contained in:
44
wiki/06_저장소_동기화/01_Git_Gitea.md
Normal file
44
wiki/06_저장소_동기화/01_Git_Gitea.md
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
status: 초안
|
||||
---
|
||||
# 01. Git / Gitea 사용 방법
|
||||
|
||||
## 저장소 역할
|
||||
| 서버 | 용도 | 올리는 것 |
|
||||
|---|---|---|
|
||||
| `https://gitea.joynala.com/` | 작업 및 배포 | 프로젝트 소스 + 위키, 실행파일 릴리스, **표준 AI WIKI 플랫폼**(`diadmin/AI_Wiki_Platform`) |
|
||||
| `https://gitea2.joynala.com/` | 모듈·업무 | 모듈 저장소(`module-*`), 모듈 바이너리 릴리스 |
|
||||
|
||||
## 처음 한 번 (PC마다)
|
||||
```bash
|
||||
git config --global user.name "이름"
|
||||
git config --global user.email "메일"
|
||||
git config --global core.autocrlf input # Windows 는 true
|
||||
git config --global core.quotepath false # 한글 파일명 깨짐 방지
|
||||
git config --global credential.helper store # 또는 SSH 키 등록
|
||||
```
|
||||
|
||||
## 새 프로젝트
|
||||
```bash
|
||||
python tools/new_project.py D:\work\내프로젝트 --type 개발용 --platforms android,windows
|
||||
cd D:\work\내프로젝트
|
||||
git init && git add . && git commit -m "init: 표준 AI WIKI 플랫폼"
|
||||
git remote add origin https://gitea.joynala.com/<조직>/<프로젝트>.git
|
||||
git push -u origin main
|
||||
```
|
||||
|
||||
## 다른 PC에서 이어서 작업
|
||||
```bash
|
||||
git clone https://gitea.joynala.com/<조직>/<프로젝트>.git
|
||||
# Obsidian: 폴더를 볼트로 열기 / Claude Code: 같은 폴더에서 claude 실행
|
||||
```
|
||||
작업 끝: `git add . && git commit -m "내용" && git push` / 작업 시작: `git pull`
|
||||
|
||||
## 표준 AI WIKI 플랫폼 갱신 받기
|
||||
표준(wiki 규칙)이 바뀌면 `https://gitea.joynala.com/diadmin/AI_Wiki_Platform` 에서 표준 AI WIKI 플랫폼을 받아 `wiki/02~07, 09, 99` 와 `CLAUDE.md`, `tools/` 만 덮어쓴다.
|
||||
`PROJECT.md`, `wiki/01_사용자지시`, `wiki/08_화면`, `raw/` 는 프로젝트 고유이므로 덮어쓰지 않는다.
|
||||
→ `python tools/new_project.py <프로젝트폴더> --update`
|
||||
|
||||
## 올리지 않는 것 (.gitignore)
|
||||
`dist/`, `build/out/`, `.env`, 대용량 영상, `.obsidian/workspace*.json`
|
||||
현재 PPT·PDF·PNG 는 일반 바이너리로 저장 (`.gitattributes`). 대용량 원본(RFP PDF 등)이 많아지면 Git LFS 로 전환: `git lfs track "*.pptx" "*.pdf" "*.png"` (서버 LFS 사용 설정 확인 후)
|
||||
Reference in New Issue
Block a user