$ git clone -n https://gitee.com/renbo02/idm.git /var/lib/mock/dist-an8.8-build-277330-64404/root/chroot_tmpdir/scmroot/idm Cloning into '/var/lib/mock/dist-an8.8-build-277330-64404/root/chroot_tmpdir/scmroot/idm'... $ git fetch origin ebab4b13f7bad68d0c569e67b6d52f2fdc879065:KOJI_FETCH_HEAD From https://gitee.com/renbo02/idm * [new ref] ebab4b13f7bad68d0c569e67b6d52f2fdc879065 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ebab4b1 update to an8.8.0