$ git clone -n https://gitee.com/hongwei-qin/idm.git /var/lib/mock/dist-an8.10-build-450851-73450/root/chroot_tmpdir/scmroot/idm Cloning into '/var/lib/mock/dist-an8.10-build-450851-73450/root/chroot_tmpdir/scmroot/idm'... $ git fetch origin 36fbdddc574d7ca82defc8b36bf089bd374893d5:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/idm * [new ref] 36fbdddc574d7ca82defc8b36bf089bd374893d5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 36fbddd update to 8.10.0