$ git clone -n https://gitee.com/src-opencloudos-rpms/pyserial.git /var/lib/mock/dist-oc8-build-74463-50513/root/chroot_tmpdir/scmroot/pyserial Cloning into '/var/lib/mock/dist-oc8-build-74463-50513/root/chroot_tmpdir/scmroot/pyserial'... $ git fetch origin c008615a29b5d974f2dbaacca1b891cff18cc2b9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/pyserial * [new ref] c008615a29b5d974f2dbaacca1b891cff18cc2b9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c008615 import pyserial-3.1.1-9.tl3