$ git clone -n https://gitee.com/src-opencloudos-rpms/python-gflags /var/lib/mock/dist-oc8-build-34126-10713/root/chroot_tmpdir/scmroot/python-gflags Cloning into '/var/lib/mock/dist-oc8-build-34126-10713/root/chroot_tmpdir/scmroot/python-gflags'... $ git reset --hard origin/oc8 HEAD is now at 354802a import python-gflags-2.0-13.oc8