Skip to content

earthlab/14ers-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

14ers-git

This repo was developed by Leah Wasser and Max Joseph as a part of the introduction to version control, git and github workshop.

About the activity

The original activity was developed and taught by Jonah Duckles (https://github.com/jduckles/git-collaboration). Earth Lab adapted the activity to use 14ers rather than countries to be more specific to Colorado :). Many thanks to Jonah Duckles for developing this activity.

To implement the activity.

  • Have the class all FORK the repo.
  • Then have them clone the repo locally (if you want them to practice committing and working locally). If you don't have them select one file to edit.
  • Edit the file filling in the details about that particular mountain.
  • Then commit the changes.
  • Push the changes to their fork if that is necessary.
  • Submit a pull request to the earthlab repo.

Ideally one or two merge conflicts arise. This can be a learning moment and used as a demonstration of how that works. However to keep things simple, just have them submit a PR vs worrying about syncing...

How to refresh

The original 14er list is here:

A shell script was written to create empty markdown files - one for each mountain in the list created from the google doc above. To execute the script, first change the permissions to allow it to execute. Then it should run.

  1. chmod u+x create-files.sh
  2. Run bash script
#!/bin/bash

for thing in $(cat mountains.txt);
do cp template.md mountains/${thing}.md;
done

Template

The markdown template is below generally.

Mountain elevation

Latitude, longitude

Interesting fact


About

This is a demo repo to use for the 14ers activity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages