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