<h2>org.das2.util.filesystem.GitCommand</h2><p>Wrapper for git commands. There's a Java-based Git command, but for now we will just spawn commands and get output.</p> <h2>GitCommand( <a href='https://docs.oracle.com/javase/8/docs/api/java/io/File.html'>java.io.File</a> pwd )</h2> <p></p> <hr> <a name="commit"></a> <h2>commit</h2> commit( <a href='https://docs.oracle.com/javase/8/docs/api/java/io/File.html'>java.io.File</a> script, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> msg ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/GitCommand/GitResponse.html'>org.das2.util.filesystem.GitCommand.GitResponse</a> <p></p> <h3>Parameters</h3> script - a File <br> msg - a String <h3>Returns:</h3> org.das2.util.filesystem.GitCommand.GitResponse <br><br> <a href="https://github.com/autoplot/dev/search?q=commit&unscoped_q=commit">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/GitCommand.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/GitCommand.html#commit">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/GitCommand.java">[view source]</a> <br> <br> <hr> <a name="diff"></a> <h2>diff</h2> diff( <a href='https://docs.oracle.com/javase/8/docs/api/java/io/File.html'>java.io.File</a> f ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/GitCommand/GitResponse.html'>org.das2.util.filesystem.GitCommand.GitResponse</a> <p>query for the differences in the file.</p> <h3>Parameters</h3> f - the file. <h3>Returns:</h3> the difference formatted as unified diff. <h3>See Also:</h3> <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/UnifiedDiffUtils/parseUnifiedDiff in QDataSet.html'>UnifiedDiffUtils.parseUnifiedDiff in QDataSet</a> in QDataSet<br> <br><br> <a href="https://github.com/autoplot/dev/search?q=diff&unscoped_q=diff">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/GitCommand.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/GitCommand.html#diff">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/GitCommand.java">[view source]</a> <br> <br> <hr> <a name="pull"></a> <h2>pull</h2> pull( ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/GitCommand/GitResponse.html'>org.das2.util.filesystem.GitCommand.GitResponse</a> <p>pull from the upstream repository</p> <h3>Returns:</h3> 0 for success. <br><br> <a href="https://github.com/autoplot/dev/search?q=pull&unscoped_q=pull">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/GitCommand.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/GitCommand.html#pull">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/GitCommand.java">[view source]</a> <br> <br> <hr> <a name="push"></a> <h2>push</h2> push( ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/GitCommand/GitResponse.html'>org.das2.util.filesystem.GitCommand.GitResponse</a> <p>pull from the upstream repository</p> <h3>Returns:</h3> 0 for success. <br><br> <a href="https://github.com/autoplot/dev/search?q=push&unscoped_q=push">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/GitCommand.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/GitCommand.html#push">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/GitCommand.java">[view source]</a> <br> <br>