this is for holding javascript data
Emily Davenport Updated diff statement to be more accurate
over 8 years ago
Commit id: 175cc7c3ccf33a04dee631152aa54b299ecfcda4
deletions | additions
diff --git a/version-your-code.tex b/version-your-code.tex
index d1e29e8..d67c45c 100644
--- a/version-your-code.tex
+++ b/version-your-code.tex
...
union.cut(range(3)).saveas(data + "/sites-union.bed")
\end{lstlisting}
You can view all the
unstaged differences between the current version and last committed version of the file by running the command \verb|git diff|.
\begin{lstlisting}
$ git diff
...
Thus you already have the benefits of being able to make edits to files without copying them first, to create a record of your changes with accompanying messages, and to revert to previous versions of the files if needed.
Now you will always be able to recreate past results that were generated with previous versions of the code and see the exact changes you have made over the course of a project.