pre commit to local