$ git clone -n https://gitee.com/src-opencloudos-rpms/python-simpleline.git /var/lib/mock/dist-oc8-build-38060-12270/root/chroot_tmpdir/scmroot/python-simpleline Cloning into '/var/lib/mock/dist-oc8-build-38060-12270/root/chroot_tmpdir/scmroot/python-simpleline'... $ git reset --hard origin/oc8 HEAD is now at 40353f9 import python-simpleline-1.1.3-1.tl3