$ git clone -n https://gitee.com/src-opencloudos-rpms/jing-trang /var/lib/mock/dist-oc8-build-34119-10703/root/chroot_tmpdir/scmroot/jing-trang Cloning into '/var/lib/mock/dist-oc8-build-34119-10703/root/chroot_tmpdir/scmroot/jing-trang'... $ git reset --hard origin/oc8 HEAD is now at 1e2f3bb import jing-trang-20151127-4.oc8