$ git clone -n https://gitee.com/yan1hcdc/libseccomp.git /var/lib/mock/dist-an23-build-498648-74683/root/chroot_tmpdir/scmroot/libseccomp Cloning into '/var/lib/mock/dist-an23-build-498648-74683/root/chroot_tmpdir/scmroot/libseccomp'... $ git fetch origin ae752d8b533fcb7cc5c777783d9274a6efc6fdce:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/libseccomp * [new ref] ae752d8b533fcb7cc5c777783d9274a6efc6fdce -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ae752d8 rebuild with new gcc