Lines Matching refs:GIT
21 GIT = 'git.bat' if sys.platform == 'win32' else 'git' variable
77 subprocess.check_call([GIT, 'clone', repo_url, dest_dir])
91 output = subprocess.check_output([GIT, 'stash'])
96 GIT, 'rev-parse', '--abbrev-ref', 'HEAD']).rstrip()
99 GIT, 'rev-parse', 'HEAD']).rstrip()
102 subprocess.check_call([GIT, 'fetch', 'origin'])
104 subprocess.check_call([GIT, 'checkout', '-b', self._branch,
109 subprocess.check_call([GIT, 'reset', '--hard', 'HEAD'])
110 subprocess.check_call([GIT, 'checkout', self._orig_branch])
112 subprocess.check_call([GIT, 'stash', 'pop'])
113 subprocess.check_call([GIT, 'branch', '-D', self._branch])