# Github 저장소 관리

## Repository 생성

이클립스와 연동할 깃허브 저장소를 생성한다.

![Create Repository 버튼을 누른다](/files/hSA0K3B7YK2EKMLiqu0o)

![저장소 생성에 필요한 정보들을 입력한다](/files/hqR1l7Pj9nF7Ooh1hqde)

저장소 생성 시 입력하는 정보들은 다음과 같다

* Owner - 소유자
* Repository name - 저장소 이름. 영문으로 작성하며 저장소 주소가 된다.
* Description - 저장소 설명(선택)
* 공개 설정 - public(공개) 또는 private(비공개) 설정. 이용중인 플랜에 따라 기능 차이 발생
* Add a README file - 체크 시 저장소 메인에 표시될 파일 생성
* Add .gitignore - 체크 시 Github에서 무시할 파일 리스트가 담긴 파일 생성
* Choose a license - 체크 시 저장소의 라이선스를 설정할 수 있는 파일 생성

필요한 값들을 입력한 뒤 `Create repository` 버튼을 눌러서 저장소를 생성한다.

![test라는 이름의 저장소를 생성한 모습. README 파일 생성을 체크하였다.](/files/fv3ja5HBuvpbD42FNhF2)

## Repository 공개/비공개 전환

저장소를 공개 또는 비공개로 전환하고 싶은 경우 저장소 내부의 `Settings` 메뉴를 선택한 뒤 나오는 일반 설정(General)의 가장 마지막 부분인 Danger Zone의 <mark style="color:red;">Change visibility</mark> 버튼을 누르면 된다.

![](/files/xDJZ6tX5p8NvgsM0e5WI)

![](/files/kOCXc3O5Bse2MVH54KO0)

![](/files/Sig7z1Nd1MPR1U2Uz7DW)

공개에서 비공개로 전환하면 다음과 같은 변화가 발생할 수 있다고 안내하고 있다.

* 그동안 받은 모든 star와 watch
* 그동안 만들어둔 모든 page(Github pages를 통한 호스팅 내역)

## Repository 삭제

저장소를 삭제하고 싶다면 저장소 내부의 `Settings` 메뉴를 선택한 뒤 나오는 일반 설정(General)의 가장 마지막 부분인 Danger Zone의 <mark style="color:red;">Delete this repository</mark> 메뉴를 확인해야 한다.

![](/files/xDJZ6tX5p8NvgsM0e5WI)

![](/files/sToOhSgfivJmV29HoMSE)

삭제 버튼을 누르면 확인 차원에서 저장소 이름을 한번 더 입력하게 되어 있으며, 입력하면 삭제 버튼이 활성화된다.

![](/files/0gZUXi1oTAd9VqzN7TBm)

<mark style="color:red;">I understand the consequences, delete this repository</mark> 버튼을 누르면 저장소가 삭제되고 메인 페이지가 나온다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sysout.co.kr/etc/github/repository.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
