$ git clone -n https://gitee.com/src-opencloudos-rpms/python-barbicanclient.git /var/lib/mock/dist-oc9-epol-build-55932-14787/root/chroot_tmpdir/scmroot/python-barbicanclient Cloning into '/var/lib/mock/dist-oc9-epol-build-55932-14787/root/chroot_tmpdir/scmroot/python-barbicanclient'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-barbicanclient * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c2532a9 import python-barbicanclient-5.4.0-2.tl4