Giter Club home page Giter Club logo

git_practice's Introduction

git_practice

  • git branch 용어 정리

    1. Master Branch

    저장소를 처음으로 생성하면 git은 자동으로 master branch를 생성, 따로 branch를 생성하지 않으면 모든 작업들이 master branch에서 이루어진다.

    2. 통합 Branch

    언제든 배포할 수 있는 버전을 만드는 Branch, 보통 master branch가 이 역할을 한다.

    3. Topic Branch

    기능 추가, 버그 수정과 같은 단위 작업을 위한 branch, 통합 브랜치로부터 파생되며, 완료되면 통합 branch로 병합된다.

    4. Checkout

    Git에서 작업할 branch를 선택해야 한다. 맨 처음에는 master branch로 지정되어 있는데, 다른 branch로 넘어가는 행위를 checkout이라고 한다.

    5. Head

    현재 사용중인 branch의 선두 부분

    6. Merge

    여러 개의 branch를 하나로 모으는 것.

    7. Rebase

    Merge와 같은 개념이지만 이력이 남지 않는다.

  • 명령어

    1. 새로운 Branch 생성

    git branch <Branch명>

    2. Branch 이동

    git checkout <Branch명>

    3. Branch 생성 후 바로 이동

    git checkout -b <Branch명>

    3. Branch 병합

    git merge <Branch명>
    현재 Branch를 기준으로 입력한 Branch를 병합시킨다.

    4. Branch 삭제

    git branch -D <Branch명>

  • 참고자료 https://inpa.tistory.com/453

git_practice's People

Contributors

yoojs1205 avatar

Watchers

 avatar

git_practice's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.