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