Skip to content

Commit

Permalink
Merge pull request #1 from jaehyeonpy/new/git-merge-space-to-slash-mi…
Browse files Browse the repository at this point in the history
…stake

feat: add git merge space to slash
  • Loading branch information
jaehyeonpy authored Jul 7, 2023
2 parents ceeaeab + f4395a7 commit 527dfc8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions thefuck/rules/git_merge_mistake.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

def match(command):
return (
command.script == 'git merge originmain'
)


def get_new_command(command):
return command.script.replace('originmain', 'origin/main', 1)

0 comments on commit 527dfc8

Please sign in to comment.