Open Source Comes to Campus/Resources: Difference between revisions
Content added Content deleted
imported>Shauna |
imported>Shauna |
||
Line 30: | Line 30: | ||
=== Diff and Patch Demo === |
=== Diff and Patch Demo === |
||
This demo uses the files in [this repository]. |
|||
I have [a To Do List]! But maybe it needs editing. First, I'll make a copy to edit: |
|||
<pre>cp ToDoList new_ToDoList</pre> |
<pre>cp ToDoList new_ToDoList</pre> |
||
* Then I'll open it up and make changes to it. |
|||
Then I'll open it up and make changes to it. (Side note: make sure to explain which editor you're using and give options for those following along - emacs, vim, nano, or a GUI.) |
|||
⚫ | |||
⚫ | |||
<pre>diff -u ToDoList new_ToDoList</pre> |
<pre>diff -u ToDoList new_ToDoList</pre> |
||
Usually I print to the command line, then again storing the results in a diff file: |
Usually I print to the command line, then again storing the results in a diff file: |
||
⚫ | |||
⚫ | |||
=== Issue Tracker Demo === |
=== Issue Tracker Demo === |