Hello Dev Community š
In the 7th week of my DevOps journey, I focused entirely on learning Git & GitHub. Here's what I achieved and practiced in detail:
š” Topics Covered:
- Git basics:
git init,git add,git commit - Understanding the working directory, staging area, and history
- Branching with
git branchandgit checkout - Renaming branches using
git branch -m - Merging branches with
git merge - Syncing with remote using
git pull&git push - Viewing logs and history:
git log,git diff - Copying specific commits using
git cherry-pick
š Real Practice
Created multiple branches like main and feature1, implemented changes separately, and merged those branches effectively using standard Git commands. Simulated real-world DevOps team environments.
š Repository
You can explore the full project and Git practice here:
š GitHub Repo
š§° Git Commands Snapshot
bash
git init
git status
git add file.txt
git commit -m "Initial commit"
git branch feature1
git checkout feature1
git merge feature1
git log
git pull origin main
git push origin main
git cherry-pick <commit>
š Conclusion
This week helped me gain confidence in using Git for version control ā an essential DevOps skill. Iām excited to continue this journey!
š Portfolio: https://azmatahmed.netlify.app
š© Email: ahmedawan9519@gmail.com
š Phone: 03165048266
Top comments (0)