commit in dir