$ git clone -n https://gitee.com/src-opencloudos-rpms/libsndfile.git /var/lib/mock/dist-oc8-build-38620-12571/root/chroot_tmpdir/scmroot/libsndfile Cloning into '/var/lib/mock/dist-oc8-build-38620-12571/root/chroot_tmpdir/scmroot/libsndfile'... $ git reset --hard origin/oc8 HEAD is now at e020f16 import libsndfile-1.0.28-13.tl3