Show More
@@ -74,7 +74,7 git push {upstream} {onto} | |||||
74 | ************************************************************* |
|
74 | ************************************************************* | |
75 | """.format(**shvars) |
|
75 | """.format(**shvars) | |
76 |
|
76 | |||
77 |
ans = raw_input("Revert to master and delete temporary branch? [ |
|
77 | ans = raw_input("Revert to master and delete temporary branch? [Y/n]: ") | |
78 | if ans.lower() in ('y', 'yes'): |
|
78 | if ans.strip().lower() in ('', 'y', 'yes'): | |
79 | sh('git checkout {onto}') |
|
79 | sh('git checkout {onto}') | |
80 | sh('git branch -D {branch_spec}') |
|
80 | sh('git branch -D {branch_spec}') |
General Comments 0
You need to be logged in to leave comments.
Login now