$ git clone -n https://gitee.com/opencloudos-stream/rust-tree_magic_db.git /var/lib/mock/dist-oc9-epol-build-99320-60422/root/chroot_tmpdir/scmroot/rust-tree_magic_db Cloning into '/var/lib/mock/dist-oc9-epol-build-99320-60422/root/chroot_tmpdir/scmroot/rust-tree_magic_db'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/rust-tree_magic_db * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d12a49e update