$ git clone -n https://gitee.com/src-opencloudos-rpms/python-gflags /var/lib/mock/dist-oc8-build-64381-16536/root/chroot_tmpdir/scmroot/python-gflags Cloning into '/var/lib/mock/dist-oc8-build-64381-16536/root/chroot_tmpdir/scmroot/python-gflags'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-gflags * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 354802a import python-gflags-2.0-13.oc8