$ git clone -n https://gitee.com/xzyang-anolis/ddcutil.git /var/lib/mock/dist-an23-dde-build-336331-69536/root/chroot_tmpdir/scmroot/ddcutil Cloning into '/var/lib/mock/dist-an23-dde-build-336331-69536/root/chroot_tmpdir/scmroot/ddcutil'... $ git fetch origin 3e91bb629c0054a45db4517da9297c003b4b9b93:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/ddcutil * [new ref] 3e91bb629c0054a45db4517da9297c003b4b9b93 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3e91bb6 pkg init