$ git clone -n https://gitee.com/Weisson/compat-openssl10.git /var/lib/mock/dist-an8.9-build-399978-72335/root/chroot_tmpdir/scmroot/compat-openssl10 Cloning into '/var/lib/mock/dist-an8.9-build-399978-72335/root/chroot_tmpdir/scmroot/compat-openssl10'... $ git fetch origin ad578ea868f246a00d5ce9d1d98670075bc69c5e:KOJI_FETCH_HEAD From https://gitee.com/Weisson/compat-openssl10 * [new ref] ad578ea868f246a00d5ce9d1d98670075bc69c5e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ad578ea add sw8a