🚀 Day 25 of #90DaysOfDevOps Today I learned how to handle mistakes in Git like a pro 🔥 ✅ Explored git reset (--soft, --mixed, --hard) ✅ Learned safe undo using git revert ✅ Understood when NOT to rewrite history ✅ Studied real-world branching strategies 💡 Key Insight: 👉 Reset rewrites history, Revert preserves it. Knowing the difference is critical in team environments. 🔥 Real-world use: Teams use revert for production safety and reset for local cleanup — avoiding broken pipelines and conflicts. #DevOps #Git #GitHub #LearningInPublic #90DaysOfDevOps #SoftwareEngineering
Git Mistakes: Reset vs Revert in DevOps
More Relevant Posts
-
🚀 Day 24 of #90DaysOfDevOps Dived deeper into Git with advanced concepts 🔥 ✅ Practiced merge vs rebase ✅ Learned stash to manage unfinished work ✅ Understood cherry-pick & squash commits ✅ Explored how Git history actually works 💡 Key Insight: Clean commit history = better collaboration. Knowing when to use merge vs rebase is a game changer. 🔥 Real-world use: These concepts are used daily in team workflows, pull requests, and maintaining clean production code. #DevOps #Git #GitHub #LearningInPublic #90DaysOfDevOps #SoftwareEngineering
To view or add a comment, sign in
-
* Git Merge vs Rebase in GIT While working with Git, understanding merge and rebase is very important. 📌 git merge → Combines branches → Keeps full history → Creates a merge commit 📌 git rebase → Moves your changes on top of another branch → Keeps history clean → No extra merge commit ⚡ Key Difference Merge = Safe & complete history Rebase = Clean & linear history 🚀 Why it’s important? ✔ Helps manage code properly ✔ Makes debugging easier ✔ Used in daily development work 💡 Simple Tip Use merge for team/shared branches Use rebase for cleaning your local commits Let’s keep learning and growing 🚀 #Git #DevOps #Learning
To view or add a comment, sign in
-
Ever noticed this? 😄 ✈️ git commit – smooth, controlled, everything looks fine 🚀 git push – boom! things go live 👥 git add . – adding EVERYTHING like there’s no tomorrow 😂 This meme perfectly captures a common developer habit… We carefully commit changes… We confidently push them… But when it comes to staging, we go all in with git add . 😅 👉 Reality check: Blindly adding everything can sometimes push unwanted files, secrets, or bugs. 💡 Best Practice: Be intentional. Use: • git add <file> • git status before commit Because in DevOps & development… small discipline = big stability #Git #DevOps #ProgrammingHumor #SoftwareEngineering #DeveloperLife
To view or add a comment, sign in
-
-
Today I learned some important GitHub concepts that every developer should know 🚀 ✅ Adding changes using Git ✅ Using git status to track changes ✅ Writing meaningful commit messages ✅ Creating and working with branches ✅ Handling and resolving merge conflicts ✅ Merging changes back into the main branch Today’s journey: create a branch → make changes → face merge conflicts → resolve them → successfully merge everything back into main. These concepts are important because they help keep code organized, make teamwork easier, and prevent accidental loss of code. Step by step, I’m getting better at development, DevOps, and collaboration. #GitHub #Git #VersionControl #Branches #MergeConflict #Coding #DeveloperJourney #DevOps #LearningGitHub
To view or add a comment, sign in
-
-
Day 24 of learning and practicing DevOps 🔁 Worked on advanced Git concepts -- Worked on: • Merging branches (fast-forward vs merge commit) • Handling merge conflicts and resolving them manually • Understanding rebase and how it rewrites history • Squash vs regular merge for clean commit history • Using git stash to manage work-in-progress • Applying cherry-pick for selective commits Important part: once understood the flow: edit → add → continue It became clear that Git is not complicated — it’s just strict about tracking changes. Learning today --> history matters Merge keeps history Rebase rewrites history depends on the situation. Here are my notes: https://lnkd.in/gWM2ZrM2 📍 #DevOps #Git #VersionControl #GitHub #LearningInPublic #90DaysOfDevOps #TrainWithShubham
To view or add a comment, sign in
-
📌 Git Cheat Sheet — Saved this for daily use Going through this reminded me of something simple but powerful: Git isn’t just about commands — it’s about how we manage code and collaborate effectively. 💡 What stood out to me: You don’t need to know everything at once. Mastering the basics like init, add, commit, and push already puts you ahead. As you move into branching, merging, and advanced workflows, things can feel a bit confusing 😅 — but that’s exactly where real learning begins. Small improvements in how we use Git can completely transform team productivity. 👇 Curious to hear from you: Which Git command or workflow do you use the most? #Git #DevOps #VersionControl #SoftwareDevelopment #Coding #LearningInPublic
To view or add a comment, sign in
-
🚀 Day 5/30 – Understanding Branching in Git Leveling up my Git skills today! 💻🔥 As part of my 30 Days DevOps Journey, today I explored one of the most powerful concepts in version control — Branching. Initially, I used to wonder… why do we even need branches? 🤔 But today it clicked — branching allows us to work on new features without disturbing the main codebase. 🔹 What I learned today: • What is a branch in Git • Why branching is important in real-world projects • Difference between main branch & feature branches • Basic commands – branch, checkout, merge 💻 Hands-on: • Created a new branch • Switched between branches • Made changes and merged them back to main 💡 Key takeaway: Branching makes teamwork smooth and safe — no fear of breaking the main code! Consistency + Practice = Growth 🚀 #Day5 #30DaysChallenge #DevOpsJourney #Git #GitHub #LearningByDoing #Consistency #AWS
To view or add a comment, sign in
-
Day 24 – Advanced Git: Merge, Rebase, Stash & Cherry Pick Today I went beyond basic Git and learned how real-world scenarios 🔹 Practiced merge vs rebase — understanding how branches come together 🔹 Explored fast-forward vs merge commits and even created merge conflicts manually 🔹 Learned how rebase rewrites history and keeps it clean 🔹 Tried squash merge vs regular merge — cleaner commits vs detailed history 🔹 Used git stash to handle work-in-progress during context switching 🔹 Applied cherry-pick to move specific commits between branches 💡 Key takeaway: Git is not just about pushing code — it’s about managing history, collaboration, and clean workflows Checkout my work: https://lnkd.in/gcicfMgW #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Git #GitHub #LearningInPublic #DevOpsJourney #TechLearning #CloudComputing #OpenSource #CodingLife #BuildInPublic
To view or add a comment, sign in
-
Stop losing code. Start using Git like a time machine ⏱️ Most beginners think Git is just: add → commit → push I used to think the same… until things broke 😅 - Lost code - Messy commits - Fear of touching branches Then I learned this: 👉 Git is NOT about commands 👉 It’s about states Once you understand the Four Zones: Working Directory → Staging → Local Repo → Remote Everything clicks. So I built this 👇 📘 Mastering Git & GitHub (2026 Edition) A complete guide from beginner → job-ready developer 🚀 WHAT YOU’LL LEARN: 👉 Real developer workflow 👉 Undo anything using reflog 👉 Clean team collaboration (PRs, branches) 👉 Basics of CI/CD 📥 Download the full guide here: 👉 https://lnkd.in/dgw6VDmw Let’s build like engineers 🚀 #Git #GitHub #BackendDevelopment #SoftwareEngineering #CareerGrowth #Developers
To view or add a comment, sign in
-
-
🚀 𝟗𝟎 𝐃𝐚𝐲𝐬 𝐨𝐟 𝐃𝐞𝐯𝐎𝐩𝐬 | 𝐋𝐞𝐚𝐫𝐧𝐢𝐧𝐠 𝐢𝐧 𝐏𝐮𝐛𝐥𝐢𝐜 | 𝐇𝐚𝐧𝐝𝐬-𝐎𝐧 | 𝐏𝐫𝐨𝐣𝐞𝐜𝐭𝐬 🌳 Branching out into Version Control: My First Git Repo! Day 22 of #90DaysOfDevOps is done! ✅ Today, I transitioned from scripting to mastering Git—the absolute backbone of DevOps and modern software engineering. 👨💻 I set up my global config, initialized my first repository, and got hands-on with the core workflow: Working Directory ➡️ git add (Staging) ➡️ git commit (Repository). ✅ git init → git add → git commit → Repeat! 💡 Biggest Aha! Moment: Understanding the Staging Area. It isn’t just an extra annoying step; it’s a drafting space that lets you group related changes together before sealing them into a commit, keeping the project history clean and logical! 🔗💻 GitHub Repo: https://lnkd.in/dZsmFiQT #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Git #GitHub #VersionControl #DevOpsJourney
To view or add a comment, sign in
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