Git file permissions and bash scripts

This took me a very long time to figure out.

When committing files to git, the file permissions are also committed.

What this means is that when you clone the git repository, it has the nessary file permissions required to be executed. What it also means is if you don’t commit the files with the correct permissions, nothing works.

Leave a Reply

Your email address will not be published. Required fields are marked *