$ git clone -n https://gitee.com/zxhxz3507/umdk.git /var/lib/mock/dist-an23-build-593925-101559/root/chroot_tmpdir/scmroot/umdk Cloning into '/var/lib/mock/dist-an23-build-593925-101559/root/chroot_tmpdir/scmroot/umdk'... $ git fetch origin bdd77f8eda1ee22a15ae26e2e7efd93faececf2d:KOJI_FETCH_HEAD From https://gitee.com/zxhxz3507/umdk * [new ref] bdd77f8eda1ee22a15ae26e2e7efd93faececf2d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bdd77f8 add: umdk package and spec file