반응형
Git Home 에서 Repositoreis 'New' 버튼선택
remote_git 생성
• README File & .gitignore (python) 선택 > Create repository
참고 - README File
• 프로젝트에 대한 설명, 사용방법, 라이센스, 설치방법 등에 대한내용을 기술하는 파일
• 나, 직장동료, 프로그램 사용자를 위해 존재 (작성 습관화 필요)
Local Repository 를생성하지않은상태에서
Git Clone 명령을사용하여 Remote Repository를 Local 에복제할수있음
Git Clone
앞서폴더를만들고
+ Git Init 으로해당폴더를초기화하고 + Remote Repository 를등록하고
+ Remote Repository 의내용을 Pull 하는모든과정을 Git Clone 으로할수있음
Branch
git branch
Branch 조회 (Local + Remote) 실습
Branch 생성
Branch 이동
Branch 생성 + 이동
GitHub 에서 Branch 확인
Local Repository 에 생성된 Branch 는 Remote Repository (GitHub) 에서 보이지 않음
GitHub Branch 생성
branch01 생성 확인
Branch 삭제 (Local Repository)
Branch 삭제 (Remote Repository)
'관련 이것저것 > Git' 카테고리의 다른 글
Git[3] Respositroy 생성 및 운영 (0) | 2022.05.01 |
---|---|
Git [2] GitHub 가입 및 연결 (0) | 2022.05.01 |
Git [1] 기초 및 설치 (1) | 2022.05.01 |