$ git clone -n https://gitee.com/src-anolis-os/gdb.git /mnt/koji-mock/dist-an23-sw8a-build-454629-73638/root/chroot_tmpdir/scmroot/gdb Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-454629-73638/root/chroot_tmpdir/scmroot/gdb'... $ git reset --hard d8577e69bc9532250d814f4be8356df5a3b71262 HEAD is now at d8577e6 adapt for riscv64