본문 바로가기

카테고리 없음

Git 초기 설정

https://git-scm.com/book/ko/v2/%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0-Git-%EC%B5%9C%EC%B4%88-%EC%84%A4%EC%A0%95

 

Git - Git 최초 설정

Vim과 Emacs, Notepad++은 꽤 인기 있는 편집기로 개발자들이 즐겨 사용한다. Mac이나 Linux 같은 Unix 시스템, Windows 시스템에서 사용 가능하다. 여기서 소개하는 편집기들이 불편해서 다른 편집기를 사

git-scm.com

 

1) 사용자 정보

 

*username과 useremail 설정

git config --global user.name "username"

config --global user.email seulgi.baek@dgu.ac.kr

 

*설정 확인

git config --list

 

2) Git 저장소 생성(git 초기화)

git init

 

3) github Repository 연결

원본 remote repository 연결 -> git remote add origin githubUrl

fork한 remote repository 연결 -> git remote add upstream githubUrl