$ git clone -n https://gitee.com/gaohongmei/geoclue2.git /var/lib/mock/dist-an8.6-build-190923-60742/root/chroot_tmpdir/scmroot/geoclue2 Cloning into '/var/lib/mock/dist-an8.6-build-190923-60742/root/chroot_tmpdir/scmroot/geoclue2'... $ git fetch origin 8e28d505144b33fc30e4a1bf052f420978d48c72:KOJI_FETCH_HEAD From https://gitee.com/gaohongmei/geoclue2 * [new ref] 8e28d505144b33fc30e4a1bf052f420978d48c72 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8e28d50 Init package from upstream v2.6.0