$ git clone -n https://gitee.com/src-anolis-os/qpress.git /mnt/mock/kojid//dist-an23.3-riscv-build-439234-73130/root/chroot_tmpdir/scmroot/qpress Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439234-73130/root/chroot_tmpdir/scmroot/qpress'... $ git fetch origin 69f07bf111e7df209b35c7751115bff5b23bc6de:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/qpress * [new ref] 69f07bf111e7df209b35c7751115bff5b23bc6de -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 69f07bf Switch to new upstream and update to 20230507