$ git clone -n https://gitee.com/mgb01105731/mock.git /var/lib/mock/dist-an23-build-337154-69704/root/chroot_tmpdir/scmroot/mock Cloning into '/var/lib/mock/dist-an23-build-337154-69704/root/chroot_tmpdir/scmroot/mock'... $ git fetch origin 28c8c8a2db6569a97262b27f46e08561e5a783cc:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/mock * [new ref] 28c8c8a2db6569a97262b27f46e08561e5a783cc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 28c8c8a rebuild