How do I see the permission of a file in Git? -


this question has answer here:

i'd see file permission exists in repository index.

how can done?

use git ls-files -s <file>:

show staged contents' mode bits, object name , stage number in output.

note git only tracks files' executable bit. you'll ever see 644 or 755.


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -