$ git clone -n https://gitee.com/src-opencloudos-rpms/python-oauth2client /var/lib/mock/dist-oc8-build-34127-10713/root/chroot_tmpdir/scmroot/python-oauth2client Cloning into '/var/lib/mock/dist-oc8-build-34127-10713/root/chroot_tmpdir/scmroot/python-oauth2client'... $ git reset --hard origin/oc8 HEAD is now at 86034c3 import python-oauth2client-4.1.2-6.oc8