$ git clone -n https://src.fedoraproject.org/rpms/clipper.git /var/lib/mock/f31-build-65589-29724/root/thebuilddir/tmp/scmroot/clipper Cloning into '/var/lib/mock/f31-build-65589-29724/root/thebuilddir/tmp/scmroot/clipper'... $ git reset --hard 950f5aba93637ee761308b574090bd61db5b8cb8 HEAD is now at 950f5ab Remove %clean section