728x90
반응형

Git 설치

https://git-scm.com/downloads

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp

git-scm.com

위 사이트에서 본인 환경에 맞는 설치 파일 다운로드 후 설치 진행

 

 

--사용자 등록
git config --global user.name "사용자명"
git config --global user.email "이메일주소"
--사용자 등록이 잘 됐는지 확인
git config --list

 

 

 

cmd창에서 git 입력 후 아래와 같은 결과가 출력되면 설치도 잘 되고 환경변수도 잘 설정 됐음

 

 

 

 


GitHub Desktop 설치

https://desktop.github.com/

 

GitHub Desktop

Simple collaboration from your desktop

desktop.github.com

위 사이트에서 본인 환경에 맞는 설치 파일 다운로드 후 설치 진행

 

 

 

🔸Create a New Repository 

 

+ Create a New Repository on your hard drive... 선택

 

 

 

  • Name: 생성할 레퍼지토리 이름
  • Description: 생성할 레퍼지토리 설명
  • Local Path: 레퍼지토리를 생성할 위치
  • README: 디렉터리나 압축 파일에 포함된 기타 파일에 대한 정보를 포함하여 함께 배포되는 파일
  • Git Ignore: 관리할 필요 없는 파일을 기술하는 파일
  • License: None(소스코드를 가져다 쓸 때 저작관 관련하여 어떤 라이선스로 이용가능한지를 명확히 기술할 파일 생성)
    • 우선 레퍼지토리 생성할 때는 Name, Description, Local Path만 입력(나머지는 나중에 파일로 추가 가능)

 

 

🔸Clone a repository

728x90
반응형

+ Recent posts