Confidential │ ©2020 VMware, Inc.Practical GitGit For EveryoneMichael GaschStaff EngineerVMware Office of the CTO@embano1www.mgasch.comJuly 2020
View Slide
Confidential │ ©2020 VMware, Inc.@embano1Agenda2Part 1 – Git…what?Part 2 – Github ActionsResourcesUseful Tools for your Git ToolbeltDemo TimeResourcesDemo Time
3Confidential │ ©2020 VMware, Inc.Git…what?
Confidential │ ©2020 VMware, Inc.@embano1 4
Confidential │ ©2020 VMware, Inc.@embano1 5Git shouldn’t be that hard!@xkcdComic
Confidential │ ©2020 VMware, Inc.@embano1 6“Git is for Developers!”
Confidential │ ©2020 VMware, Inc.@embano1 7“Git is for Developers!”Everyone
Confidential │ ©2020 VMware, Inc.@embano1 8What you want… …is what you Git JSnapshots (“I want unlimited UNDO”) Commits and Tags (History)Documentation (“Why the heck did I do that?”) Commit MessagesVirtual Folders/Files/Environments BranchesBackup RemotesShare Files RemotesMapping Routine Tasks to Git ConceptsGit Benefits for EveryoneScriptsConfiguration Files (TF, Kubernetes, etc.)DotfilesDocumentation (READMEs, etc.)
Confidential │ ©2020 VMware, Inc.@embano1 9https://git-scm.com/book/en/v2 https://thoughtbot.com/upcase/mastering-gitGit Resources
Confidential │ ©2020 VMware, Inc.@embano1 10https://guides.github.com/http://ndpsoftware.com/git-cheatsheet.html#loc=stash;https://dev.to/citizen428/10-common-git-problems-and-how-to-fix-them-234ohttp://sethrobertson.github.io/GitFixUm/fixup.htmlhttps://www.git-tower.com/blog/git-cheat-sheet/Of course, there’s moreGit Resources
Confidential │ ©2020 VMware, Inc.@embano1 11Your Terminal of choice https://code.visualstudio.com/https://github.com/ohmyzsh/ohmyzshhttps://github.com/so-fancy/diff-so-fancyhttps://www.gitkraken.com/VS Code Extensions• Git Lense|Blame|Graph• Markdown Preview Github• Github Theme• Github Pull RequestsUseful Tools for your Git Toolbelt
Confidential │ ©2020 VMware, Inc.@embano1 12“Show me the Money!”Demo Time!
13Confidential │ ©2020 VMware, Inc.Github Actions
Confidential │ ©2020 VMware, Inc.@embano1 14A Workflow Engine for Everyone
Confidential │ ©2020 VMware, Inc.@embano1 15https://docs.github.com/en/actions/getting-started-with-github-actions/about-github-actionshttps://docs.github.com/en/actions/getting-started-with-github-actions/overviewhttps://docs.github.com/en/actions/language-and-framework-guides/publishing-docker-imageshttps://docs.github.com/en/actions/reference/workflow-syntax-for-github-actionsGithub Actions Resources
Confidential │ ©2020 VMware, Inc.@embano1 16https://docs.github.com/en/actions/reference/events-that-trigger-workflowshttps://docs.github.com/en/developers/webhooks-and-events/github-event-typeshttps://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actionshttps://docs.github.com/en/actions/reference/software-installed-on-github-hosted-runnershttps://www.edwardthomson.com/blog/github_actions_advent_calendar.htmlGithub Actions Resources
Confidential │ ©2020 VMware, Inc.@embano1 17https://github.com/nektos/acthttps://marketplace.visualstudio.com/items?itemName=cschleiden.vscode-github-actionshttps://marketplace.visualstudio.com/items?itemName=me-dutour-mathieu.vscode-github-actionsUseful Tools for your Actions Toolbelt
Confidential │ ©2020 VMware, Inc.@embano1 18“Show me more Money!”It’s Demo Time again!
Confidential │ ©2020 VMware, Inc.Thank You@embano1www.mgasch.com