GithubHelp home page GithubHelp logo

duyi-koa's Introduction

如何获取所有分支

该仓库有很多的分支,可以通过下面的做法获取所有分支

  1. 克隆仓库
git clone https://github.com/DuYi-Edu/DuYi-Koa
cd DuYi-Koa
  1. 获取所有远程分支并映射到本地
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
  1. 查看目前所有的分支

此时,你已经可以看到所有的分支了

git branch

分支说明

每一节课都是一个分支,分支名为课程名称编号

要切换到相应的课程,仅需切换分支即可

例如要切换到第一章第一节课,运行下面的命令即可:

git checkout 1-1

duyi-koa's People

Contributors

yjisme avatar

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.