$ git clone -n https://gitee.com/src-opencloudos-rpms/leapp.git /var/lib/mock/dist-oc8-build-38329-12388/root/chroot_tmpdir/scmroot/leapp Cloning into '/var/lib/mock/dist-oc8-build-38329-12388/root/chroot_tmpdir/scmroot/leapp'... $ git reset --hard origin/oc8 HEAD is now at 0bcd941 import leapp-0.15.1-1.tl3