sr-pre-push easy git pre push cmd tool by use 'push' command install npm install sr-pre-push use just replace use 'git push' to 'push' it will diff current local branch to remote same branch diff status then you can decide push or not push