$ git clone -n https://gitee.com/xzyang-anolis/util-dfm.git /var/lib/mock/dist-an23-dde-build-344841-70104/root/chroot_tmpdir/scmroot/util-dfm Cloning into '/var/lib/mock/dist-an23-dde-build-344841-70104/root/chroot_tmpdir/scmroot/util-dfm'... $ git fetch origin fcaa59fa107de7fe9ccbc84976b1dd612a79de28:KOJI_FETCH_HEAD From https://gitee.com/xzyang-anolis/util-dfm * [new ref] fcaa59fa107de7fe9ccbc84976b1dd612a79de28 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at fcaa59f pkg init