$ git clone -n https://gitee.com/src-anolis-os/lua-posix.git /var/lib/mock/dist-an23-build-339560-69782/root/chroot_tmpdir/scmroot/lua-posix Cloning into '/var/lib/mock/dist-an23-build-339560-69782/root/chroot_tmpdir/scmroot/lua-posix'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/lua-posix * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dc3fb5b !4 remove the old package Merge pull request !4 from happy_orange/a23