$ git clone -n https://gitee.com/xzyang-anolis/enca.git /var/lib/mock/dist-an23-build-336335-69664/root/chroot_tmpdir/scmroot/enca Cloning into '/var/lib/mock/dist-an23-build-336335-69664/root/chroot_tmpdir/scmroot/enca'... $ git fetch origin 9fce8f67effdb16a3fe419677e6d00dd69583e61:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/enca * [new ref] 9fce8f67effdb16a3fe419677e6d00dd69583e61 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9fce8f6 pkg init