$ git clone -n https://gitee.com/mgb01105731/openssh_1.git /var/lib/mock/dist-an23-build-342753-69978/root/chroot_tmpdir/scmroot/openssh_1 Cloning into '/var/lib/mock/dist-an23-build-342753-69978/root/chroot_tmpdir/scmroot/openssh_1'... $ git reset --hard cd4fae095135603bb5dc20271d35c0eead0d41de HEAD is now at cd4fae0 rebuild