$ git clone -n https://gitee.com/mgb01105731/openssh_1.git /var/lib/mock/dist-an23-build-344548-70099/root/chroot_tmpdir/scmroot/openssh_1 Cloning into '/var/lib/mock/dist-an23-build-344548-70099/root/chroot_tmpdir/scmroot/openssh_1'... $ git reset --hard origin/a23 HEAD is now at 5ad3f52 update to version 9.6