Git Intermediate Workshop
Git Intermediate Workshop
Workshop
Slides:
https://goo.gl/kE65m3
What do we need for start this workshop?
Git Installation and Setup
GitHub Account
Go Hugo Installation
Text Editor
Git Installation
Go to https://git-scm.com/downloads and
choose your SO.
Github Account
https://github.com/
Agenda
1.- Getting Started with Git
5.- Workflows
isn’t
Git as Software
Is a Platform Software
Collaborative
for developers Development
Software
Projects Manage using
Git
Git History
https://www.youtube.com/watch?v=jHzbLNVhv-c
Linux Kernel
https://www.youtube.com/watch?v=5iFnzr73XXk&t=4686s
Python
https://www.youtube.com/watch?v=cNBtDstOTmA&t=23s
Tools ?
My Tools
Getting Started With Git
Getting Started with Git
1. Installation and setup
2. Basic command line usage
3. Setting up a new repository
4. Adding a file
5. Commit the added file
6. Modify a committed file
Git Setup
Add your username and email
Windows:
$ mkdir my-git-practice
$ cd my-git-practice
$ git init
Adding and commit a file
$ git log
Commit History
$ git log
$ gitk
Adding and commit a file: git commands
https://raw.githubusercontent.com/GitGrou
pStudyMx/Git-Practice/master/index.html
Add origin repository
$ git branch
Switching branches
my-other-branch
luissas
onahump
Stashing
$ git stash
GoHugo
https://gohugo.io
MKDocs
https://www.mkdocs.org
Github Pages
https://raw.githubusercontent.com/GitGrou
pStudyMx/Git-Practice/master/index.html
Go Hugo
$ hugo serve
$ hugo new site quickstart
$hugo -D
MKDocs
mkdocs new [dir-name] - Create a new project.
mkdocs serve - Start the live-reloading docs server.
mkdocs build - Build the documentation site.
mkdocs help - Print this help message.
Exercise
GoHugo / MKDocs
Repository Site Repository
https://education.github.com/pack
Thanks!