$ git clone -n https://gitee.com/zhoujiajia111/magma.git /var/lib/mock/dist-an23-epao-build-444218-73239/root/chroot_tmpdir/scmroot/magma Cloning into '/var/lib/mock/dist-an23-epao-build-444218-73239/root/chroot_tmpdir/scmroot/magma'... $ git fetch origin f13b9f04c258c3da56baef0e2e5623c3456c383b:KOJI_FETCH_HEAD From https://gitee.com/zhoujiajia111/magma * [new ref] f13b9f04c258c3da56baef0e2e5623c3456c383b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f13b9f0 update magma.spec.