$ git clone -n https://src.fedoraproject.org/rpms/bmpanel2.git /var/lib/mock/f31-build-56006-28171/root/chroot_tmpdir/scmroot/bmpanel2 Cloning into '/var/lib/mock/f31-build-56006-28171/root/chroot_tmpdir/scmroot/bmpanel2'... $ git reset --hard da2f72aa0036ce9c07b3f5e1915ca838aeb1da57 HEAD is now at da2f72a Remove %clean section