$ git clone -n https://gitee.com/mgb01105731/lua-posix.git /var/lib/mock/dist-an23-build-328885-69136/root/chroot_tmpdir/scmroot/lua-posix Cloning into '/var/lib/mock/dist-an23-build-328885-69136/root/chroot_tmpdir/scmroot/lua-posix'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/lua-posix * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c255014 update to version 36.2.1