$ git clone -n https://src.fedoraproject.org/rpms/kdelibs3.git /var/lib/mock/f29-build-5119-1211/root/thebuilddir/tmp/scmroot/kdelibs3 Cloning into '/var/lib/mock/f29-build-5119-1211/root/thebuilddir/tmp/scmroot/kdelibs3'... $ git reset --hard d30828cbc4e236e3a19cae37d4ebab1d853150d6 HEAD is now at d30828c Escape macros in %changelog