$ git clone -n https://gitee.com/fundawang/sssd.git /var/lib/mock/dist-an8.7-build-256151-63662/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-an8.7-build-256151-63662/root/chroot_tmpdir/scmroot/sssd'... $ git reset --hard 491a5b001f08a5cda1a676990c0d9aad872d13d9 HEAD is now at 491a5b0 update file list