$ git clone -n https://gitee.com/mabofu/dsms-storage.git /var/lib/mock/dist-an8.7-build-272272-64165/root/chroot_tmpdir/scmroot/dsms-storage Cloning into '/var/lib/mock/dist-an8.7-build-272272-64165/root/chroot_tmpdir/scmroot/dsms-storage'... $ git fetch origin 8a70ee3f44adcd2c30c9ae6653edadc4622fc8e8:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms-storage * [new ref] 8a70ee3f44adcd2c30c9ae6653edadc4622fc8e8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8a70ee3f update spec