$ git clone -n https://gitee.com/src-opencloudos-rpms/libuser.git /var/lib/mock/dist-oc8-build-38470-12472/root/chroot_tmpdir/scmroot/libuser Cloning into '/var/lib/mock/dist-oc8-build-38470-12472/root/chroot_tmpdir/scmroot/libuser'... $ git reset --hard origin/oc8 HEAD is now at dd18bac import libuser-0.62-25.tl3