$ git clone -n https://gitee.com/src-anolis-os/gflags.git /var/lib/mock/dist-an23-loongarch-build-307986-66339/root/chroot_tmpdir/scmroot/gflags Cloning into '/var/lib/mock/dist-an23-loongarch-build-307986-66339/root/chroot_tmpdir/scmroot/gflags'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gflags * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 158be9c init package