Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Contributing To The Core

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Contributing To The Core

My part of the presentation from Umbraco Codegarden 15.

Created and presented with Deckset (http://decksetapp.com) using the "Sketchnotes" theme (blue). ZIP of files here for scrutiny: http://greystate.dk/resources/presentations/2015/cg15.zip

Credits:
Movie clips used: "Houston we have a problem" from "Apollo 13", and "They have a cave troll" from "Lord of the Rings - The Fellowship of the Ring".
Merge/rebase illustrations from this article: https://www.atlassian.com/git/tutorials/merging-vs-rebasing/

Avatar for Chriztian Steinmeier

Chriztian Steinmeier

June 10, 2015
Tweet

More Decks by Chriztian Steinmeier

Other Decks in Programming

Transcript

  1. What's to cover? 4 Cleaning up a Pull Request 4

    Keeping a fork updated 4 Merge conflicts #CG15 - Contributing to the Core
  2. Cleaning up a Pull Request 1. Edit commit messages 2.

    Squash/fixup commits #CG15 - Contributing to the Core
  3. Fewer changes 4 Easier for the maintainer to see through

    "noisy" stuff 4 Avoids potentially large merge conflicts #CG15 - Contributing to the Core
  4. How to? 1. You need to track the Umbraco/Umbraco-CMS repo

    4 You need an upstream remote 2. You need to get any changes down to your repo 4 You need to fetch from that remote 3. You want to add your code on top of new stuff 4 You need to rebase your branch #CG15 - Contributing to the Core
  5. Setup: git remote add upstream https://github.com/Umbraco/Umbraco-CMS Grab the changes (if

    any): git fetch upstream Catch up: git rebase upstream/dev-v7 #CG15 - Contributing to the Core
  6. Very likely: 4 Typo-fixes, language additions etc. Probably not: 4

    Large refactorings, etc. #CG15 - Contributing to the Core
  7. Protip: You can get back to where you were before

    you went and typed merge… #CG15 - Contributing to the Core
  8. Just know this: 4 You didn't just lose all your

    stuff 4 It's all there 4 Use git merge --abort to bail out #CG15 - Contributing to the Core
  9. We're available for questions & help etc. Come join us

    in the Café! #CG15 - Contributing to the Core