Skip to content

A simple function that lets you use GIT from matlab using standard GIT commands

Notifications You must be signed in to change notification settings

slayton/matlab-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

git-matlab

A simple function that lets you use GIT from matlab using standard GIT commands

Commands that require additionall input (such as commits without -m flags) will generally fail unless the environment variable EDITOR is defined. However, a preferred text editor can be specified within Matlab using the global variable GIT_EDITOR (Pro-tip: include this code in your startup.m file)

Declaring the variable in Matlab:

   >> global GIT_EDITOR;

Specifying the editor in Linux:

   >> GIT_EDITOR = '/path/to/editor';  provide the complete path  

Specifying the editor in Mac OSX:

   >> GIT_EDITOR = 'TextEdit';  Simply provide the application name

About

A simple function that lets you use GIT from matlab using standard GIT commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages