From d9fa54eb2e0d1cefbd1946da978a46d7ab28e6f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chyeonggkim=E2=80=9D?= <“hyeonggkim@smilegate.com”> Date: Mon, 13 Apr 2026 13:42:23 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20README.md=EC=9D=98=20sub?= =?UTF-8?q?module=20=EC=84=A4=EC=B9=98=20=EB=B0=8F=20=EC=97=85=EB=8D=B0?= =?UTF-8?q?=EC=9D=B4=ED=8A=B8=20=EC=A7=80=EC=B9=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index e44be45..9dae96c 100644 --- a/README.md +++ b/README.md @@ -46,15 +46,14 @@ gameservice-fe-agent/ 프로젝트 루트에서 아래 명령을 실행합니다. ```bash -# 원격 저장소 URL은 팀 내부 Git 주소로 교체하세요 +# 순서대로 입력 + +#1 git submodule add https://git.sginfra.net/sgp-web-d/gameservice-fe-agent.git .claude/common +#2 git submodule update --init --recursive -``` - -또는 이 저장소에 포함된 헬퍼 스크립트를 사용해도 됩니다. - -```bash -curl -fsSL | bash +#3 +bash .claude/common/scripts/install.sh https://git.sginfra.net/sgp-web-d/gameservice-fe-agent.git ``` 설치 후 프로젝트 구조는 다음과 같이 됩니다. @@ -90,23 +89,16 @@ your-project/ ### 3. 공통 지침 업데이트 받기 ```bash -# 최신 main 브랜치의 공통 지침으로 업데이트 +# 최신 master 브랜치의 공통 지침으로 업데이트 git submodule update --remote .claude/common # 또는 헬퍼 스크립트 bash .claude/common/scripts/update.sh ``` -업데이트 이후에는 submodule 포인터가 변경되므로 반드시 커밋합니다. - -```bash -git add .claude/common -git commit -m "chore: update gameservice-fe-agent submodule" -``` - --- -## 📝 프로젝트 지침 양식 사용 +## 📝 프로젝트 지침 양식 사용 (수동 파일 복사 or /script/init-project.sh 사용) `.claude/project/` 에 들어갈 지침은 공통 저장소의 `templates/project/` 에 양식으로 관리됩니다. 팀원은 `install.sh` 를 사용하면 submodule 설치와 동시에 이 양식을 자동으로 복사받아 작성을