-
Git/git 기본Configuration Management/git 2022. 9. 1. 14:07
- 환경설정
$ git config --global user.name "Deokjoon Kang" $ git config --global user.email "dchkang83@naver.com" $ git config --list
- 프로젝트 생성$ git init $ git add . // .은 전부다 $ git status $ git commit -m "first commit"
- 원격 저장소 설정$ git $ git remote add origin git@github.com:dchkang83/project-board.git // 이 레파지토리로 소스코드를 연결 $ git remote -v $ git push -u origin master // master breanch로 소스를 보낸다.
- 수정파일 추가$ git add . $ git status $ git commit -m "second commit" // -m > message $ git push -u orgin master
참조)
https://hackmd.io/@oW_dDxdsRoSpl0M64Tfg2g/ByfwpNJ-K
'Configuration Management > git' 카테고리의 다른 글
Git/gitignore 생성 - IOS, Swift, CocoaPods (0) 2023.02.16 Git/Sourcetree - 응용프로그램 예기치 않게 종료 (0) 2022.10.14 Git/Sourcetree - Permission Denied (0) 2022.10.14 Git/업무중 간단한 명령어 모음 (0) 2022.10.07 Git/SSH keys 생성 및 등록 (0) 2022.10.04