$ git clone -n https://src.fedoraproject.org/rpms/mumble.git /var/lib/mock/f33-build-141929-42630/root/chroot_tmpdir/scmroot/mumble Cloning into '/var/lib/mock/f33-build-141929-42630/root/chroot_tmpdir/scmroot/mumble'... $ git reset --hard bb4cba9f8d6de02a9e1467b8e31d4b35c9c73de7 HEAD is now at bb4cba9 Committing after changing the spec file helps