$ git clone -n https://gitee.com/src-anolis-sig/linglong /var/lib/mock/dist-an23.2-build-401842-72389/root/chroot_tmpdir/scmroot/linglong Cloning into '/var/lib/mock/dist-an23.2-build-401842-72389/root/chroot_tmpdir/scmroot/linglong'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-sig/linglong * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 040e68e Release 1.5.6.4