🚀 Day 22 of #90DaysOfDevOps Today, I shifted my focus to the backbone of modern DevOps: Version Control with Git. Understanding how to track changes and manage code history is where the real automation journey begins. What I practiced: ✅ Git Setup & Config: Configuring my identity with user. name and user.email. ✅ Repository Initialization: Creating a local repo from scratch using git init. The Git Workflow: Mastered the flow between Working Directory, Staging Area, and Local Repository. ✅ Commit History: Using git log --oneline to maintain a clean, readable audit trail of my project. ✅ Deep Dive: Exploring the hidden .git/ folder to understand how Git stores metadata and branches. Key takeaway: The Staging Area is a game-changer—it acts as a "buffer zone" that gives us full control over what goes into our history, keeping our production code clean and professional. #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Git #VersionControl #Linux #OpenSource #LearningInPublic
Mastering Git for DevOps with Version Control
More Relevant Posts
-
DevOps Journey – Day Update Today I focused on understanding the fundamentals of Git, a core tool in modern DevOps practices. 🔹 Learned key Git concepts: - Working Directory, Staging Area, Repository - git add → staging changes - git commit → saving changes to repository - git status → tracking file states - git log & git log -2 → viewing commit history 📌 Understanding Git workflows is essential for version control, collaboration, and CI/CD pipelines. Excited to continue building strong DevOps fundamentals step by step! #DevOps #Git #Linux #LearningJourney #CareerGrowth
To view or add a comment, sign in
-
🚀 DevOps Journey Update Spent some time revisiting and brushing up on Git & GitHub fundamentals — tools that quietly power almost every modern development and DevOps workflow. Refreshed concepts like: 🔹 Version Control – tracking changes without the “who broke this?” mystery 🔹 Branches – experimenting safely without disturbing main 🔹 Rollback & Revert – the DevOps safety net when things go sideways 🔹 SSH Authentication – secure GitHub access without the password dance 🔹 Tags & Semantic Versioning – keeping releases organized (v1.0.0, v1.1.0, etc.) Also went through the usual Git muscle memory workout: git clone • git add • git commit • git push • git pull • git branch • git merge • git revert It’s interesting how something developers use daily becomes even more important from a DevOps perspective — where traceability, collaboration, and reliable releases really matter. Next in my DevOps journey: Linux Servers 🐧 Time to spend more quality time with the terminal. #DevOpsJourney #LearningInPublic #Git #GitHub #DevOps #Linux
To view or add a comment, sign in
-
-
Day 30 - Git Hard Reset #100DaysOfDevOps🧑💻 Today’s task focused on rewriting Git history in a controlled environment. A skill that directly translates to real-world production support. The Nautilus team had a test repository where multiple temporary commits were pushed. The requirement was clear: clean up the repository so only two commits remain in history with both the branch pointer and HEAD aligned to one of the commits. To achieve this, I navigated to the repository, identified the correct commit using "git log --oneline", and executed a "git reset --hard commit-hash" to move the branch pointer and HEAD back to the required state while cleaning the working tree. Since this rewrites commit history, I followed up with a "git push --force" to update the remote repository safely. This reflects real production scenarios where accidental commits, sensitive data exposure, or test changes must be surgically removed while keeping repository integrity intact. Understanding when and how to rewrite history, and the risks involved, is critical in DevOps and release engineering workflows. Full documentation and command breakdown available here: https://lnkd.in/g-HZxwzw Another solid step forward. Excited to tackle tomorrow’s challenge and keep building production-ready Git expertise. 🚀 #DevOps #Git #VersionControl #CloudEngineering #SRE #Linux #ContinuousLearning
To view or add a comment, sign in
-
The DevOps Tools Engineer 2.0 exam from Linux Professional Institute (LPI) dedicates the entire objective 701.3 to Source Code Management, with #Git front & center! Dive into this new episode of the #DevOps series, by Fabian Thorns and Uirá Ribeiro, to learn why #Git matters: https://lpi.org/dl72 #SCM #DevOps #Git #VersionControl #opensource #FOSS #SoftwareDevelopment
To view or add a comment, sign in
-
-
The DevOps Tools Engineer 2.0 exam from Linux Professional Institute (LPI) dedicates the entire objective 701.3 to Source Code Management, with #Git front & center! Dive into this new episode of the #DevOps series, by Fabian Thorns and Uirá Ribeiro, to learn why #Git matters: https://lpi.org/dl72 #SCM #DevOps #Git #VersionControl #opensource #FOSS #SoftwareDevelopment
To view or add a comment, sign in
-
-
The DevOps Tools Engineer 2.0 exam from Linux Professional Institute (LPI) dedicates the entire objective 701.3 to Source Code Management, with #Git front & center! Dive into this new episode of the #DevOps series, by Fabian Thorns and Uirá Ribeiro, to learn why #Git matters: https://lpi.org/dl72 #SCM #DevOps #Git #VersionControl #opensource #FOSS #SoftwareDevelopment
To view or add a comment, sign in
-
-
🚀 Day 23 of #90DaysOfDevOps Today, I leveled up from simple commits to the most powerful concept in Git: Branching & GitHub Workflows. 🌿 Isolation is key in DevOps💻—you never want to experiment on your production-ready code. Today, I mastered how to keep the "Source of Truth" safe while building new features. What I practiced: ✅ Feature Branching: Created feature-1 and feature-2 to work on updates without breaking the main branch. ✅The Modern Switch: Transitioned from git checkout to git switch—the cleaner, dedicated way to navigate between branches. ✅Remote Architecture: Finally demystified the relationship between Origin (my personal fork) and Upstream (the original source). ✅ Syncing Workflows: Learned the "Fetch + Merge" dance to keep my local environment perfectly aligned with the original repository. 💯 Key takeaway: Understanding the difference between git fetch and git pull is a game-changer. Fetching gives you that "buffer zone" to review changes before they merge into your local work, ensuring a conflict-free and stable pipeline. ⚡ #90DaysOfDevOps #DevOpsKaJosh #TrainWithShubham #Git #GitHub #Linux #OpenSource #LearningInPublic #CloudComputing
To view or add a comment, sign in
-
-
🚀 Day 2 of My DevOps Journey — Git (Where Real Collaboration Begins) Yesterday was Linux. Today, I stepped into Git — the backbone of DevOps workflows. At first, Git felt simple… until I actually started working with it. 🔹 What I Practiced: Initializing a repo (git init) Branching strategy (main, feature/*) Merging vs Rebasing Fixing merge conflicts Using git stash when switching work Writing meaningful commit messages 🔹 Real Challenge I Faced: I accidentally: ❌ Made changes on the wrong branch ❌ Used stash incorrectly ❌ Faced merge conflicts And honestly… this is where real learning started. 🔹 What I Learned: ✔ git rebase helps keep history clean ✔ Merge conflicts are not errors — they are decisions ✔ Commit messages matter more than we think 💡 Key Learning: “Git is not about commands. It’s about thinking in versions.” I also practiced: Squashing commits using interactive rebase Understanding how teams collaborate using PRs This felt like a big step toward real-world DevOps work. Next → Docker (containers, images, real deployment) If you’ve struggled with Git before, you’re not alone. Let’s grow together 🤝 #DevOps #Git #VersionControl #Cloud #LearningInPublic #BuildInPublic #CI_CD
To view or add a comment, sign in
-
🚀 TASK 1 COMPLETED: GIT INSTALLATION & SETUP ✔ Successfully installed Git ✔ Configured Git with username & email ✔ Initialized a local repository ✔ Added & committed project files ✔ Connected to GitHub ✔ Pushed code to remote repository In this video, I’m demonstrating the complete Git setup process and basic commands used for version control. #Git #DevOps #VersionControl #GitHub #LearningInPublic #TechJourney #ContinuousImprovement #TechnoHacks #Mentor Sandip Gavit
To view or add a comment, sign in
-
The first thing I do when starting a new project is initialize Git and create a repository on Github, Gitlab, or Codeberg. No matter the size of your project, even if it's just a couple of code files for an experiment and you're the only one working on it, I recommend doing it in a version control system. Git allows you to add new lines and remove old lines without worrying about losing anything valuable in your files. You can view the change history and revert to a previous version at any time. If you haven't used it yet, there's a great guide (https://lnkd.in/ez6USXvq) that will introduce you to the basic commands and get you up to speed on workflows. Every project of mine starts with these commands in the console: ``` git init git add . git commit -m 'Init' git remote add origin ... git push -u origin master ``` #VCS #Git #Repository #Github #Gitlab #Codeberg
To view or add a comment, sign in
-
Explore related topics
- How to Use Git for Version Control
- How to Use Git for IT Professionals
- DevOps Principles and Practices
- Version Control Documentation Strategies
- Advanced Ways to Use Azure DevOps
- How to Understand Git Basics
- How to Optimize DEVOPS Processes
- Key Skills for a DEVOPS Career
- GitHub Code Review Workflow Best Practices
- Tips for Continuous Improvement in DevOps Practices
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