GIT3 - CLI Backup

2022. 1. 31. 20:14·Git

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
'Git' 카테고리의 다른 글
  • GIT4 - Reset & Revert
  • GIT3 - CLI branch & conflict
  • CLI (Command Line Interface)
  • Git2 - CLI 버전관리
summercat
summercat
세젤귀 또킨이 집사 블로그
  • summercat
    여름고양이
    summercat
  • 전체
    오늘
    어제
    • 분류 전체보기 (28)
      • Swift-iOS (4)
        • iOS (1)
        • Swift (2)
      • 네트워크 (1)
      • data structure (4)
      • Git (6)
      • Java (13)
        • project lion JSB the origin (10)
        • ByteDegree (3)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    HTTP Methods
    ssh-agent
    유니버셜링크
    TCP
    JSON
    어플
    multipart/form-data
    야곰아카데미
    부트캠프
    OSI
    네트워크
    커리어스타터캠프
    값 타입
    deeplink
    URLComponents
    HTTP message
    URLQueryItem
    Cow
    앱개발
    ssh-configure
    딥링크
    universal link
    copy on write
    메모리 구조
    IOS
    SWIFT
    ssh-add
    Endpoint
    Github
    참조 타입
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
summercat
GIT3 - CLI Backup
상단으로

티스토리툴바