code to auto-commit then push