$30 off During Our Annual Pro Sale. View Details »

VMware Code Power Session Git 07-2020

VMware Code Power Session Git 07-2020

Michael Gasch

July 07, 2020
Tweet

More Decks by Michael Gasch

Other Decks in Technology

Transcript

  1. Confidential │ ©2020 VMware, Inc.
    Practical Git
    Git For Everyone
    Michael Gasch
    Staff Engineer
    VMware Office of the CTO
    @embano1
    www.mgasch.com
    July 2020

    View Slide

  2. Confidential │ ©2020 VMware, Inc.
    @embano1
    Agenda
    2
    Part 1 – Git…what?
    Part 2 – Github Actions
    Resources
    Useful Tools for your Git Toolbelt
    Demo Time
    Resources
    Demo Time

    View Slide

  3. 3
    Confidential │ ©2020 VMware, Inc.
    Git…what?

    View Slide

  4. Confidential │ ©2020 VMware, Inc.
    @embano1 4

    View Slide

  5. Confidential │ ©2020 VMware, Inc.
    @embano1 5
    Git shouldn’t be that hard!
    @xkcdComic

    View Slide

  6. Confidential │ ©2020 VMware, Inc.
    @embano1 6
    “Git is for Developers!”

    View Slide

  7. Confidential │ ©2020 VMware, Inc.
    @embano1 7
    “Git is for Developers!”
    Everyone

    View Slide

  8. Confidential │ ©2020 VMware, Inc.
    @embano1 8
    What you want… …is what you Git J
    Snapshots (“I want unlimited UNDO”) Commits and Tags (History)
    Documentation (“Why the heck did I do that?”) Commit Messages
    Virtual Folders/Files/Environments Branches
    Backup Remotes
    Share Files Remotes
    Mapping Routine Tasks to Git Concepts
    Git Benefits for Everyone
    Scripts
    Configuration Files (TF, Kubernetes, etc.)
    Dotfiles
    Documentation (READMEs, etc.)

    View Slide

  9. Confidential │ ©2020 VMware, Inc.
    @embano1 9
    https://git-scm.com/book/en/v2 https://thoughtbot.com/upcase/mastering-git
    Git Resources

    View Slide

  10. Confidential │ ©2020 VMware, Inc.
    @embano1 10
    https://guides.github.com/
    http://ndpsoftware.com/git-cheatsheet.html#loc=stash;
    https://dev.to/citizen428/10-common-git-problems-and-how-to-fix-them-234o
    http://sethrobertson.github.io/GitFixUm/fixup.html
    https://www.git-tower.com/blog/git-cheat-sheet/
    Of course, there’s more
    Git Resources

    View Slide

  11. Confidential │ ©2020 VMware, Inc.
    @embano1 11
    Your Terminal of choice
    https://code.visualstudio.com/
    https://github.com/ohmyzsh/ohmyzsh
    https://github.com/so-fancy/diff-so-fancy
    https://www.gitkraken.com/
    VS Code Extensions
    • Git Lense|Blame|Graph
    • Markdown Preview Github
    • Github Theme
    • Github Pull Requests
    Useful Tools for your Git Toolbelt

    View Slide

  12. Confidential │ ©2020 VMware, Inc.
    @embano1 12
    “Show me the Money!”
    Demo Time!

    View Slide

  13. 13
    Confidential │ ©2020 VMware, Inc.
    Github Actions

    View Slide

  14. Confidential │ ©2020 VMware, Inc.
    @embano1 14
    A Workflow Engine for Everyone

    View Slide

  15. Confidential │ ©2020 VMware, Inc.
    @embano1 15
    https://docs.github.com/en/actions/getting-started-with-github-actions/about-github-
    actions
    https://docs.github.com/en/actions/getting-started-with-github-actions/overview
    https://docs.github.com/en/actions/language-and-framework-guides/publishing-docker-
    images
    https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
    Github Actions Resources

    View Slide

  16. Confidential │ ©2020 VMware, Inc.
    @embano1 16
    https://docs.github.com/en/actions/reference/events-that-trigger-workflows
    https://docs.github.com/en/developers/webhooks-and-events/github-event-types
    https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-
    actions
    https://docs.github.com/en/actions/reference/software-installed-on-github-hosted-
    runners
    https://www.edwardthomson.com/blog/github_actions_advent_calendar.html
    Github Actions Resources

    View Slide

  17. Confidential │ ©2020 VMware, Inc.
    @embano1 17
    https://github.com/nektos/act
    https://marketplace.visualstudio.com/items?itemName=cschleiden.vscode-github-actions
    https://marketplace.visualstudio.com/items?itemName=me-dutour-mathieu.vscode-
    github-actions
    Useful Tools for your Actions Toolbelt

    View Slide

  18. Confidential │ ©2020 VMware, Inc.
    @embano1 18
    “Show me more Money!”
    It’s Demo Time again!

    View Slide

  19. Confidential │ ©2020 VMware, Inc.
    Thank You
    @embano1
    www.mgasch.com

    View Slide