$ git clone -n https://gitee.com/happy_orange/graphite2.git /var/lib/mock/dist-an23-build-227808-62371/root/chroot_tmpdir/scmroot/graphite2 Cloning into '/var/lib/mock/dist-an23-build-227808-62371/root/chroot_tmpdir/scmroot/graphite2'... $ git reset --hard f8ba03ca2f4143e77b8ec447508464c98afdc996 HEAD is now at f8ba03c delete the unused scripts