1. IM Prep - Git workflow

2020. 12. 3. 00:03·BootCamp_Codestates/IM Tech Blog

git flow

 

git clone 해 오면 자동으로 branch 이름은 master 가 됨.

git remote -v: remote 등록된 주소가 나옴.

remote repository 등록:

  • git remote add + pair(이름) + githubUrl of pair
  • git remote add + upstream(이름) + githubUrl of codestates

git pull origin master(branch 이름)

git pull pair master

git pull upstream master

 

merge : 하나로 합치기.

 

CLI, vi editor

esc => :q => 저장 안하고 탈출

esc => :wq => 저장하고 탈출

 

Git 충돌 해결

: 같은 레파지토리를 받아올 때 발생할 수 있는 충돌. 충돌 후 원하는 코드를 선택하면 된다.

 

Git Branching

$git checkout <브랜치 이름> : 작업공간 옮기기.

$git checkout -b <브랜치 이름> : 브랜치 생성 및 해당 브랜치로 작업공간 이동.

$git checkout <원본> then $git checkout -b <브랜치 이름>: 원본에 새 브랜치 만들고 이동하기.

 

Git workflow

 

'BootCamp_Codestates > IM Tech Blog' 카테고리의 다른 글

3-1. Inheritance Patterns - Subclassing, Prototype Chain  (0) 2020.12.09
3. Inheritance Patterns - Object Oriented Programming  (0) 2020.12.09
2-1. Data Structure - Linked-list, HashTable  (0) 2020.12.03
2. Data Structure - Stack, Queue  (1) 2020.12.03
1-1. IM Prep - modern JavaScript  (0) 2020.12.03
'BootCamp_Codestates/IM Tech Blog' 카테고리의 다른 글
  • 3. Inheritance Patterns - Object Oriented Programming
  • 2-1. Data Structure - Linked-list, HashTable
  • 2. Data Structure - Stack, Queue
  • 1-1. IM Prep - modern JavaScript
JTB
JTB
웹/앱 개발 정보를 공유하고 있습니다.
  • JTB
    JTechBlog
    JTB
  • 전체
    오늘
    어제
    • All About Programming;)
      • Other than Tech
        • 잡생각
      • Computer Science
        • Terminology and Concepts
        • Network
        • Operating System
        • Database
        • Data Structure
        • Web Development
      • Frontend
        • Javascript Essentials
        • Perfomance Optimization
        • JS Patterns
        • React
        • Next.js
        • Flutter
        • Testing
      • Backend
        • Node.js
      • DevOps
        • Docker & Kubernetes
      • Coding Test
        • LeetCode
        • Programmers
      • Tech Books & Lectures
        • Javascript_Modern JS Deep d..
        • Network_IT 엔지니어를 위한 네트워크 입문
      • Projects
        • PolyLingo_2025
        • Build Your Body_2024
        • JStargram_2021
        • Covid19 Tracker_2021
        • JPortfolio_2021
      • BootCamp_Codestates
        • TIL
        • TILookCloser
        • Pre Tech Blog
        • IM Tech Blog
        • Daily Issues and DeBugging
        • First Project
        • Final Project
        • Sprint Review
        • Good to Know
        • Socrative Review
        • HTML &amp; CSS
  • 블로그 메뉴

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

    • 글쓰기
    • 관리
  • 공지사항

  • 인기 글

  • 태그

    자바스크립트 딥다이브
    Network
    커리어
    딥다이브
    TCP/IP
    Time complexity and Space complexity
    CPU scheduling algorithm
    How memory manage data
    structure of os
    need a database
    프론트엔드 성능 최적화 가이드
    자바스크립트
    Javascript Essentials
    testing
    Data Structure
    polylingo
    js pattern
    VoiceJournal
    mobile app
    Threads and Multithreading
    Operating System
    이벤트
    Binary Tree BFS
    Shared resources
    indie hacker
    DOM
    leetcode
    스코프
    모던 자바스크립트 Deep Dive
    database
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
JTB
1. IM Prep - Git workflow
상단으로

티스토리툴바