$ git clone -n https://gitee.com/src-opencloudos-rpms/iptraf-ng.git /var/lib/mock/dist-oc9-build-70102-47388/root/chroot_tmpdir/scmroot/iptraf-ng Cloning into '/var/lib/mock/dist-oc9-build-70102-47388/root/chroot_tmpdir/scmroot/iptraf-ng'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/iptraf-ng * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4144d5a import iptraf-ng-1.2.1-4.tl4