Git Product home page Git Product logo

Comments (4)

shankerwangmiao avatar shankerwangmiao commented on May 31, 2024

并不是这样,从 repo 命令开头的语句很明显看出来


REPO_URL = os.environ.get('REPO_URL', None)
if not REPO_URL:
  REPO_URL = 'https://gerrit.googlesource.com/git-repo'

直接在环境变量中指定 REPO_URL 是有效的。同时,不建议直接修改 repo 脚本的内容。如果您遇到了修改 bashrc 无效的问题,请检查:1. 修改之后是否重启了终端模拟器;2. 你的 shell 是否是 bash,如果不是,请修改你所使用的 shell 程序对应的 rc 文件。

from mirror-web.

huanghe2015 avatar huanghe2015 commented on May 31, 2024

原来shell解释器不止bash。。。

from mirror-web.

huanghe2015 avatar huanghe2015 commented on May 31, 2024

抱歉,我在repo里面没有找到这句,请问是因为版本(https://packages.ubuntu.com/artful/repo )原因吗?

from mirror-web.

gaoyichuan avatar gaoyichuan commented on May 31, 2024

你提供的包内 repo 命令中是包含这些代码的,再看看?

from mirror-web.

Related Issues (20)

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.