commit basic example