added check regected push and option to force push