$ git clone -n https://gitee.com/mabofu/dsms-storage.git /var/lib/mock/dist-an23-build-272176-64163/root/chroot_tmpdir/scmroot/dsms-storage Cloning into '/var/lib/mock/dist-an23-build-272176-64163/root/chroot_tmpdir/scmroot/dsms-storage'... $ git fetch origin e2100e26cc65451d22adfc0d809bea1f19ab4ace:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms-storage * [new ref] e2100e26cc65451d22adfc0d809bea1f19ab4ace -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2100e26 update spec