This is a Visual Studio Code Extension that provides context menu shortcut to set the execute permissions on files under a git SCM.
It allows to set the execution permission in the following scenarios
File(s) in Explorer View
Folder(s) in Explorer View
File(s) in SCM View
- The files must be a part of a git repository
This extension contributes the following settings:
gitChmod.recursiveFileSuffix: Set the file pattern for which the permission is updated recursively in case of a folder.
gitChmod.options: Additional options for the
git update-index command
- In the SCM menu, the selection will not work unless it is highlighted.
sometimes the context menu will appear without any file highlighted, in such running the shortcut will not do anything.