티스토리 뷰

Git

GIT3 - CLI Backup

summercat 2022. 1. 31. 20:14

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
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함