2014. 1. 21. 22:47
mkdir test_dir
git init
git remote add origin https://bitbucket에 있는 git 경로
git fetch && git checkout master
<바꾼것이 뭔지 확인하기>
git diff
<바뀐 파일 확인>
git status
<바뀐파일을 staged에 올리기>
git add *
<commit 하기>
git commit -m "변경내용 적어두기"
<원격 저장소에 올리기>
git push origin
여기서 origin은 remote명이다.
'IT > GIT' 카테고리의 다른 글
맥에서 Bitbucket에 Git Repository만들고 소스 올리기 (0) | 2013.08.09 |
---|---|
How to install Git on Max OS(맥에서 git 설치 하기) (0) | 2013.06.20 |