$ git clone -n https://gitee.com/happy_orange/seabios.git /var/lib/mock/dist-an23-build-325844-68673/root/chroot_tmpdir/scmroot/seabios Cloning into '/var/lib/mock/dist-an23-build-325844-68673/root/chroot_tmpdir/scmroot/seabios'... $ git fetch origin 5a1c6d8ff46e062d50c2d87db420c886b3f1df68:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/seabios * [new ref] 5a1c6d8ff46e062d50c2d87db420c886b3f1df68 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5a1c6d8 rebuild in anolis 23