DEV Community

Azmat Ahmed
Azmat Ahmed

Posted on

DevOps Journey Week 7 - Git & GitHub Complete Practice

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 and git 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
Enter fullscreen mode Exit fullscreen mode

Top comments (0)