$ git clone -n https://gitee.com/src-anolis-os/hexedit.git /mnt/mock/kojid//dist-an23.3-riscv-build-436405-73130/root/chroot_tmpdir/scmroot/hexedit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436405-73130/root/chroot_tmpdir/scmroot/hexedit'... $ git fetch origin 9b1b00fac9e0654f625d20a8990d5e7514f8c661:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/hexedit * [new ref] 9b1b00fac9e0654f625d20a8990d5e7514f8c661 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9b1b00f update to 1.6