# 기존 테마의 git 원격 URL을 변경하는 방법?

**URL:** https://meta.discourse.org/t/how-to-change-git-remote-url-of-an-existing-theme/376306
**Category:** Support
**Created:** [7월 29, 2025, 12:20오전 UTC](https://meta.discourse.org/t/how-to-change-git-remote-url-of-an-existing-theme/376306 "2025-07-29T00:20:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [7월 29, 2025, 12:20오전 UTC](https://meta.discourse.org/t/how-to-change-git-remote-url-of-an-existing-theme/376306/1 "2025-07-29T00:20:54Z")

</div>

새 테마를 설치하지 않고 Git 원격 URL을 변경하는 방법이 있을까요? 이 테마는 일부 사용자가 이미 활성화해 둔 보조 테마입니다. 만약 새 테마를 설치하고 기존 테마를 삭제하면, 해당 사용자가 갑자기 라이트 테마로 되돌아갈 수 있습니다.

대시보드를 통하지 않고 해당 레코드 하나에 대해 데이터베이스 작업을 수행하여 GitLab에서 GitHub로 변경하는 것이 안전할까요? 관련이 있다면, 이는 비공개 Git 저장소입니다. 동일한 커밋(그리고 새로운 커밋)을 가진 같은 저장소의 더 새로운 버전입니다.

**참고:** 대시보드의 해당 페이지에 있는 링크가 깨져 있습니다. `https://forum.example.com/admin/customize/themes/git@gitlab.com:org/theme_name/tree/main`과 같은 URL로 연결됩니다.

 ![theme](https://global.discourse-cdn.com/meta/original/4X/e/6/d/e6d0ffebd03ec8cf6e1c71eab953ad2a803b086c.png)

---

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [7월 29, 2025, 7:36오후 UTC](https://meta.discourse.org/t/how-to-change-git-remote-url-of-an-existing-theme/376306/2 "2025-07-29T19:36:49Z")

</div>

Data Explorers를 사용하여 데이터베이스에서 원격 URL을 찾았습니다:

```sql
SELECT
    remote_url,
    private_key
FROM remote_themes
WHERE id = 7

```

링크를 GitLab에서 GitHub로 변경하기 위해 이 두 필드를 수정하는 것이 안전한지 아는 분이 계신가요?

동일한 저장소이지만, GitHub 버전은 업데이트되고 있고 GitLab 버전은 아카이브 처리되어 있습니다.

---

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [8월 1, 2025, 7:13오후 UTC](https://meta.discourse.org/t/how-to-change-git-remote-url-of-an-existing-theme/376306/3 "2025-08-01T19:13:18Z")

</div>

이제 더 이상 이 작업을 할 필요가 없게 되었습니다. 여러 테마를 하나의 테마로 통합하고, 사용자가 색상 선택기를 사용하도록 하면 된다는 사실을 깨달았기 때문입니다. 저는 모든 기존 테마를 비활성화하고, 새로운 테마 하나만 활성화했습니다.
