$ git clone -n https://gitee.com/opencloudos-stream/gtk2hs-buildtools.git /var/lib/mock/dist-ocs23-epol9-build-159257-10046/root/chroot_tmpdir/scmroot/gtk2hs-buildtools Cloning into '/var/lib/mock/dist-ocs23-epol9-build-159257-10046/root/chroot_tmpdir/scmroot/gtk2hs-buildtools'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gtk2hs-buildtools * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3ca1068 package init