$ git clone -n https://gitee.com/fundawang/tomcat.git /var/lib/mock/dist-an23-build-249306-63333/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-249306-63333/root/chroot_tmpdir/scmroot/tomcat'... $ git reset --hard b7eddf447f7d46a4b1ab8d4820c4599d2799ef54 HEAD is now at b7eddf4 update script