$ git clone -n https://gitee.com/src-opencloudos-rpms/alsa-lib.git /var/lib/mock/dist-oc8-build-38226-12339/root/chroot_tmpdir/scmroot/alsa-lib Cloning into '/var/lib/mock/dist-oc8-build-38226-12339/root/chroot_tmpdir/scmroot/alsa-lib'... $ git reset --hard origin/oc8 HEAD is now at 2676ccd import alsa-lib-1.2.8-2.tl3