$ git clone -n https://gitee.com/opencloudos-stream/dump.git /var/lib/mock/dist-ocs23-build-41992-2059/root/chroot_tmpdir/scmroot/dump Cloning into '/var/lib/mock/dist-ocs23-build-41992-2059/root/chroot_tmpdir/scmroot/dump'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/dump * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 25c23ad update