$ git clone -n https://gitee.com/costinchen/dim_tools.git /var/lib/mock/dist-ocs23-build-297703-28561/root/chroot_tmpdir/scmroot/dim_tools Cloning into '/var/lib/mock/dist-ocs23-build-297703-28561/root/chroot_tmpdir/scmroot/dim_tools'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/costinchen/dim_tools * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b90b48c Init package