GIt/작업 별 간단 정리

Git 원격 저장소에 프로젝트 업로드

찬스님 2021. 4. 16. 18:32
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

반응형