$ git clone -n https://gitee.com/src-anolis-os/libdb.git /mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-477458-74205/root/chroot_tmpdir/scmroot/libdb Cloning into '/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-477458-74205/root/chroot_tmpdir/scmroot/libdb'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libdb * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e2645f3 Init package from upstream