Skip to content

Commit

Permalink
Add git-fix and git-fixed
Browse files Browse the repository at this point in the history
Quick helpers for opening conflicted files in vim and then adding them
once resolved.
  • Loading branch information
Aron Carroll authored and aron committed Feb 2, 2016
1 parent 2b5e30c commit ac5bf37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bin/git-fix
@@ -0,0 +1,4 @@
#!/bin/sh

cd "$(git rev-parse --show-toplevel)"
vim -p "$(git diff --name-only --diff-filter=U)"
4 changes: 4 additions & 0 deletions .bin/git-fixed
@@ -0,0 +1,4 @@
#!/bin/sh

cd "$(git rev-parse --show-toplevel)"
git add "$(git diff --name-only --diff-filter=U)"

0 comments on commit ac5bf37

Please sign in to comment.