grunt preprocess with git revision and copy, also rebase server from /dist