I make changes in my project, rename, move files, but history discards.To see it, I create test repository on:
https://bitbucket.org/aborucki/testI create repository and make some changes and commits with pushes to bitbucket
Test rename file
1.Most intuitive way: first change name first.txt to ren_first.txt and change this file,
next I type "mv first.txt ren_first.txt" and commit it
>mv first.txt ren_first.txt
-> mv: cannot stat `first.txt': No such file or directory
2. Second way: first type "mv second.txt ren_second.txt", next change it and commit
git status: deleted and added
--> I rename, not delete!
>git commit
>git commit -a
3. Third way: first type "mv third.txt ren_third.txt", next change it and commit with -a
only now
2 files changed, 3 insertions(+)
rename third.txt => ren_third.txt (100%)
Success !?
I push; git push
BAD
even third file has not history!!!!!!
https://bitbucket.org/aborucki/test/history-node/a9d856f4abe8/ren_third.txt?at=masterIt is git error or very non intuitive ?