$ git clone -n https://gitee.com/src-anolis-os/ftp.git /var/lib/mock/dist-an8.7-build-242442-62522/root/chroot_tmpdir/scmroot/ftp Cloning into '/var/lib/mock/dist-an8.7-build-242442-62522/root/chroot_tmpdir/scmroot/ftp'... $ git reset --hard 4c98d26aa60932af44f35af6f15fc36a696c6ca3 HEAD is now at 4c98d26 update ftp spec file 1. update patch number 2. add abi/api file