The name of this repository is devops_cheatsheet
.
It has the following tree structure:
.
├── .gitignore <-- make git ignore certain files
├── images <-- contains images used in the cheatsheet
├── parts <-- contains the different parts and chapters of the cheatsheet in markdown
├── README.md <-- file you are reading
└── temp.txt <-- empty text file used in the examples
Every example assumes a clean initial repository in both local and remote repositories, i.e.
- no staged files
- no commits
- empty
temp.txt
file
- Chapter1 – Overview
- Chapter2 – SSH keys
- Chapter3 – Git graph
- Chapter4 – Correct errors on local repository
- Chapter5 –
git log
,git reflog
,git blame
,git cherry-pick
- Chapter6 –
git reset
vsgit revert
- Chapter7 – Clean commit history and branches with
git rebase
- Chapter8 – Integrate other people's repositories into yours with
git submodule
andgit subtree
- Chapter9 – Detect a bug with
git bisect
- Chapter10 – Git workflow
- Chapter11 – Continuous integration (CI) vs Continuous Delivery vs Continuous Deployment
- Chapter12 – Multiple GitHub Accounts - SSH vs HTTPS
- Chapter13 - 13 Advanced (but useful) Git Techniques and Shortcuts
This part is heavily based on the following OpenClassrooms course:
- Chapter1 – Docker overview
- Chapter2 – Install Docker
- Chapter3 – Start your first container
- Chapter4 – Create your first Dockerfile and Docker image
- Chapter5 – Push and pull images on Docker Hub
- Chapter6 – Docker Compose
- Chapter7 – Start a Docker Compose stack
- Chapter8 – Start another Docker Compose stack
- Chapter9 – Inspect Docker Images and Docker Containers
This part is heavily based on the following OpenClassrooms course:
- Chapter1 – Introduction to DevOps
- Chapter2 – What is Continuous Integration (CI) and Continuous Delivery (CD)?
- Chapter3 – Configure a CI pipeline with Gitlab CI
- Chapter4 – Codify your infrastructure
- Chapter5 – Deploy Docker images in Play with Docker
- Chapter6 – Monitor your app on the staging environment with Prometheus
- Chapter7 – Get live updates of your app during development and in production
This part is heavily based on the following OpenClassrooms courses: