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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -