In sourcetree for windows, how to chmod set executable permission bit? In sourcetree for windows, how to chmod set executable permission bit? windows windows

In sourcetree for windows, how to chmod set executable permission bit?


I ended up creating a custom action.

  • From the menu, select "Tools", "Options"

  • In the dialog window, select the "Custom actions" tab

  • In the "Custom Actions" panel, press the "Add" button

    Custom Actions, Add

  • In the "Edit custom action" dialog:

    • in the "Menu caption" box, enter your action description (eg.: Mark as executable)
    • in the "script" box, enter "git"
    • in the "parameter" box, enter "update-index --chmod=+x $FILE"
    • press "OK" and close all the dialogs to apply the changesEdit custom action dialog

From now on, you can mark a committed file as executable while selecting it and applying the custom action.

Apply custom action