$ git clone -n https://gitee.com/src-anolis-os/csnappy.git /var/lib/mock/dist-an23-loongarch-build-307283-66339/root/chroot_tmpdir/scmroot/csnappy Cloning into '/var/lib/mock/dist-an23-loongarch-build-307283-66339/root/chroot_tmpdir/scmroot/csnappy'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/csnappy * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1144e49 Init package from upstream