Git

ephist·2023년 12월 25일
0
post-thumbnail

Git이란?

Git은 소프트웨어 개발에서 사용되는 분산 버전 관리 시스템으로, 개발자들이 소스 코드의 변경 사항을 추적하고 협업하는 데 사용됩니다.

무작정 따라하기

  • https://git-scm.com/downloads 에서 다운로드 및 설치

  • Git으로 관라하고자 하는 directory에서 (bash) terminal 실행

  • git init: 새 Git 저장소 초기화

    Directory별로 저장소를 따로 관리할 수 있음

  • git config --global core.autocrlf true: (Windows 사용자의 경우) 개행 문자 처리 설정

  • git config --global color.ui auto: Git 명령어 출력 색상 사용:

  • git config --global user.name [이름]: User name 설정

  • git config --global user.email [이메일 주소]: email 주소 설정

  • git config --list: Git config status 확인

  • 이후 VCS 등에서 github로 연동해서 사용

Git 저장소 내려받기

  • git clone [url] 을 통해 다른 사람의 Git 저장소를 내려받을 수 있습니다.
profile
, a Learner.

0개의 댓글

관련 채용 정보