$ git clone -n https://gitee.com/mabofu/dsms.git /var/lib/mock/dist-an8.7-build-271715-64139/root/chroot_tmpdir/scmroot/dsms Cloning into '/var/lib/mock/dist-an8.7-build-271715-64139/root/chroot_tmpdir/scmroot/dsms'... $ git fetch origin 3532bd0735bce54a78b6879da874aac2f9ddbf2c:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms * [new ref] 3532bd0735bce54a78b6879da874aac2f9ddbf2c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3532bd0 init package