Configure Matlab for GIT on Windows
Show older comments
To configure MATLAB® to use Git™ Hooks on Windows®, install Cygwin and add it to the MATLAB library path. Git Hooks are custom scripts that can be triggered by operations such as committing, merging, and receiving pushed commits.
- Download the installer from https://www.cygwin.com/. Run the installer.
- Open librarypath.txt. In the MATLAB Command Window, enter:edit(fullfile(matlabroot,"toolbox","local","librarypath.txt"))Add the Cygwin bin folder location to the end of librarypath.txt, for example, C:\cygwin64\bin.If you do not have permission to edit the librarypath.txt file, see Locate Native Method Libraries.
I do not have permission to edit the file, I am trying to follow instructions here Locate Native Method Libraries. But I am not able to solve the issue. Can anybody help me with this?
Thank you
Accepted Answer
More Answers (1)
Rocco Di Taranto
on 6 May 2022
0 votes
Categories
Find more on Source Control in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!