$ git clone -n https://gitee.com/xzyang-anolis/unique.git /var/lib/mock/dist-an23-dde-build-306781-67097/root/chroot_tmpdir/scmroot/unique Cloning into '/var/lib/mock/dist-an23-dde-build-306781-67097/root/chroot_tmpdir/scmroot/unique'... $ git fetch origin 1cfd808cd87813ca5ed27f23a32cbfc35c27f5ec:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/unique * [new ref] 1cfd808cd87813ca5ed27f23a32cbfc35c27f5ec -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1cfd808 pkg init