Mac 환경의 로컬 디렉토리를 Git Repasitory에 커밋하는 과정을 간략하게 기록해두려한다.
$ git config --global user.name "tkjung92"
$ git config --global user.email "taekyeong.jung@gmail.com"
$ cd {로컬 디렉토리}
(저장소가 정상적으로 생성되었다면 로컬 디렉토리에 .git 디렉토리가 생성되었을 것이다.)
$ git init
$ git add {파일 또는 디렉토리}
$ git commit -m "{커밋 메시지}"
$ git remote add origin "https://github.com/{username}/{repasitoryname}.git"
$ git push -u origin master