$ git clone -n https://gitee.com/wenyuzifang/numatop.git /var/lib/mock/dist-an23-build-469874-74027/root/chroot_tmpdir/scmroot/numatop Cloning into '/var/lib/mock/dist-an23-build-469874-74027/root/chroot_tmpdir/scmroot/numatop'... $ git fetch origin 8b80d31a3d6bd3f10f3e426834407d591ac51d08:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/numatop * [new ref] 8b80d31a3d6bd3f10f3e426834407d591ac51d08 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8b80d31 Update code from upstream