host : 인터넷에 연결된 컴퓨터 한 대
hosting : 인터넷에 연결되어 원격으로 사용할 수 있는 서버를 임대해주는 서비스
local repository
remote repository
push : local repository의 소스코드/문서/버전을 remote repository로 업로드
clone : remote repository의 내용을 다른 local repository로 복제해오는 과정
pull : remote repository의 버전을 local repository로 다운로드
git remote add 별명 주소 : remote repository에 연결
git remote : 연결된 remote repository 확인
token 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
remote repository에 push 하는 순서
1. git commit -am 'message'
2. git remote add repositoryname url
3. git push repositoryname branchname
'Git' 카테고리의 다른 글
깃헙에 SSH key 등록해서 사용할 때 주의할점 (ssh-agent) (1) | 2023.01.18 |
---|---|
GIT4 - Reset & Revert (0) | 2022.02.14 |
GIT3 - CLI branch & conflict (0) | 2022.02.07 |
CLI (Command Line Interface) (0) | 2022.01.31 |
Git2 - CLI 버전관리 (0) | 2022.01.30 |