Day 22 of #90DaysOfDevOps – Building Strong Git Foundations Today I went back to basics and focused on understanding Git properly — not just using it. Instead of only running commands, I took time to understand: How Git tracks changes internally The difference between the working directory, staging area, and repository Why git add and git commit are separate steps What actually lives inside the .git directory How to maintain a clean and meaningful commit history I created a fresh repository from scratch and intentionally built multiple commits to practice structured version control. I also started maintaining a personal git-commands.md reference that I’ll continue updating as I learn more. Key takeaway from today: Version control is not just about pushing code. It’s about maintaining clarity, traceability, and discipline in how changes are made. Strong DevOps workflows start with strong Git fundamentals. Repository updated with Day 22 documentation. #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Git #VersionControl #DevOps #LearningInPublic
Mastering Git Fundamentals for Strong DevOps Workflows
More Relevant Posts
-
🚀 DevOps Basics Series When I first learned Git, I just memorized commands: git add git commit git push git pull But I didn’t really understand what they meant. Once I understood the flow, everything clicked. Here’s the simple version: 🔹 git add → Select the changes you want to track. 🔹 git commit → Save a snapshot of those changes. 🔹 git push → Send them to the remote repository. 🔹 git pull → Get the latest updates from others. That’s it. Modify → Add → Commit → Push → Repeat. And here’s where it gets interesting in DevOps: That one git push can trigger: ✔ Automated tests ✔ Builds ✔ Deployments One command → Entire pipeline starts. Understanding this made Git feel less like commands… and more like a system. #DevOps #Git #LearningInPublic #CI_CD
To view or add a comment, sign in
-
-
Today was all about understanding Git deeply — not just commands, but the logic behind version control. 🔹 What I Learned ✅ What Version Control actually means → Tracking every change in code → Ability to revert to previous versions → Safe collaboration without overwriting others’ work ✅ Core Git Commands: git init git clone git status git add git commit git log ✅ Branching Concept I finally understood why branches are powerful. Feature branches allow safe experimentation without affecting the main codebase. ✅ Merge vs Rebase Merge keeps history visible Rebase keeps history clean Understanding this cleared a big confusion for me. ✅ Handling Merge Conflicts This is where real learning happens. Instead of fearing conflicts, I now see them as part of collaboration. 🔥 Key Realization Git is not just a tool. It is: The foundation of CI/CD The backbone of team collaboration The first step toward automation Without Git, DevOps cannot exist. #DevOps #Git #VersionControl #LearningInPublic #FutureDevOpsEngineer
To view or add a comment, sign in
-
Day 2/30 of DevOps Journey – Git Before Git, developers managed code using folders like project_v1, project_final, project_final_final No tracking, no clarity, and risky collaboration. Git solved this by making code tracking and teamwork easy and safe. Check it out here - https://lnkd.in/gf-9UuSg Repost and share for access. #devops #git #justvisualise
To view or add a comment, sign in
-
Day 12 Of My DevOps Journey 🚀 : Headline : Mastering the Git Lifecycle! 🛡️ Today was all about understanding how Git actually manages our code behind the scenes. It's not just about saving files; it's about the workflow! I learned about the 3 magical stages of Git: 1️⃣ Working Directory:- Where I create/edit my files. 2️⃣ Staging Area:- The "middle ground" where I prepare files for a commit. 3️⃣ Local Repository:- Where my code is securely saved with a unique Commit ID. Understanding the difference between git add and git commit changed my perspective on version control. Now I know how to track every single change in my project! 🔗 Check out my updated Repo: [https://lnkd.in/dkSmqY3u] #DevOps #Git #GitHub #90DaysOfDevOps #TechLearning #CloudComputing #WomenInTech #TechnicalGuftgu
To view or add a comment, sign in
-
-
🚀 Day 23 of My DevOps Journey — Git Branching Today I explored one of the most powerful Git features: Branching. 🔹 Learned what Git branches are and why we avoid committing everything directly to main 🔹 Practiced creating and switching between branches (feature-1, feature-2) 🔹 Used git switch and git checkout to move across branches 🔹 Made commits on feature branches and verified they don't affect main 🔹 Cleaned up unused branches and expanded my Git commands reference Understanding branching is essential for team collaboration and real DevOps workflows where multiple features are developed in parallel. 📂 GitHub Repo: https://lnkd.in/gmUQr9Y6 #DevOpsJourney #Git #VersionControl #LearningInPublic #DevOps #TrainWithShubham
To view or add a comment, sign in
-
Managing Git Repositories the Right Way Many developers use Git daily. But the real difference shows in how we manage repositories in team environments. Good Git practices improve: ✔️ Code quality ✔️ Team collaboration ✔️ Deployment confidence ✔️ Long-term maintainability Here are a few habits that make a big difference: 🔹 Follow a clear branching strategy Whether it’s feature branching, Git Flow, or trunk-based development choose one and stay consistent. 🔹 Write meaningful commit messages Instead of: update code Try: Add validation for payment status in OrderService 🔹 Keep pull requests small and focused Smaller PRs are easier to review and reduce conflicts. 🔹 Never push directly to main Use pull requests and code reviews to protect your core branches. 🔹 Understand merge vs rebase A clean history makes debugging and tracking changes much easier. 🔹 Use CI/CD checks before merging Automated tests prevent surprises in production. Git is more than version control it reflects your engineering discipline. How does your team manage branches and code reviews? 👇 #Git #SoftwareEngineering #CleanCode #DevOps #TechLeadership
To view or add a comment, sign in
-
-
Day 25 | #90DaysOfDevOps🚀 — Mastering Advanced Git Commands Today I focused on learning and practicing some powerful Git commands that help developers manage code safely and efficiently. Understanding these commands is essential for real-world collaboration and version control. 🔧 What I practiced today: ✅ Git Reset – Learned how to undo commits in different ways: --soft → keeps changes staged --mixed → keeps changes but unstaged --hard → removes commits and deletes changes ✅ Git Revert – Safely undo a commit by creating a new commit without rewriting history. This is the recommended approach for shared repositories. ✅ Handling Merge Conflicts – While reverting a commit, I encountered a conflict and learned how to manually resolve it and continue the revert process. 📚 Updated my Git command reference to include: Setup & Configuration Basic Git Workflow Branching Remote repositories Merging & Rebasing Stash & Cherry Pick Reset & Revert #DevOps #Git #VersionControl #LearningInPublic #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham
To view or add a comment, sign in
-
-
🔥 I Didn’t Just Learn Git… I Practiced It Like a Real DevOps Engineer! 💻🚀 Today, I completed an intensive hands-on Git lab on KodeKloud — and this wasn’t theory. It was pure scenario-based execution. 🧠⚡ Instead of watching tutorials: ✅ Set up a Git repository on a storage server 🗂️ ✅ Cloned a Git repository directly on the server 📥 ✅ Forked a repository 🔱 ✅ Updated the repository with a sample HTML file 🌐 ✅ Created and deleted Git branches 🌿 ✅ Executed real-time Git commands to complete production-style tasks 💻⌨️ This experience helped me understand what actually happens behind the scenes in DevOps workflows—version control, collaboration, branching strategy, and repository management. 🔄 💡 Key Takeaway: Git is not just about git add, commit, and push. It’s about managing code efficiently, collaborating safely, and maintaining a clean version history in real-world environments. 🛠️ Hands-on labs like this bridge the gap between “knowing Git” and “working with Git in production". Step by step, building real DevOps confidence. 💪🚀 #Git #DevOps #KodeKloud #CloudEngineer #VersionControl #ContinuousLearning #HandsOnLearning
To view or add a comment, sign in
-
Day 32 of 100 Days of DevOps with KodeKloud 🚀 Git: Rebase Today I explored one of the most powerful and misunderstood Git commands git rebase. Rebase allows you to move or reapply commits from one branch onto another, creating a cleaner and more linear commit history. Today I practiced: 🔹 Rebasing a feature branch onto main 🔹 Understanding how rebase rewrites commit history 🔹 Handling rebase conflicts 🔹 Continuing or aborting a rebase 🔹 Comparing rebase vs merge Key Concept: Merge → Preserves branch history (creates merge commit) Rebase → Rewrites history for a clean linear timeline Example workflow: Feature Branch Created → Main branch updated → Rebase feature onto main → Clean history → Merge without extra merge commit In real DevOps environments: Rebase is useful for: • Keeping commit history clean • Preparing branches before Pull Requests • Avoiding unnecessary merge commits • Maintaining readable project history But rebase must be used carefully especially on shared branches because it rewrites history. Golden Rule: Never rebase a public/shared branch. Understanding the difference between: • Merge (safe for shared branches) • Rebase (clean history, local branches) gives you advanced control over version management. DevOps is not just about shipping fast It’s about maintaining clean, traceable, and professional workflows. 32 days in. From Git basics → to advanced branch control. #100DaysOfDevOps #Git #DevOpsJourney #Rebase #CI_CD #Linux #Automation #FutureDevOpsEngineer
To view or add a comment, sign in
-
-
Day 25 of my #90DaysOfDevOps journey Today I explored Git Reset vs Git Revert and understood how to safely undo mistakes in Git. Practiced --soft, --mixed, and --hard resets and learned when each should be used. Compared reset vs revert and understood why revert is safer for shared branches. Also researched branching strategies like GitFlow, GitHub Flow, and Trunk-Based Development. This helped me understand how real engineering teams manage code at scale. 🔗 GitHub Notes: https://lnkd.in/gptC5JTw #90DaysOfDevOps #DevOps #Git #VersionControl #TrainWithShubham #LearningInPublic
To view or add a comment, sign in
-
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development