commit a path