Skip to content

Instantly share code, notes, and snippets.

@mapsam
Last active January 2, 2016 18:21
Show Gist options
  • Save mapsam/2a8f620fcfd9aa1977f7 to your computer and use it in GitHub Desktop.
Save mapsam/2a8f620fcfd9aa1977f7 to your computer and use it in GitHub Desktop.
Push to Maptime Seattle resources

Assumes you have [email protected]:MaptimeSEA/maptimesea.github.io.git cloned on your local machine.

  1. pull down all recent changes from master: git pull origin master
  2. checkout a new branch, git checkout -b BRANCH-NAME
  3. add a new file under _posts/ with the proper date formatted file name YYYY-MM-DD-NAME.markdown
  4. add the proper YAML to the top of the new file (copy paste from another file)
  5. add all the stuff, make changes, do your thing
  6. add file to local git: git add FILE-NAME.markdown
  7. commit file with note: git commit -m 'NOTE ABOUT CHANGES
  8. push changes to new remote branch: git push origin HEAD (actually write the word HEAD in all caps)
  9. make a pull request from your branch into master on github.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment