$ git clone -n https://gitee.com/opencloudos-stream/perl-Net-Netmask.git /var/lib/mock/dist-oc9-epol-build-86121-57655/root/chroot_tmpdir/scmroot/perl-Net-Netmask Cloning into '/var/lib/mock/dist-oc9-epol-build-86121-57655/root/chroot_tmpdir/scmroot/perl-Net-Netmask'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/perl-Net-Netmask * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e290160 update