$ git clone -n https://gitee.com/fundawang/tomcat-native.git /var/lib/mock/dist-an23-build-249367-63335/root/chroot_tmpdir/scmroot/tomcat-native Cloning into '/var/lib/mock/dist-an23-build-249367-63335/root/chroot_tmpdir/scmroot/tomcat-native'... $ git reset --hard 14d492a3464e797d7813594b6155b3e64a76a56a HEAD is now at 14d492a add