$ git clone -n https://gitee.com/mgb01105731/wget.git /var/lib/mock/dist-an23-build-python3.11-379685-71790/root/chroot_tmpdir/scmroot/wget Cloning into '/var/lib/mock/dist-an23-build-python3.11-379685-71790/root/chroot_tmpdir/scmroot/wget'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/wget * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f7d88b fix source link