글
git 파일 다운로드 - http://git-scm.com/
SSH 설정
http://nararacds.tistory.com/45
SSH 설정 시,
ssh-agent -s
ssh-add ./.ssh/id_rsa 부분에서
Could not open a connection to your authentication agent의 오류가 뜰 경우,
eval $(ssh-agent) 이렇게하면 된다.
깃헙 기초 가이드
http://rogerdudler.github.io/git-guide/index.ko.html
만약 기존에 있던 원격 저장소를 복제한 것이 아니라면,
git remote add origin <원격 서버 주소> ( git@github.com:myname/Test.git )
와 같이 하게 되는 데,
잘못 입력하게 되는 경우가 있다.
이때, git push origin master 를 하게 될 경우 Remote가 이미 존재한다는 에러가 뜨게 된다.
따라서 기존 remote 설정을 삭제해야한다.
git remote rm origin 을 하고 다시 git remote add origin <원격 서버 주소>를 제대로 추가해주면 끝.
'G > Git' 카테고리의 다른 글
gitignore 적용이 안될 시 (0) | 2015.03.26 |
---|---|
git 명령어 모음 (0) | 2014.10.25 |