Home | History | Annotate | Download | only in common_lib

Lines Matching full:commit

38     """Exception raised for git commit errors."""
208 def commit(self, msg='default'):
210 Commit changes to repo with the supplied commit msg.
212 @param msg: A message that goes with the commit.
214 rv = self.gitcmd('commit -a -m %s' % msg)
217 raise GitCommitError('Unable to commit', rv)
334 Get the top commit hash of the current local git branch.
336 @return: Top commit hash of local git branch
345 Get the top commit hash of the current remote git branch.
347 @return: Top commit hash of remote git branch
391 Get the commit hash of the latest commit in the repo.
393 We don't raise an exception if no commit hash was found as
397 @return: The first commit hash if anything has been committed.
422 Return current HEAD commit id
438 Check out the git commit id, branch, or tag given by remote.
442 @param remote: Remote commit hash
443 @param local: Local commit hash