$ git clone -n https://gitee.com/acc8226/libgpg-error.git /var/lib/mock/dist-an8.9-build-371641-71163/root/chroot_tmpdir/scmroot/libgpg-error Cloning into '/var/lib/mock/dist-an8.9-build-371641-71163/root/chroot_tmpdir/scmroot/libgpg-error'... $ git fetch origin 429c16a9b32bafe05f38c5a36685b3d9db987d03:KOJI_FETCH_HEAD From https://gitee.com/acc8226/libgpg-error * [new ref] 429c16a9b32bafe05f38c5a36685b3d9db987d03 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 429c16a spec: add doc sub package