What is wrong with my default settings on Linux?
rm -rf PATH
mkdir -p PATH
cd PATH
git clone GITPATH .
git status
It shows all of the recently downloaded files as modified. And I cannot pull later on.
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# modified: readme.txt
# modified: todo.txt
Diff
git diff todo.txt
diff --git a/todo.txt b/todo.txt
old mode 100644
new mode 100755
How can I get rid of this unexpected annoying thing?