$ git clone -n https://gitee.com/src-anolis-os/gcr3.git /mnt/mock/kojid//dist-an23.3-riscv-build-436161-73130/root/chroot_tmpdir/scmroot/gcr3 Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436161-73130/root/chroot_tmpdir/scmroot/gcr3'... $ git fetch origin b4bff96c54be613f80c8e0a8bbbf3789caf7aaa5:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gcr3 * [new ref] b4bff96c54be613f80c8e0a8bbbf3789caf7aaa5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b4bff96 Init package from upstream