Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    repo 下载了D1 的 SDK之后,修改了又想恢复最初版本的步骤

    D1系列-RISC-V
    1
    1
    174
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      memory LV 7 last edited by

      执行: repo forall -vc "git reset --hard" 即可。

      解释:
      the repo forall will execute for all repos.

      the -v is verbose, so it will print the output of the command

      the -c "COMMAND TO EXECUTE" is the actual command you want

      参考: https://stackoverflow.com/questions/5012163/how-to-discard-changes-using-repo

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策