$ git clone -n https://gitee.com/guost123/clang.git /var/lib/mock/dist-an23.3-build-431339-73055/root/chroot_tmpdir/scmroot/clang Cloning into '/var/lib/mock/dist-an23.3-build-431339-73055/root/chroot_tmpdir/scmroot/clang'... $ git fetch origin 5eec27726e1d6e307fa21fd17580a370f9621e0a:KOJI_FETCH_HEAD From https://gitee.com/guost123/clang * [new ref] 5eec27726e1d6e307fa21fd17580a370f9621e0a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5eec277 adapt for riscv64