$ git clone -n https://gitee.com/mabofu/dsms.git /var/lib/mock/dist-an23-build-275875-64329/root/chroot_tmpdir/scmroot/dsms Cloning into '/var/lib/mock/dist-an23-build-275875-64329/root/chroot_tmpdir/scmroot/dsms'... $ git fetch origin 64e8e3c7396d229ebb385b65ec7c037989b317d3:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms * [new ref] 64e8e3c7396d229ebb385b65ec7c037989b317d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 64e8e3c init from upstream