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 branch
andgit 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)