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 full-size 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 full-size slide

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

    View full-size slide

  4. Not all Experiments work
    Things will go wrong

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  8. Somewhere to store the changes
    git init RailsGirlsLondonSix

    View full-size slide

  9. Adding changes
    git add TheNextFacebook.rb
    git commit

    View full-size slide

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

    View full-size slide

  11. See your changes
    git status
    git log

    View full-size 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 full-size 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 full-size slide

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

    View full-size slide