swap credentials after each commit