commit snippets switch