$ git clone -n https://gitee.com/src-opencloudos-rpms/snakeyaml /var/lib/mock/dist-oc8-build-20244-4829/root/chroot_tmpdir/scmroot/snakeyaml Cloning into '/var/lib/mock/dist-oc8-build-20244-4829/root/chroot_tmpdir/scmroot/snakeyaml'... $ git reset --hard origin/oc8 HEAD is now at d056590 import snakeyaml-1.26-2.oc8