def commit(self, message, files=None):
        """Run git-commit."""

        if files:
            self.add(*files)

        return _run_command(["git", "commit", "-m", f'"{message}"'])
def commit ( self , message , files = None ) : if files : self . add ( * files ) return _run_command ( [ "git" , "commit" , "-m" , f'"{message}"' ] )
Run git-commit.