$ git clone -n https://gitee.com/src-anolis-os/audit.git /mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-489281-74485/root/chroot_tmpdir/scmroot/audit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv64-gcc14-build-489281-74485/root/chroot_tmpdir/scmroot/audit'... $ git fetch origin 14421ad66090d738b7e4d2af898bfd68a2dedda3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/audit * [new ref] 14421ad66090d738b7e4d2af898bfd68a2dedda3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 14421ad upstream url changed