티스토리 뷰

반응형

0. 들어가면서

사실 처음에는 깃헙을 접하면서 아무생각없이 repositories를 프로젝트인줄 알고 생성을 하고 아무꺼나 push를 해버렸다. 그러다 오픈소스를 준비하면서 레포지토리 생성 및 프로젝트 생성을 보면서 그 둘의 차이가 무엇인지에 대해 의문이 들었다. 이부분에 대해서는 같은거라는 말도 있고 최근들어 업데이트 되면서 차이가 생겼다는 말도 있다. 일단 공식문서는 아래와 같다.

 

https://docs.github.com/en/rest/reference/repos

 

Repositories - GitHub Docs

Lists repositories for the specified organization. get /orgs/{org}/repos Name Type In Description accept string header Setting to application/vnd.github.v3+json is recommended See preview notices. org string path type string query Specifies the types of re

docs.github.com

https://docs.github.com/en/rest/reference/projects

 

Projects - GitHub Docs

Lists the projects in an organization. Returns a 404 Not Found status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a 401 Unauthorized or 410 Gone status is returned. get /orgs/{org}/projects

docs.github.com

 

결론부터 이야기 하겠다. 당신이 초보자라면 Repositories하는게 맞다. Project는 협업 툴이 포함된 실제 프로젝트라고 생각을 하는것이 좋아 보인다. 고로 Repositories를 생성해서 파일을 올리자!

깊게 들어가면 끝도 없으니, 이해하기 쉽게 설명하자면, 리파지토리를 단지 코드 저장소라고 생각하자. 프로젝트를 생성해서 거기서 코드를 수정하면 안되니 Repository를 여러개 만들어 버전별로 관리하고 실험한다 정도로만 이해하면 될 것같다.

반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함