Palabra: Tips and Tools for 21st Century Writers
A guide for writers, to use version tracking, revision control, repository storage and collaboration software.
Scenario 1: Developing a course syllabus
Scenario description
You are the new instructor of an undergraduate technical writing course to be offered in an upcoming semester. Over the next six weeks, you want to develop the course syllabus, which will be uploaded to the course Web site as an HTML document. The syllabus sections will be added iteratively and include:
- Course overview, objectives
- Readings/assignments calendar
- Grading, project requirements
- University policies
Week one
Create new document & syllabus outline
Creating an HTML document for the syllabus
- You've already completed Git Setup.
- You Create a New Project in the projects folder of the home directory.
- You create and save a new HTML file COM104_syllabus.htm in the projects folder.
- You copy a CSS file you had used for another course and save it in the projects folder as syllabi.css.
- You work for 30 minutes on the outline and appearance of the COM104_syllabus.htm document until it looks like Figure 1.
Saving to a repository
- Since you now have two files to be saved to a repository, you Initialize a Repository for com104 and Stage a Commit for them.
- Next, you Make a Commit to save your project's working copy with in the com104 repository.
Week two
Add course calendar outline & grading scale
Updating existing documents
- You add a calendar table under the Course Calendar section and a grading scale table under the Grading & Project Requirements section of COM104_syllabus.htm. The syllabus now looks like Figure 2.
- You Make a Commit to match your project's working copy with the com104 repository copy.
Branching sideways to preserve current version
- To preserve the current document as a form for other syllabi in the future, you decide to "branch sideways," or Initialize a Repository called courses for the files and Stage a Commit for them.
- You then Make a Commit to match the working copy to the new courses repository.
Week three
Flesh out calendar & add course objectives
Updating existing documents
- You add some of the assigned readings and in-class exercises to the calendar table and finish the course objectives. The syllabus now looks like Figure 3.
- You Make a Commit to match your project's working copy of COM104_syllabus.htm to the com104 repository copy.
Reviewing document history: Before moving on to other work, you Track Changes to review all of the changes you made to the document today.
Week four
Update university policies & make consistent with course objectives
Updating existing documents
- The University has just released their updated academic policies. You copy, paste, and format the policies in the syllabus document.
- You change the course objectives to make them consistent with the University policies' grading and participation criteria.
- You Make a Commit to match your project's working copy of COM104_syllabus.htm to the com104 repository copy.
Adding select update to other branch
- You also want to add the updated university policies to the syllabus document in the courses branch, so you Switch Branches.
- You then use Cherry-Picking to commit only the university policies update to the syllabus.htm document in the courses branch.
Week five
Finish calendar & project requirements
Updating existing documents
- You finish adding the assignments and readings to the course calendar table and add requirement descriptions for each major project assignment.
- You Make a Commit to match your project's working copy of COM104_syllabus.htm to the com104 repository copy.
Rolling back last week's changes to course objectives
- You realize that course objectives should be more consistent with the course calendar and not the university policies, so you want to restore the previous version of the text.
- You use a New Commit to Revert the unwanted changes to course objectives.
Week six
Finish course description & make final edits
Updating existing documents
- You make some final edits to the text of the syllabus document.
- You then experiment with format by making several changes to the syllabus.css document.
Accepting only some of the changes
- You decide to only accept the textual changes, so you use Git Checkout to restore the project repository's version of syllabus.css and restore COM104_syllabus.htm to the revised version.