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

Break Things

Zoe Nolan
December 05, 2015

Break Things

Don’t be afraid of experimenting for Rails Girls London 6

Zoe Nolan

December 05, 2015
Tweet

More Decks by Zoe Nolan

Other Decks in Programming

Transcript

  1. Break Things
    Don’t be afraid of experimenting
    Zoë Nolan
    Rails Girls London December 2015

    View Slide

  2. Hello my name is Zoë
    Find me online at http://zoenolan.org
    Don't worry about taking notes
    http://zoenolan.org/blog/2015/12/break-things/

    View Slide

  3. Try things
    Following guides is a good start
    But only the start of your journey

    View Slide

  4. Not all Experiments work
    Things will go wrong

    View Slide

  5. Version Control
    Word’s track changes for source code

    View Slide

  6. Git
    Created by Linus Torvalds
    Been around since 2005
    Widely used

    View Slide

  7. Who am I?
    git config --global user.name “Ada Lovelace“
    git config --global user.email [email protected]

    View Slide

  8. Somewhere to store the changes
    git init RailsGirlsLondonSix

    View Slide

  9. Adding changes
    git add TheNextFacebook.rb
    git commit

    View Slide

  10. Branching
    Create a Branch
    git branch CoolNewThing
    Switch to a branch
    git checkout CoolNewThing
    Delete a Branch
    git branch –D CoolNewThing

    View Slide

  11. See your changes
    git status
    git log

    View Slide

  12. Tutorials
    Try Git
    http://try.github.com/
    How to Use Git and GitHub
    https://www.udacity.com/course/how-to-use-git-and-github--ud775
    Pro Git
    http://git-scm.com/book

    View Slide

  13. Resources
    Git cheat sheet
    https://git.wiki.kernel.org/index.php/GitCheatSheet
    A successful Git branching model
    http://nvie.com/posts/a-successful-git-branching-model/

    View Slide

  14. http://zoenolan.org/blog/2015/12/break-things/

    View Slide