Show More
@@ -768,7 +768,7 b' class GitRepository(BaseRepository):' | |||||
768 |
|
768 | |||
769 | def _local_reset(self, branch_name): |
|
769 | def _local_reset(self, branch_name): | |
770 | branch_name = '{}'.format(branch_name) |
|
770 | branch_name = '{}'.format(branch_name) | |
771 | cmd = ['reset', '--hard', branch_name] |
|
771 | cmd = ['reset', '--hard', branch_name, '--'] | |
772 | self.run_git_command(cmd, fail_on_stderr=False) |
|
772 | self.run_git_command(cmd, fail_on_stderr=False) | |
773 |
|
773 | |||
774 | def _last_fetch_heads(self): |
|
774 | def _last_fetch_heads(self): |
General Comments 0
You need to be logged in to leave comments.
Login now