$ git clone -n https://gitee.com/lxpzero/openscap.git /var/lib/mock/dist-an23.3-build-417722-72869/root/chroot_tmpdir/scmroot/openscap Cloning into '/var/lib/mock/dist-an23.3-build-417722-72869/root/chroot_tmpdir/scmroot/openscap'... $ git fetch origin c556cb616ed1ab94ad747122fd1190b8217b2ecf:KOJI_FETCH_HEAD From https://gitee.com/lxpzero/openscap * [new ref] c556cb616ed1ab94ad747122fd1190b8217b2ecf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c556cb6 update to 1:1.4.1-1