ETC

Bitbucket에 새로 repository 만들기

타다키치 2018. 1. 6. 15:35

-비트버켓에서 리포지토리를 새로 만듦(프로젝트 폴더 이름의 소문자명이 비트버켓에 만들 리포지토리 소문자 이름과 같게)


-프로젝트의 루트 디렉토리에서 git bash를 연다(http://tadakichi.tistory.com/177 참고)


-git init


-.gitignore 파일을 만든다(https://github.com/github/gitignore 참고)


-git add .


-git commit -m 'xxx'


-git remote add origin git@bitbucket.org:xxx/xxx.git (비트버켓에서 리포지토리를 처음 만들면 나오는 주소)


-git push -u origin master