Skip to content

Commit 9105a0a

Browse files
committed
Pass -r flag to git rm
1 parent 0afb7ee commit 9105a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rename

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
old=$1
44
new=$2
55

6-
git rm --cached "$old"
6+
git rm --cached -r "$old"
77
mv "$old" x.$$
88
mv x.$$ "$new"
99
git add "$new"

0 commit comments

Comments
 (0)