Open Source Comes to Campus/Resources: Difference between revisions

imported>Shauna
imported>Shauna
=== Diff and Patch Demo ===
 
UsingThis 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>
 
* 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.)
* How do I view the differences between the two?
 
* How do I view the differences between the two?
 
<pre>diff -u ToDoList new_ToDoList</pre>
 
Usually I print to the command line, then again storing the results in a diff file:
<pre>diff -u ToDoList new_ToDoList > changes.diff</pre>
 
<pre>diff -u ToDoList new_ToDoList > changes.diff</pre>
 
=== Issue Tracker Demo ===
Anonymous user