$ git clone -n https://gitee.com/src-opencloudos-rpms/i2c-tools.git /var/lib/mock/dist-oc9-build-50170-14595/root/chroot_tmpdir/scmroot/i2c-tools Cloning into '/var/lib/mock/dist-oc9-build-50170-14595/root/chroot_tmpdir/scmroot/i2c-tools'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/i2c-tools * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 60cb624 import i2c-tools-4.3-3.tl4