I am pretty new to git but enjoy it already. Here is my current issue:
The issue when moving a repo is mostly due to the changed file mode. So for your repo you can
git config core.filemode false
when you do a new
git status
now you should not be seeing so many changed files. If you moved many repos this will make more sense to change the global git behaviour for the current user.
git config --global core.fileMode false
please see this answer for more information about changed mode settings and git :
https://stackoverflow.com/a/1580644/2815227
you can use the command
git diff
to see changes for all files, or
git diff filename
to see the changes for a specific file. Most probably the permissions of your files have changed. So you'll have to see if those changes will be necessary for your future work or not... seeing the differences might help you doing some cleanup. If you want to revert some of the changes you can do
git checkout filename
to remove unnecessary modifications
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With