Reputation: 9631
Here's my current git layout:
git
misc
file.sh
other
file2.sh
If I change the folder name misc to misc2 it stays as misc on GIT how do I fix that? One thing to note is that the root git folder is not my git repro only the misc and other directories are.
Upvotes: 0
Views: 94
Reputation: 11587
try git add -u
on parent directory of the misc folder.
C02J8GV9DKQ1:test chlr$ git add -u
C02J8GV9DKQ1:test chlr$ git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
renamed: misc/file.txt -> misc2/file.txt
Upvotes: 1