Concept
Git file modes
Git records a limited mode set for ordinary files and symlinks, not all POSIX permissions or ownership. 100644 is non-executable, 100755 executable, 120000 symbolic link. Platform and core.filemode affect mode detection.
Formal Syntax & Structure
git syntaxgit
100644 / 100755 / 120000Working Example
Example Snippetgit
git ls-files --stage -- run.sh link.txt