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