$ git clone -n https://gitee.com/wenyuzifang/cri-tools.git /var/lib/mock/dist-an23-build-485134-74348/root/chroot_tmpdir/scmroot/cri-tools Cloning into '/var/lib/mock/dist-an23-build-485134-74348/root/chroot_tmpdir/scmroot/cri-tools'... $ git fetch origin ff8e3229d8cef9930327b19ecd08254ed6639aaf:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/cri-tools * [new ref] ff8e3229d8cef9930327b19ecd08254ed6639aaf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ff8e322 Update code from upstream