git config --global user.name "YourName"
git config --global user.email "you@example.com"
git init
git add .
git commit -m "view complete"
git remote add origin https://github.com/Sxias/repository
git remote -v
git push origin master
로그 확인
git log
변경사항 확인
git status
Git Push
1. 변경사항 확인
git status
2. 현재 파일의 snapshot (clone) 저장
git add .
3. 커밋 (수정사항) 반영
git commit -m "commitment"
4. Push
git push origin master
5. 내역(로그) 확인
git log

Git Clone
- Repository 복사
git clone repository url(.git)

Git Pull
- Repository 현재 버전 다운로드 (형상 일치)
git pull origin master
Share article