300x250
( 설정 한 경우 패스 ) Acccount 설정
git config --global user.email "you@email.com"
git config --global user.name"Your Name"
저장소 초기화
git init
스테이징
git add.
커밋
git commit -m "[메시지]"
원격 저장소 지정
git remote add origin git@gitlab.com:eddykim/camerax.git
Update remote refs along with associated objects.
git push origin master
init 할 때, remote branch
Create Readme.md -> Pull -> Push
반응형
'GIt > 작업 별 간단 정리' 카테고리의 다른 글
git ! [rejected] main -> main (non-fast-forward) (0) | 2021.12.11 |
---|---|
원격 저장소 브랜치 업데이트 git remote update (0) | 2021.12.11 |
Git 저장소에 사용할 Key 생성 (0) | 2021.03.04 |