$ git clone -n https://gitee.com/src-anolis-os/gcab.git /mnt/mock/kojid//dist-an23.3-riscv-build-436154-73130/root/chroot_tmpdir/scmroot/gcab Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-436154-73130/root/chroot_tmpdir/scmroot/gcab'... $ git fetch origin 798ce7fe5058b37a4eaba79f1daa0a9425bea1a2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gcab * [new ref] 798ce7fe5058b37a4eaba79f1daa0a9425bea1a2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 798ce7f change to use 1.6