Git 초기 셋팅

Git 2015. 3. 5. 15:12

Git 설치 후 다음 단계를 진행하여 전역으로 Git 접속 정보를 등록해 놓는다.


Git 설치는 아래 주소를 참조하세요

http://blog.duboku.com/com/install-git-ubuntu/



1. 

git config --global user.name "John Doe"

git config --global user.email johndoe@example.com


2.

git config --global credential.helper store

git clone http://example.com/repo.git

Username: <type your username>

Password: <type your password>


# cdedential uset 방법

git config --unset --global credential.helper


3. new branch

// 로컬 생성 

git checkout -b <branch>

'Git' 카테고리의 다른 글

git ignore 파일 만들기  (1) 2015.12.28
브랜치 생성, 삭제, 변경  (0) 2015.08.26