Skip to content

Commit

Permalink
Pass -r flag to git rm
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Oct 11, 2010
1 parent 0afb7ee commit 9105a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-rename
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
old=$1
new=$2

git rm --cached "$old"
git rm --cached -r "$old"
mv "$old" x.$$
mv x.$$ "$new"
git add "$new"

0 comments on commit 9105a0a

Please sign in to comment.