Certain git operations page the output text stream. Shelling out with the system call causes this to hang unless the output is piped. See my commit on 12 Mar 2011.
There might be an issue with using this wonderful utility to upload to a remote git repository using https. (on a mac) Git push uses curl to send the files to the repository (e.g. bitbucket) but the version of libcurl included in the MATLAB application bundle doesn't support https. To address this issue, just rename the included libcurl to something else (i.e. libcurl.old) and copy the newest version easily available from someplace like MacPorts. Make sure you add +ssl when getting the latest version of curl from MacPorts (sudo port install curl +ssl). This will then allow you to call git push to an https remote repository from inside the MATLAB command line.
I am new to git, and it is very usefule when control matlab project version.
one thing is, I need to use (git commit -m "new change in foo.m") to make it work in Linux.
Certain git operations page the output text stream. Shelling out with the system call causes this to hang unless the output is piped. See my commit on 12 Mar 2011.
There might be an issue with using this wonderful utility to upload to a remote git repository using https. (on a mac) Git push uses curl to send the files to the repository (e.g. bitbucket) but the version of libcurl included in the MATLAB application bundle doesn't support https. To address this issue, just rename the included libcurl to something else (i.e. libcurl.old) and copy the newest version easily available from someplace like MacPorts. Make sure you add +ssl when getting the latest version of curl from MacPorts (sudo port install curl +ssl). This will then allow you to call git push to an https remote repository from inside the MATLAB command line.
I am new to git, and it is very usefule when control matlab project version.
one thing is, I need to use (git commit -m "new change in foo.m") to make it work in Linux.
@Kay-Uwe Kirstein,
Certain git operations page the output text stream. Shelling out with the system call causes this to hang unless the output is piped. See my commit on 12 Mar 2011.
I have implemented a similar wrapper by myself and I am just wondering why are you piping the output thru 'cat' or 'type'?
@Luis-Emanual: using double-quotes (") instead of single-ones (') should work.
Comment only