1. 토큰 생성 ( settings >> developer settings >> personal access tokens)
2. 운영서버 형상관리 위한 셋팅
echo "# key_board_pro_warehouse" >> README.md
git init : 현재 디렉토리를 새로운 git 리포지토리로 초기화
git add README.md : 스테이징
git commit -m "first commit" : 스테이지 영역에 변경사항 기록
git branch -M main : 브랜치명
git remote add origin https://github.com/sy0218/key_board_pro_warehouse.git
git push -u origin main : 푸쉬 (원격 저장소 이름, 브랜치명)
3. 변경 사항 푸쉬
git add . : 현재 디렉토리 모든 파일 스테이징에 올림
git commit -m 20240718 : 스테이징 커밋
git push origin main : 원격 저장소에 푸쉬
4. git clone
cd / >>> 루트 디렉토리 이동
git clone https://github.com/sy0218/key_board_pro_warehouse.git >>> git clone을 통해 레포지토리 가져오기
mv key_board_pro_warehouse data >>> 디렉토리명 변경