I have a project under git
. One day I moved all project files from current directory to foo/bar/
under the project. I did it using git mv
. Then I added some more files and did some changes to already existing files.
As a result, now when I look at the history of foo/bar/file.c
, I can only see changes that I did after I moved the file.
I tried to fix this in various ways (filter-branch
with subdirectory filter, etc), but nothing helped, so I am pretty stacked here. I'll appreciate any help that you can give me.
Thanks!
filter-branch
is probably trying to run this insh
, notbash
. – Selena