Added: detach all on commit