$ git clone -n https://gitee.com/src-opencloudos-rpms/babeltrace /var/lib/mock/dist-oc8-build-27665-8510/root/chroot_tmpdir/scmroot/babeltrace Cloning into '/var/lib/mock/dist-oc8-build-27665-8510/root/chroot_tmpdir/scmroot/babeltrace'... $ git reset --hard origin/oc8 HEAD is now at 9d70f32 import babeltrace-1.5.4-4.tl3