$ git clone -n https://gitee.com/src-opencloudos-rpms/sos.git /var/lib/mock/dist-oc8-build-36907-12041/root/chroot_tmpdir/scmroot/sos Cloning into '/var/lib/mock/dist-oc8-build-36907-12041/root/chroot_tmpdir/scmroot/sos'... $ git reset --hard origin/oc8 HEAD is now at 6b6cb22 import sos-4.5.1-3.oc8