$ git clone -n https://gitee.com/src-opencloudos-rpms/uchardet.git /var/lib/mock/dist-oc9-build-72174-47657/root/chroot_tmpdir/scmroot/uchardet Cloning into '/var/lib/mock/dist-oc9-build-72174-47657/root/chroot_tmpdir/scmroot/uchardet'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/uchardet * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6419388 import uchardet-0.0.8-2.tl4