Skip to content

Commit c7fbb5f

Browse files
committed
Simple script to remove 'worktree =' lines from config files
1 parent b534840 commit c7fbb5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git-fix-wt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
find . -name config -type f -print0 \
4+
| xargs -0 perl -i -ne 'print unless /worktree =/;'

0 commit comments

Comments
 (0)