The Matlab wrapper currently supports ADD, BRANCH, CHECKOUT, CLONE, COMMIT, DIFF, INIT, LOG, MERGE & STATUS, but there are many more in .Git that you can use directly. ![]() Most of the important JGit methods are encapsulated in the Matlab JGit wrapper class and jgit.m function, but you can also use them directly if you wish. These use basic JGit commands, which shall be described below: From now on, you can use the commands in the JGit Matlab class or the jgit.m wrapper function. Matlab must then be restarted for the changes to the static Java class path to take effect. The first time that the JGit Matlab class is called, it downloads the latest version of, adds it to Matlab’s static Java classpath and makes a backup of the existing javaclasspath.txt file as javaclasspath.JGitSaved. The first step is to download and install JGit4MATLAB in your Matlab path. This is the starting point for JGit4MATLAB – a thin Matlab wrapper utility on the Matlab File Exchange. ![]() Luckily, JGit also comes with a porcelain class that has the most popular commands conveniently packaged. Since Matlab is essentially a Java interpreter, JGit is an obvious candidate for integrating Git into Matlab. JGit logo JGit is an open-source Java implementation of Git, a popular distributed version control system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |