$ git clone -n https://gitee.com/fundawang/ostree.git /var/lib/mock/dist-an23-build-164823-58741/root/chroot_tmpdir/scmroot/ostree Cloning into '/var/lib/mock/dist-an23-build-164823-58741/root/chroot_tmpdir/scmroot/ostree'... $ git reset --hard a5ce484c1287117146a990502359ccb53647b611 HEAD is now at a5ce484 remove unused file