$ git clone -n https://gitee.com/douzhichong/netperf.git /var/lib/mock/dist-an23-build-481239-74252/root/chroot_tmpdir/scmroot/netperf Cloning into '/var/lib/mock/dist-an23-build-481239-74252/root/chroot_tmpdir/scmroot/netperf'... $ git fetch origin 665b4e9ec46ffb40166c0598c933757582f0f634:KOJI_FETCH_HEAD From https://gitee.com/douzhichong/netperf * [new ref] 665b4e9ec46ffb40166c0598c933757582f0f634 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 665b4e9 update netperf.spec.