this is for holding javascript data
Emily Davenport Updated description of git diff
over 8 years ago
Commit id: 87f0b86a9a4e8c41897d5e7635fabeaeb70780b3
deletions | additions
diff --git a/version-your-code.tex b/version-your-code.tex
index 0640737..8e6a2ed 100644
--- a/version-your-code.tex
+++ b/version-your-code.tex
...
kidney = kidney.filter(filter_fold_change, fc = fc_cutoff).saveas()
\end{verbatim}
The new line starts Any lines of text that have been added to the script are indicated with
a \verb|+| and
any lines that have been removed with a \verb|-|.
Here, we altered the line of code which sets the value of \verb|fc_cutoff|.
\verb|git diff| displays this change as the previous line
starts being removed and a new line being added with
\verb|-|. our updates incorporated.
You can ignore the first five lines of output because they are directions for other software programs that can merge changes to files.
If you wanted to keep this edit, you could add \verb|clean.py| to the staging area using \verb|git add| and then commit the change using \verb|git commit|, as you did above.
Instead, this time undo the edit by following the directions from the output of \verb|git status| to ``discard changes in the working directory'' using the command \verb|git checkout|.