Lines Matching full:git
6 """This module contains functions for using git."""
17 """Class to manage local git configs."""
25 prev = subprocess.check_output(['git', 'config', '--local', k]).rstrip()
31 subprocess.check_call(['git', 'config', '--local', k, v])
37 ['git', 'config', '--local', k, self._previous_values[k]])
39 subprocess.check_call(['git', 'config', '--local', '--unset', k])
43 """Class to manage git branches.
59 subprocess.check_call(['git', 'reset', '--hard', 'HEAD'])
60 subprocess.check_call(['git', 'checkout', 'master'])
61 if self._branch_name in subprocess.check_output(['git', 'branch']).split():
62 subprocess.check_call(['git', 'branch', '-D', self._branch_name])
63 subprocess.check_call(['git', 'checkout', '-b', self._branch_name,
69 subprocess.check_call(['git', 'commit', '-a', '-m', self._commit_msg])
70 upload_cmd = ['git', 'cl', 'upload', '-f', '--bypass-hooks',
80 output = subprocess.check_output(['git', 'cl', 'issue']).rstrip()
91 subprocess.check_call(['git', 'checkout', 'master'])
93 subprocess.check_call(['git', 'branch', '-D', self._branch_name])
97 """Creates a new local checkout of a Git repository."""
100 """Set parameters for this local copy of a Git repository.
115 (e.g., '/path/to/repo/.git') to check out a copy of
134 subprocess.check_output(args=['git', 'clone', self._repository, self.root])