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)