$ git clone -n https://gitee.com/src-anolis-os/hexl.git /var/lib/mock/dist-an23.2-build-433938-73078/root/chroot_tmpdir/scmroot/hexl Cloning into '/var/lib/mock/dist-an23.2-build-433938-73078/root/chroot_tmpdir/scmroot/hexl'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/hexl * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 06caa1f drop libdir patch and move lib file