Index: tools/push-to-trunk/git_recipes.py |
diff --git a/tools/push-to-trunk/git_recipes.py b/tools/push-to-trunk/git_recipes.py |
index 1b5bd2bf18394b1c11ed926db2abf428fff1e8f9..3d06db31a53e1852da584c8a0f3c7fb833b99e1b 100644 |
--- a/tools/push-to-trunk/git_recipes.py |
+++ b/tools/push-to-trunk/git_recipes.py |
@@ -68,6 +68,9 @@ class GitRecipesMixin(object): |
assert name |
self.Git(MakeArgs(["reset --hard", name])) |
+ def GitStash(self): |
+ self.Git(MakeArgs(["stash"])) |
+ |
def GitRemotes(self): |
return map(str.strip, self.Git(MakeArgs(["branch -r"])).splitlines()) |