Code Monkey home page Code Monkey logo

ReadMe

서버(Server) 브랜치를 Fork하여 새로운 저장소(Main)를 만드는 방법

  1. 원본 Starter 저장소를 Fork하여 본인의 GitHub 계정에 복제합니다.

  2. Fork한 저장소를 로컬로 Clone합니다.

    git clone <Fork한 저장소 URL>
  3. 로컬에서 새로운 브랜치(Main)를 생성하고 작업을 수행합니다.

    git checkout -b main
    # 작업을 수행하세요
  4. 변경 내용을 Commit하고 Fork한 저장소(Main)로 Push합니다.

    git commit -m "새로운 기능 추가"
    git push origin main

클라이언트(Client) 브랜치를 Fork하여 새로운 저장소(Main)를 만드는 방법

  1. 원본 Starter 저장소를 Fork하여 본인의 GitHub 계정에 복제합니다.

  2. Fork한 저장소를 로컬로 Clone합니다.

    git clone <Fork한 저장소 URL>
  3. 로컬에서 새로운 브랜치(Main)를 생성하고 작업을 수행합니다.

    git checkout -b main
    # 작업을 수행하세요
  4. 변경 내용을 Commit하고 Fork한 저장소(Main)로 Push합니다.

    git commit -m "새로운 기능 추가"
    git push origin main

서버(Server) 브랜치의 Fork로부터 새로운 저장소(Main)로 Pull하는 방법 (Merge 기준)

  1. Fork한 저장소(Main)로 이동합니다.

    git checkout main
  2. 원본 Starter 저장소를 원격 저장소로 추가합니다.

    git remote add upstream <원본 Starter 저장소 URL>
  3. 원본 Starter 저장소에서 변경 사항을 가져옵니다.

    git fetch upstream
  4. 로컬 브랜치(Main)에서 원본 Starter 저장소의 변경 사항을 병합(Merge)합니다.

    git merge upstream/main
  5. 변경 사항을 로컬(Main) 브랜치에서 Fork한 저장소(Main)로 Push합니다.

    git push origin main

클라이언트(Client) 브랜치의 Fork로부터 새로운 저장소(Main)로 Pull하는 방법 (Merge 기준)

  1. Fork한 저장소(Main)로 이동합니다.

    git checkout main
  2. 원본 Starter 저장소를 원격 저장소로 추가합니다.

    git remote add upstream <원본 Starter 저장소 URL>
  3. 원본 Starter 저장소에서 변경 사항을 가져옵니다.

    git fetch upstream
  4. 로컬 브랜치(Main)에서 원본 Starter 저장소의 변경 사항을 병합(Merge)합니다.

    git merge upstream/main
  5. 변경 사항을 로컬(Main) 브랜치에서 Fork한 저장소(Main)로 Push합니다.

    git push origin main

082137's Projects

082137 doesn’t have any public repositories yet.

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.