<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Akhila Korthiwada on Medium]]></title>
        <description><![CDATA[Stories by Akhila Korthiwada on Medium]]></description>
        <link>https://medium.com/@akhilakorthiwada98?source=rss-b72483880bc1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Akhila Korthiwada on Medium</title>
            <link>https://medium.com/@akhilakorthiwada98?source=rss-b72483880bc1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:07:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akhilakorthiwada98/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From GitHub to CI Server: Learn How Jenkins Pulls Your Code Automatically]]></title>
            <link>https://medium.com/@akhilakorthiwada98/from-github-to-ci-server-learn-how-jenkins-pulls-your-code-automatically-a508898fd751?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a508898fd751</guid>
            <category><![CDATA[jenkins-ci]]></category>
            <category><![CDATA[jenkins-pipeline]]></category>
            <category><![CDATA[configure-build]]></category>
            <category><![CDATA[learning-devops]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Fri, 03 Apr 2026 09:54:27 GMT</pubDate>
            <atom:updated>2026-04-03T09:54:27.038Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sC2Kjf7XaF26ABP-YBfRtA.jpeg" /></figure><p><strong><em>Hello, Welcome to Day 19 of my DevOps learning journey!</em></strong></p><p>After learning the fundamentals of Git and GitHub, the next big step in your DevOps journey is automation — and this is where Jenkins comes into play.</p><h3>Introduction</h3><p>In real-world projects, developers continuously push code to GitHub. Manually downloading and building that code every time is inefficient and error-prone. To solve this, we use a CI (Continuous Integration) tool like Jenkins that automatically pulls the latest code from GitHub and triggers a build process.</p><p>This integration ensures that every code change is tested, validated, and ready for deployment without manual effort. It not only saves time but also improves code quality and team productivity.</p><p>In this blog, we’ll understand how to connect GitHub with Jenkins and automatically pull code to a CI server.</p><h3><strong>What Are We Trying to Achieve?</strong></h3><p>Whenever Developers push code to GitHub, Jenkins should:</p><p>✅ Automatically fetch the latest code<br> ✅ Start a build<br> ✅ Execute tasks (testing, deployment, etc.)</p><p>This process is called Continuous Integration (CI).</p><p>In this blog we’ll understand the first point i.e, “<strong>Automatically fetch the latest code”.</strong></p><h3><strong>Tools We’ll Use</strong></h3><p>• GitHub (Code repository)<br> • Jenkins (CI Tool)<br> • Git (Version control system)</p><h3><strong>Architecture Flow</strong></h3><p>Developer → Push Code → GitHub → Jenkins → Build → Deploy</p><p>Please read Introduction to Jenkins and how to connect jenkins to server <a href="https://medium.com/@akhilakorthiwada98/jenkins-basics-explained-what-why-and-how-to-installing-jenkins-on-server-68ee32c11532">here</a> and come to this blog for understanding CI more Clearly.</p><h3>Step 1: Install Required Plugins in Jenkins</h3><p>Before connecting Jenkins to GitHub,<br><strong>Install Suggested Plugins</strong></p><h3>Step 2: Configure GitHub Repository in Jenkins</h3><p>1. Open Jenkins dashboard<br> 2. Click on New Item<br> 3. Enter a project name (Referred as Job Name)<br> 4. Select Freestyle Project<br> 5. Click OK</p><p><strong>Now configure: </strong>Select Source Code Management<br> • Select Git<br> • Enter your GitHub repository URL</p><p>Example:</p><p><a href="https://github.com/username/repo-name.git"><strong>https://github.com/username/repo-name.git</strong></a></p><ul><li>Add credentials (if private repo)</li><li>No Credentials Required for Public Repo.</li></ul><h3><strong>Step 3: Configure Build Trigger</strong></h3><p>This is where automation happens 🚀</p><p>There are 3 ways to Configure Build</p><ol><li>Poll Scm</li><li>Build Periodically</li><li>Using Webhooks</li></ol><h3>How to configure Poll Scm in Jenkins</h3><p>To <a href="https://www.geeksforgeeks.org/devops/how-to-configure-poll-scm-jenkins/">configure Poll Scm in Jenkins</a> follow the given steps below:</p><h3>Step 1: Login to Jenkins Dashboard</h3><p>This is first step to configure Poll Scm in Jenkins, login to your Jenkins dashboard using your user id and password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/0*1vvtlwTHM5duk9mw.jpg" /></figure><h3>Step 2: Create or Select a Job</h3><p>Now after login to Jenkins dashboard , choose a job in Jenkins or either create a new one.</p><h3>Step 3: Configure Poll Scm</h3><p>After selecting the Job, Navigate to the left side of the panel and choose the configure option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Sgc2slg7w4xa28uF.png" /></figure><p>Now , Navigate to the build trigger section , and check the the poll scm.</p><h3>Step 4: Cron Expression</h3><p>Enter the cron expression, suppose you want Jenkins to check the changes in every 15 minutes . You can write a cron expression for it as follow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1_G7ljhF-hS7k3x5.png" /><figcaption>Step 5: Save the changes</figcaption></figure><p>Now, save the changes to apply Poll Scm configuration in your Job.</p><p>You have successfully configured Poll Scm in Jenkins</p><h3>Real-time Use Case of Poll SCM</h3><p>Suppose a situation where the development team is working on a web application using Git as the version control system and Jenkins for the continuous integration.</p><h3>Use Case</h3><p><strong>Project Nature:</strong> The project mainly involves normal addition of features and bug fixing.</p><p><strong>Poll SCM Configuration:</strong></p><ul><li><strong>Jenkins Job Setup: </strong>Jenkins job is to configured using Poll SCM for every 5 minutes (H/5 * * * *).</li><li><strong>Source Code Repository: </strong>The project source code is hosted on a Git repository.</li></ul><h3>Workflow</h3><ul><li>Now throughout the day developer make changes in the code and then commit them to the Git repository.</li><li>Jenkins configured with Poll SCM will going to check the repository in every 5 minutes.</li><li>If changes are detected Jenkins will initiates a build</li><li>If there is issues with the integration or if tests fails then developer will receive feedback immediately within the 5 minute of the polling interval.</li></ul><p>Now , Lets Learn how to <strong>Configure Build using Webhook In Jenkins</strong></p><h3><strong>How to Configure Webhooks in Jenkins</strong></h3><h3>Step 1: Configure Webhook In Jenkins</h3><ul><li>Open the Jenkins job you created or chose and go to its configuration page.</li><li>Scroll down to the ‘Build Triggers’ section and look at the option for ‘GitHub hook trigger for GITScm polling.’</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Mi4lN_xlONACovpa.jpg" /></figure><h3>Step 2: Configure External Service</h3><ul><li>In the event that you’re utilizing a version control system like <a href="https://www.geeksforgeeks.org/git/difference-between-gitlab-and-github/">GitHub or GitLab</a>, explore to the repository settings.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/0*pWiDPF-ALam-8isn.jpg" /></figure><ul><li>Search for the webhook settings or integrations section and add a new webhook.</li><li>Give the URL of your Jenkins server along with <strong>github-webhook</strong></li><li>Indicate the events that should to trigger the webhook, for example, code pushes or pull requests.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CN-3yA-ya7TGepdW.jpg" /></figure><h3>Step 3: Test The Webhook</h3><ul><li>Make a test change in your version control repository, for example, pushing a new commit or making a pull request.</li><li>Check the Jenkins job to check whether it gets triggered automatically because of the webhook. You should to notice the job running in view of the configured webhook event triggers.</li></ul><p>You will see:<br> • Build history<br> • Console output<br> • Status (Success/Failure)</p><p>webhooks act as a strong mechanism for automating Jenkins jobs in real time events, subsequently upgrading the efficiency of continuous integration and delivery processes in software development. By utilizing webhooks, associations can streamline their work processes, reduce manual intercession and speed up the speed of software delivery.</p><h3>How to Configure Build periodically in Jenkins</h3><h3><strong>Step 1: Log in to Jenkins Dashboard</strong></h3><p>This is the first step before proceeding further, You can log in to your Jenkin dashboard using your user ID and password.</p><h3><strong>Step 2: Select a Project</strong></h3><p>Choose the Jenkins project for which you want to configure the periodic build. If you don’t have any project, you can create one by selecting “New Item” and then choosing the project type (e.g. Freestyle project, Pipeline).</p><h3><strong>Step 3: </strong>Configure Build Triggers</h3><p>Within your project, first click on the configure tab then find the “Build Triggers” section. Check the “Build periodically” option.</p><h3><strong>Step 4: Specify the Schedule</strong></h3><p>In the “<strong>Schedule</strong>” field, enter the cron expression that will defines when the build should run or in simple words which job will run when. The cron syntax have five fields representing these minute, hour, day of the month, month, and day of the week, respectively.</p><p>To schedule build for every minute its cron expression look like this:</p><pre>* * * * * // Automatically build for every minute</pre><h3><strong>Step 5: Save the Configuration</strong></h3><p>You can save the configuration by clicking on save button.</p><p>Configuring builds periodically in Jenkins is a powerful feature that make sure that the projects are automatically building at regular interval of time, it reduces manual intervention as most of the work is getting done automatically by machine itself eventually simplifies the process and faster it. By understanding and using cron expressions, You can build or schedule jobs periodically as per the project need easily.</p><h3><strong>Conclusion</strong></h3><p>This day of learning helped me understand how to configure build in jenkins using 3 ways.</p><ul><li>Webhooks : Jenkins instantly triggers a build when code is pushed to GitHub (real-time automation).</li></ul><p>• Poll SCM: Jenkins checks the repository at regular intervals and triggers a build only if changes are detected (slightly delayed).</p><p>• Build Periodically: Jenkins runs builds at scheduled times regardless of code changes (useful for routine jobs).</p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a508898fd751" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jenkins Basics Explained: What, Why, and How to Installing jenkins on server]]></title>
            <link>https://medium.com/@akhilakorthiwada98/jenkins-basics-explained-what-why-and-how-to-installing-jenkins-on-server-68ee32c11532?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/68ee32c11532</guid>
            <category><![CDATA[cicd]]></category>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[learning-devops]]></category>
            <category><![CDATA[introduction-to-jenkins]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Thu, 02 Apr 2026 06:44:41 GMT</pubDate>
            <atom:updated>2026-04-02T06:44:41.997Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zQnLp9jUQmN6c4wdRMB5dA.png" /></figure><p><strong><em>Hello, Welcome to Day 18 of my DevOps learning journey!</em></strong></p><p>After spending the last few days learning and practicing <strong>Linux, Git and GitHub</strong> today felt different.</p><p>Today, I finally stepped into the <strong>actual DevOps tools world</strong>.</p><p>And the tool I started with is <strong>Jenkins</strong></p><p>At first, I used to think Jenkins is just another tool for deployment.<br>But after exploring it, I realized it’s much more powerful.</p><p>Jenkins is an <strong>automation server</strong> that helps in:</p><ul><li>Building applications</li><li>Running test cases</li><li>Deploying code automatically</li></ul><p>In simple words:<br><strong>Jenkins automates the entire development pipeline (CI/CD).</strong></p><p>So before understanding what is jenkins, Lets first understand what is CI/CD Pipeline.</p><h3><strong>What is CI/CD Pipeline?</strong></h3><p>CI/CD stands for Continuous Integration and Continuous Delivery — a practice that introduces automation and continuous monitoring across the entire software development lifecycle (SDLC). CI handles code integration, building, and testing. CD automates deployment/delivery to production. Together, they form a unified pipeline that accelerates software delivery without sacrificing quality.</p><ul><li>Continuous Integration is the first part of a software delivery pipeline, where application code is integrated, built and tested.</li><li>Continuous Delivery is the second stage, where the application is deployed to its production environment to be utilized by end-users.</li></ul><h3>What is Continuous Integration?</h3><p>Continuous Integration (CI) is the practice of automatically integrating, building, and testing code changes as developers push them to a shared version control system — producing a validated, deployable artifact at the end of each cycle.</p><p>Modern software development is a team effort with multiple developers working on different areas, features, or bug fixes of a product. All these code changes need to be combined to release a single end product. Manually integrating all these changes can be a near-impossible task, and there will inevitably be conflicting code changes with developers working across multiple streams simultaneously.</p><p>Continuous Integration offers the ideal solution by allowing developers to continuously push their code to the VCS (Version control system). These changes are validated, and new builds are created from the new code that will undergo automated testing.</p><p>This testing typically includes unit and integration tests to ensure that changes do not cause any issues in the application. Continuous Integration also ensures that all code changes are properly validated, tested, and that immediate feedback is provided to the developer from the pipeline in the event of an issue, enabling them to fix problems quickly.</p><p>The end goal of the Continuous Integration process is to create a deployable artifact.</p><h3>What is Continuous Delivery?</h3><p>Continuous Delivery (CD) automates the deployment of a validated artifact from the CI stage through staging, pre-production, and production environments — including infrastructure, configuration, and monitoring responsibilities.</p><p>Once a deployable artifact is created, Continuous Delivery takes over by automating the entire delivery process. CD is responsible for application deployment as well as infrastructure and configuration changes, monitoring, and maintaining the application. CD can extend its functionality to include operational responsibilities such as infrastructure management using automation tools such as:</p><ul><li>Terraform</li><li>Ansible</li><li>Chef</li><li>Puppet</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RIpsJXidYu1SIUjo.png" /></figure><h3>What is Jenkins?</h3><p>Jenkins is an open source server for continuous integration and continuous deployment (CI/CD) which automates the build, test, and deploy phases of software development. With numerous plugins you can easily integrate, along with choices of tools, programming languages, and cloud environments, Jenkins is highly flexible and makes it easier to efficiently develop reliable apps.</p><h3>Why use Jenkins for CI/CD</h3><p>You might wonder why Jenkins is a good option for building your CI/CD pipeline. Here are some of the reasons it is popular:</p><ul><li><strong>Extensive plugin support:</strong> Whatever you want to do, there is likely already a plugin for it, which speeds and simplifies your work.</li><li><strong>Active open source community: </strong>Being free of licensing costs is just the beginning. It is supported by an active community, contributing solutions, advice, ideas, and tutorials.</li><li><strong>Platform independent:</strong> You are not tied to a specific operating system.</li><li><strong>Scalable: </strong>You can add nodes as needed and even run builds on different machines with different operating systems.</li><li><strong>Integratable: </strong>Whatever tools you are using, you can likely use them with Jenkins.</li><li><strong>Time-tested: </strong>Jenkins was one of the first CI/CD tools, so it is tried and true.</li></ul><h3>Jenkins CI/CD pipeline example</h3><p>What does a CI/CD pipeline built using Jenkins look like in action? Here is a simple web application development process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/0*Jt9jfv3Ig5O3Q11b.png" /></figure><ol><li>The developer writes the code and commits the changes to a centralized code repository (GitHub).</li><li>When the repo detects a change, it triggers the Jenkins server.</li><li>Jenkins gets the new code and carries out the automated build and testing. If any issues are detected while building or testing, Jenkins automatically informs the development team via a pre-configured method, like email or Slack.</li><li>The final package is uploaded to AWS Elastic Beanstalk, an application orchestration service, for production deployment.</li></ol><h3>⚙️ How to Install Jenkins on a Server (Amazon Linux Server Example)</h3><h3>Step 1: Install Java (Jenkins dependency)</h3><p>since Jenkins is developed using Java, We need java to run Jenkins</p><pre>yum install java-17-amazon-corretto -y</pre><h3>Step 2: Add Jenkins Repository</h3><pre>sudo wget -O /etc/yum.repos.d/jenkins.repo \<br>    https://pkg.jenkins.io/rpm-stable/jenkins.repo</pre><h3>Step 3: Install Jenkins</h3><pre>yum install jenkins -y</pre><h3>Step 4: Start Jenkins Service</h3><pre>systemctl start jenkins</pre><p>Check status:</p><pre>systemctl status jenkins</pre><h3>Step 5: Access Jenkins UI</h3><p>Open browser:</p><pre>http://&lt;your-server-ip&gt;:8080<br><br>http://44.203.233.39:8080 // Url for accessing jenkins through browser</pre><p>Default Jenkins runs on <strong>port 8080</strong></p><p><strong>Make sure you add port 8080 in your security groups of the server</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VSsS1s4-ypl4QiYCgjvtZQ.png" /></figure><h3>Step 6: Unlock Jenkins</h3><p>Get initial admin password:</p><pre>cat /var/lib/jenkins/secrets/initialAdminPassword // you will get this URL from the jenkins browser</pre><p>Execute this command to get the password and paste the password in the Jenkins.</p><h3>Step 7: Install Suggested Plugins</h3><ul><li>Choose <strong>Install Suggested Plugins</strong></li><li>Create admin user</li></ul><p>And Jenkins is ready 🎉</p><h3>Conclusion</h3><p><strong>CI/CD</strong> is a process that automates building, testing, and deploying code so changes can be delivered quickly and reliably.<br> <strong>Jenkins</strong> is a tool that enables this by automating the entire pipeline from code commit to deployment</p><p>Starting Jenkins marks the shift from learning concepts to actually practicing DevOps. This is just the beginning of building real automation and CI/CD pipelines 🚀</p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68ee32c11532" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Pull Requests in GitHub & Creating a Pull Request]]></title>
            <link>https://medium.com/@akhilakorthiwada98/understanding-pull-requests-in-github-creating-a-pull-request-6ff7b60b08ca?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ff7b60b08ca</guid>
            <category><![CDATA[github-pr]]></category>
            <category><![CDATA[learning-devops]]></category>
            <category><![CDATA[github-learning]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Mon, 30 Mar 2026 06:14:32 GMT</pubDate>
            <atom:updated>2026-03-30T06:14:32.449Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h5YyyudJKbfQJsKkTzn1Sw.jpeg" /></figure><p><strong><em>Hello, Welcome to Day 17 of my DevOps learning journey!</em></strong></p><p>This Articles covers understanding a GitHub concept Pull Request and How to create a Pull Request (PR)</p><p>Please read GitHub Introduction <a href="https://medium.com/p/c5657cd2858e?postPublishedType=initial">here</a></p><h3>What Is a Pull Request in GitHub?</h3><p>A pull request is a GitHub feature used to submit contributions to a project from outside contributors. It is a way of submitting code or documentation to a repository by suggesting changes through a process known as “pulling.” Pull requests provide a way for developers to collaborate on a project from outside the core team.</p><h3>Understand how pull requests work</h3><p>Pull requests are a way for developers to make a contribution to a project without needing to directly push their code to the repository. Essentially, they are a way for developers to submit their proposed changes and have them considered by the project maintainer.</p><p>When a developer makes a pull request, the project maintainer can review the proposed changes, accept the pull request, and merge the pull request into the project repository. This makes it easier for the project maintainer to review the code and ensure that the proposed change is valid and beneficial to the project.</p><h3>How to Create a Pull Request in GitHub (Step-by-Step Guide)</h3><p>A <strong>Pull Request (PR)</strong> is how you propose changes to a repository and collaborate with others. It allows your code to be reviewed before merging into the main branch.</p><h3>Step 1: Clone the Repository</h3><p>First, get the project to your local machine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*vndIx56GO2UMwg9nobyDqQ.png" /></figure><p>Use the following commands to clone the git Repository.</p><pre>git clone https://github.com/username/repository.git<br>cd repository</pre><h3>Step 2: Create a New Branch</h3><p>Never work directly on main.</p><p><strong>Command:</strong></p><pre>git checkout -b feature-login</pre><p>This command creates + switches to a new branch</p><h3>Step 3: Make Changes in Your Code</h3><p>Edit files in your project using any editor (Vim, etc.)</p><pre>vim login.html # opens login.html file<br> </pre><h3>Step 4: Stage Changes</h3><p>Tell Git which changes to track.</p><pre>git add login.html #adds login.html to git for tracking</pre><h3>Step 5: Commit Changes</h3><p>Save your work locally.</p><p><strong>Command:</strong></p><pre>git commit -m &quot;Added login feature&quot; login.html</pre><h3>Step 6: Push Branch to GitHub</h3><p>Now send your branch to GitHub</p><pre>git push origin feature-login</pre><h3>Step 7: Open Pull Request on GitHub</h3><p>After pushing, GitHub will show a button.</p><h3>Steps:</h3><ol><li>Go to your repository on GitHub</li><li>Click <strong>“Compare &amp; Pull Request”</strong></li></ol><h3>Step 8: Add PR Title &amp; Description</h3><p>Explain your changes clearly.</p><h3>Example:</h3><p><strong>Title:</strong><br> Added login feature</p><p><strong>Description:</strong></p><ul><li>Created login form</li><li>Added validation</li><li>Improved UI</li></ul><h3>Step 9: Create Pull Request</h3><p>Submit your PR by Clicking on <strong>Create Pull Request</strong></p><p>Now, Review the changes and Click on<strong> Merge</strong></p><p>That’s it, You have pushed your changes to github and created PR, Merged the changes to Main</p><h3>Pro Tip</h3><ul><li>Always <strong>pull latest changes from GitHub</strong> before starting for avoiding conflicts.</li></ul><h3><strong>Conclusion</strong></h3><p>On Day 17, I learned how to create a Pull Request using Git and GitHub, taking one more step toward real-world development and collaboration.</p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ff7b60b08ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Zero to GitHub: From Sign-up to First Push]]></title>
            <link>https://medium.com/@akhilakorthiwada98/from-zero-to-github-from-sign-up-to-first-push-c5657cd2858e?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5657cd2858e</guid>
            <category><![CDATA[github-introduction]]></category>
            <category><![CDATA[github-signup]]></category>
            <category><![CDATA[learning-devops]]></category>
            <category><![CDATA[create-first-repo]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Sun, 29 Mar 2026 10:10:38 GMT</pubDate>
            <atom:updated>2026-03-29T10:10:38.851Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*WaXGKOo9QnWbddNGtDMJDw.jpeg" /></figure><p><strong><em>Hello, Welcome to Day 16 of my DevOps learning journey!</em></strong></p><p>After spending days mastering Git — commits, branches, and even handling conflicts — I reached a point where something felt missing.</p><p>All my code was living safely… but only on my local machine.</p><blockquote>What if my system crashes?<br> How do I share this code with others?<br> How do real teams collaborate?</blockquote><p>That’s when I stepped into the world of GitHub</p><p>And trust me — this is where things start to feel real.</p><p><strong>What Are We Going to Do in This Blog?</strong></p><p>By the end of this blog, we will learn:<br> • How to create a free GitHub account<br> • How to create your first repository<br> • How to connect your local project to GitHub<br> • How to push your code to GitHub</p><h3>Are there any pre-requisitions that are required to Sign Up in GitHub?</h3><p>If you are willing to create an account on GitHub, the only thing you require is a Gmail account.</p><h3><strong>Create a GitHub Account</strong></h3><p>1. Open your web browser and navigate to the GitHub website: <a href="https://github.com/">https://github.com/</a><br>2. Click on the “Sign Up” button in the upper-right corner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/0*8bEDz6hMx6fVYPbA.png" /></figure><p>3. Follow the prompts to create your account. You’ll need to provide a username, email address, and password.<br>4. Verify your email address by clicking the link sent to your email.</p><h3><strong>Create your First Repository</strong></h3><p><em>Think of a repository (repo) as a project folder on GitHub.</em></p><p>1.Log in to your GitHub account.<br>2. Click the “+” icon in the upper-right corner and select “New Repository”.<br>3. Fill in the repository name, description, visibility (public or private), and other settings as needed like Add README (Optional)<br>4. Click “Create repository”.</p><p><strong>Your first repo is ready.</strong></p><h3>Connect Your Local Project to GitHub</h3><p><em>Now comes the important part — linking your local code to GitHub.</em></p><ol><li>Go to your project folder: cd your-project-folder</li></ol><pre>cd Uberfolder</pre><p>2. Initialize Git (if not already done): git init</p><p><strong>Add files:</strong></p><p>git add login.html</p><p><strong>Commit your code:</strong></p><p>git commit -m “login features added” login.html</p><p>Now connect to GitHub using the repo URL.</p><p><strong>Add remote origin:</strong></p><p>git remote add origin <a href="https://github.com/your-username/your-repo-name.git">https://github.com/your-username/your-repo-name.git</a> (copy the link from gitHub)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*E9IbnVgS-6bDYvoqnTipHg.png" /></figure><p>This step connects your local project → GitHub repo</p><h3><strong>Push Your Code to GitHub</strong></h3><p>Now let’s send your code to the cloud GitHub</p><p>Use Push command:</p><p><strong>git push -u origin main</strong></p><p>If your branch is master, use:</p><p><strong>git push -u origin master</strong></p><p>If prompted, provide your GitHub username and password created from the Developer Settings.</p><p>That’s it! Your code is now live on GitHub.</p><p>You just moved from local development → global collaboration</p><h3><strong>Conclusion</strong></h3><p>This marks your first real step from working alone to building in the open. By creating a repository, connecting your local project, and pushing your first commit to GitHub, you’ve moved your code from your machine to the world.</p><p>It might feel like a small action, but this is exactly how real development begins — sharing, collaborating, and growing.</p><p>From here on, your code is no longer just yours… it’s part of a bigger journey.✨</p><p>What’s Next?</p><blockquote>In the next blog, we’ll explore:</blockquote><blockquote><strong>Pulling code from GitHub<br> Understanding collaboration workflows</strong></blockquote><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5657cd2858e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Merge vs Rebase: The Interview Question You Can’t Afford to Miss]]></title>
            <link>https://medium.com/@akhilakorthiwada98/merge-vs-rebase-the-interview-question-you-cant-afford-to-miss-d29796b39bf7?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d29796b39bf7</guid>
            <category><![CDATA[learning-git]]></category>
            <category><![CDATA[learning-devops]]></category>
            <category><![CDATA[git-merge-vs-rebase]]></category>
            <category><![CDATA[git-interview-questions]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Sun, 29 Mar 2026 05:51:47 GMT</pubDate>
            <atom:updated>2026-03-29T05:51:47.322Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*fHOMsmGgXGXMh-1WTgagsw.jpeg" /></figure><p><strong><em>Hello, Welcome to Day 15 of my DevOps learning journey!</em></strong></p><p>In this article, we will clearly understand one of the most asked Interview Question:</p><h3>What’s the main difference between git rebase and git merge?</h3><h3><strong>Introduction</strong></h3><p>Imagine you and your teammate are working on the same project.<br> • You’re building a new feature<br> • Your teammate is fixing a critical bug</p><p>Both of you started from the same code… but now your changes are different.</p><p>The big question is:<br> How do we combine both changes into one clean codebase?</p><p>This is where two powerful Git concepts come in:<br> • Merge<br> • Rebase</p><p>At first, they seem similar… but they behave very differently. Both merge and rebase are used to combine changes from one branch into another</p><p>But the way they do it is completely different.</p><h3><strong>What is Git Merge?</strong></h3><p>Merge is like saying:</p><p>“Let’s combine both histories as they are.”</p><p>Git takes your feature branch and merges it into another branch (like main) by creating a merge commit.</p><p>Simple Understanding:</p><p>Think of two roads merging into one highway.</p><p>Both roads keep their original paths, and a junction is created.</p><p><strong>Example</strong></p><pre>git checkout main #switches to main branch<br>git merge featureLogin # merging changes from featureLogin to main</pre><p>Result:<br> • History is preserved<br> • A new merge commit is created</p><h3><strong>What is Git Rebase?</strong></h3><p>Rebase is like saying:</p><p>“Let’s rewrite my changes as if I started from the latest code.”</p><p>It moves your commits to the top of another branch.</p><p><strong>Simple Understanding</strong></p><p>Imagine rewriting your notes neatly after seeing the latest version — <br> so it looks like you wrote everything in order from the beginning.</p><p><strong>Example</strong></p><pre>git checkout featureLogin # switches to featureLogin branch<br>git rebase main  # Integrating changes from main branch</pre><p>Result:<br> • No merge commit<br> • Clean, linear history</p><h3><strong>Main Difference</strong></h3><p>Git merge creates a new commit that combines changes from two branches while preserving the original commit history of both branches. Git rebase, on the other hand, rewrites commit history by taking commits from one branch and replaying them on top of another branch.</p><p>Merge maintains the chronological timeline of development, showing when features were actually integrated. Rebase creates a linear, cleaned-up history that appears as if all changes were made sequentially. The choice between them depends on whether you prioritize historical accuracy or narrative clarity.</p><h3>When should I use git merge instead of git rebase?</h3><p>Use git merge when working in collaborative environments where multiple developers contribute to the same codebase and you need to preserve the context of how features were developed together. Merge is essential for audit-sensitive projects that require complete traceability of code changes for compliance purposes. It’s also the safer choice when working with public branches that other team members have based their work on, since merge doesn’t rewrite existing commit history. Additionally, merge works well for teams that prefer clear feature boundaries and periodic integration cycles rather than continuous history curation.</p><h3>When should I use git rebase instead of git merge?</h3><p>Git rebase is ideal for private feature branches where you’re the only developer making changes and want to present a clean, logical sequence of commits to your team. Use rebase when you need to eliminate experimental commits, fix commit messages, or reorganize changes into a more coherent story before sharing your work. It’s particularly valuable during active development phases when you want to maintain a linear project history that’s easy to follow and debug. Rebase also works well for teams that prioritize code review efficiency and prefer curated commit histories over chronological authenticity.</p><h3><strong>Best Practice (Real Industry Tip)</strong></h3><p>Use merge for:<br> • Team collaboration<br> • Shared branches</p><p>Use rebase for:<br> • Cleaning your own commits<br> • Before creating pull requests</p><h3><strong>Conclusion</strong></h3><p>Understanding merge vs rebase is not just about Git commands — it’s about choosing the right strategy for managing code effectively in real-world projects.</p><p>Merge gives you safety and preserves history, making it ideal for team collaboration.<br> Rebase gives you a clean, linear history, making your commits easier to read and maintain.</p><p>The key is not which one is better — but when to use which.</p><p>💡 A practical mindset:<br> • Use rebase to organize and clean your local work<br> • Use merge when integrating changes in shared branches</p><p>This is the end of Git Learning series, In the next blog, we will explore another important Tool <strong>GitHub.</strong></p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d29796b39bf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Branching: That One Core Concept You Can’t skip]]></title>
            <link>https://medium.com/@akhilakorthiwada98/git-branching-that-one-core-concept-you-cant-skip-9b08b6694d1e?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b08b6694d1e</guid>
            <category><![CDATA[git-branching]]></category>
            <category><![CDATA[git-learning-series]]></category>
            <category><![CDATA[git-stash]]></category>
            <category><![CDATA[devops-learning-path]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Sat, 28 Mar 2026 07:43:50 GMT</pubDate>
            <atom:updated>2026-03-28T07:43:50.320Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*UYD10ffb1HouW6Cx0-yNxQ.jpeg" /></figure><p><strong><em>Hello, Welcome to Day 14 of my DevOps learning journey!</em></strong></p><p>In this article, we will clearly understand:</p><p><strong>Git Branching: One of the Most Important Concepts in Git</strong></p><h3><strong>Introduction</strong></h3><p>Imagine you’re working on a real-time project — maybe building a feature for a login system. Everything is stable, and your main code is running perfectly. But now, you want to try a new feature or fix a bug… without breaking the working application.</p><p>This is exactly where Git branching comes into play.</p><h3><strong>What Exactly is a Branch?</strong></h3><p>In Git, think of your project as a growing tree.<br> <strong>The Main Branch</strong>: This is the trunk. It’s your “official” code that actually works and is ready for the world to see.</p><p><strong>A Branch</strong>: This is a “parallel universe.” When you create a branch, you’re taking a snapshot of the code at that exact moment and moving it to a side path where you can experiment freely like trying new features or making a bug fix.</p><p>If you mess up on a branch, the “Main” trunk remains perfectly safe and untouched. If your experiment works, you can “merge” that branch back into the trunk.</p><p><strong>A branch in Git allows you to create a separate line of development. You can work independently, experiment freely, and merge changes only when you’re confident.</strong></p><h3><strong>Why Use Branches?</strong> (The “Chaos Theory” Prevention)</h3><p>Without branches, working on a team is a nightmare. Imagine three people trying to edit the same line of code at the exact same time. It’s like trying to have three people hold one pen to draw a single picture.<br> With branches, you can:<br><strong> Feature Branching</strong>: Build a new “features” without breaking the existing Development.<br><strong> Bug Fixes</strong>: While you’re halfway through a big update, a tiny bug appears on the live site. You can jump to a “Hotfix” branch, repair it, and jump back to your update.<br><strong> Experimentation</strong>: Want to see if the app works better in neon pink UI? Try it on a branch. If it’s ugly, just delete the branch. It never happened.</p><h3><strong>Simple Explanation</strong></h3><p>You and your team are working on an e-commerce application:<br> • <strong>main </strong>→ Production-ready code (main branch)<br> • <strong>feature/payment</strong> → You are building a payment gateway (payment feature branch)<br> • <strong>feature/cart</strong> → Another developer works on cart functionality (cart feature branch)</p><p>Each person works in separate branches, avoiding conflicts and confusion.</p><h3><strong>Why Do We Need Branching?</strong></h3><p>Without branching:<br> • Everyone works on the same code<br> • High chances of breaking production<br> • Difficult to manage changes</p><blockquote><strong>Branching helps teams move faster without breaking things</strong>.</blockquote><h3><strong>How Git Branching Works (Core Concept)</strong></h3><p>Git maintains a pointer called HEAD, which points to the current branch.</p><p>When you create a new branch:<br> • Git does NOT copy files<br> • It just creates a pointer to a commit</p><h3>Key Commands to Know in Branching</h3><p><strong>1.Check Existing Branches</strong></p><pre>git branch</pre><p>when you run the above command it displays</p><ol><li>Shows all available branches</li><li>Current branch will be highlighted with <strong>*</strong></li></ol><p><strong>2. Create a New Branch</strong></p><pre>git branch branchname # creates new branch<br><br>#example<br>git branch featureLogin</pre><p>when you run the above command it Creates a branch, but does NOT switch to it</p><p><strong>3. Switch to a Branch</strong></p><pre>git checkout branchname # switches to another branch<br><br>#example <br><br>git checkout featureLogin #Switches to featureLogin branch</pre><p>when you run the above command it switch to featureLogin branch</p><p><strong>4. Create + Switch (Best Practice)</strong></p><pre>git checkout -b featurePayment</pre><p>when you run the above command it creates and switch to featurePayment branch . This is the most commonly used command in real projects.</p><p><strong>5. Make Changes and Commit</strong></p><pre>git add login.html # adds login.html file to git for tracking<br>git commit -m &quot;Added login functionality&quot; login.html #commits login.html and moves to Repository</pre><p>when you run the above command it commits login.html file and the file is now in Repository, To check you can run</p><pre>git log # gives logs of latest commits</pre><p><strong>6. Merge Branch into Main</strong></p><pre>git checkout main   # we should be in main branch to merge other branch features to main<br>git merge featureLogin   # we are merging featureLogin branch to main branch</pre><p>when you run the above command it Combines your featureLogin branch changes into the main branch</p><ul><li>You need atleast one commit to use git branch for merge</li></ul><p><strong>7. Delete a Branch</strong></p><pre>git branch -d featureLogin # deletes featureLogin branch<br></pre><pre>git branch -D featureLogin # To forcefully delete a branch without merging changes to another branch</pre><p>If you want to delete any branch run the above command. once a branch is deleted it is permanently deleted, we can’t bring back a deleted branch.</p><p><strong>7. To change a Branch name</strong></p><pre>git branch oldbranch newbranch<br>git branch -m featureLogin feature_Login #Renames the branch name</pre><h3><strong>Best Practices for Branching</strong></h3><p>• Use meaningful names:<br> • feature/login<br> • bugfix/payment-error<br> • Always pull latest code before creating a branch<br> • Keep branches short-lived<br> • Merge frequently<br> • Delete unused branches</p><p>Lets learn one more important topic in GIT is <strong>stash</strong></p><h3><strong>Git Stash</strong></h3><p>Imagine you’re working on a feature — maybe updating a user dashboard. You’ve made some changes, but suddenly your team asks you to fix a high-priority production bug.</p><p>Now you’re stuck:<br> • You don’t want to commit incomplete work ❌<br> • You can’t switch branches with uncommitted changes ❌</p><p>👉 This is exactly where Git Stash helps.</p><p>Git Stash allows you to temporarily save your uncommitted changes and come back to them later — without committing them.</p><p><strong>Where Do We Use Git Stash in Real Projects?</strong></p><p>Git stash is commonly used in situations like:<br> • Switching branches urgently<br> • Fixing production bugs while working on a feature<br> • Testing something without committing<br> • Cleaning your working directory temporarily</p><h3><strong>How Git Stash Works</strong></h3><p>When you run stash:<br> • Git saves your changes in a stack (LIFO — Last In, First Out)<br> • It cleans your working directory<br> • You can reapply those changes anytime</p><p>Think of stash like a temporary shelf for your unfinished work.</p><p><strong>Common Git Stash Commands</strong></p><ol><li><strong>Save Changes (Stash)</strong></li></ol><pre>git stash #Saves all tracked changes and cleans your working directory</pre><p><strong>2. Apply Stash</strong></p><pre>git stash apply #Re-applies latest stash</pre><p>There are other commands in stash like view all stash, pop, drop which we’ll learn in feature learning blogs.</p><blockquote>Git stash is like a pause button for your work.</blockquote><h3><strong>Conclusion</strong></h3><p>Git branching is not just a feature — it’s a core workflow strategy in modern development and Git Stash allows you to temporarily save your uncommitted changes and come back to them later — without committing them.</p><p>In the next blog, we will explore another important concept <strong>Git Merge vs Rebase.</strong></p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b08b6694d1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding File Tracking in Git (Tracking, Untracking & .gitignore)]]></title>
            <link>https://medium.com/@akhilakorthiwada98/understanding-file-tracking-in-git-tracking-untracking-gitignore-2a6b2065ca14?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a6b2065ca14</guid>
            <category><![CDATA[learning-devops]]></category>
            <category><![CDATA[git-learning-series]]></category>
            <category><![CDATA[git-basics]]></category>
            <category><![CDATA[git-tracking]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Fri, 27 Mar 2026 10:23:48 GMT</pubDate>
            <atom:updated>2026-03-27T10:23:48.963Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*HvI3_YrCnrJKQbJOTus66Q.jpeg" /></figure><p><strong><em>Hello, Welcome to Day 13 of my DevOps learning journey!</em></strong></p><p>In this Day 13 learning journey, we will clearly understand:</p><ol><li>What <strong>tracking files</strong> means in Git</li><li>How Git handles <strong>untracked files</strong></li><li>How to<strong> stop tracking files safely (untracking</strong>)</li><li>Why .gitignoreis important in real projects</li></ol><h3>Introduction</h3><p>While working on a real project, not every file should go into Git.</p><p>Some files you <strong>must track</strong> (like code),<br> Some you <strong>should ignore</strong> (like logs, temp files),<br> And sometimes… you accidentally track something you shouldn’t</p><p>That’s where today’s concepts come in:<br> <strong>Tracking<br> Untracking<br> </strong><strong>.gitignore</strong></p><h3>What is File Tracking in Git?</h3><p>In Git, <strong>tracking means Git is actively monitoring a file for changes</strong>.</p><p><strong>Simple Understanding:</strong></p><h4>If a file is tracked → Git knows its history<br> If a file is untracked → Git ignores it completely</h4><p>Imagine you just joined a team working on a backend project. On Day 1, your project folder looks like this:</p><pre>project/<br> ├── app.py<br> ├── config.env<br> ├── debug.log</pre><p>You start building features, fixing bugs, and saving your work. Now Git comes into the picture.</p><h3><strong>Tracking Files</strong></h3><p>You wrote some important code in app.py.</p><p>Now you tell Git: <strong>This file is important, Track every change from now on. </strong>For that Run the following command</p><pre>git add app.py<br>git commit -m &quot;Added main application logic&quot; app.py</pre><p>Now, what happens? Git started <strong>tracking</strong> app.py Every change you make now is recorded in history. So if something breaks later, you can always go back</p><h3>But Here’s the Twist</h3><p>Your folder also has:</p><ul><li>config.env → contains passwords</li><li>debug.log → just temporary logs</li></ul><p>Do you want Git to track these?<br> ❌ Definitely NO</p><p>But imagine… you accidentally did this:</p><pre>git add .<br>git commit -m &quot;Added all files&quot;</pre><p>Now even your secrets are tracked means config data and logs are also tracked. Now comes the concept of Untracking file sin GIT</p><h3><strong>Untracking Files</strong></h3><p>Now you realize the mistake. You tell Git: Hey, stop tracking this file… but don’t delete it from my system by running the following command</p><pre>git rm --cached config.env<br>git rm --cached debug.log</pre><p>What happens now? Git <strong>forgets the file, b</strong>ut the file still exists in your project folder.</p><p>This is called <strong>Untracking</strong></p><p><strong>Tracking</strong> →Git is watching and saving changes</p><p><strong>Untracking</strong> →Git stops watching, but file stays</p><p><strong>Untracked file</strong> →Git never started watching it</p><p>Tracking and untracking is like <strong>deciding what matters in your project history</strong>.</p><p>Now you untracked your files by running rm — cached command, But here’s the problem</p><p>Next time you run git add .</p><p>Git will try to track those files AGAIN!</p><p>Don’t worry, Now we have a solution called <strong>.gitignore</strong></p><h3><strong>What is .gitignore?</strong></h3><p>The .gitignore file tells Git which files and folders to ignore (not track).</p><p>This is useful for keeping log files, temporary files, build artifacts, or personal files out of your repository.</p><h3>When to Use .gitignore</h3><ul><li>When you want to keep sensitive, local, or unnecessary files out of your repository</li><li>When sharing a project with others and want to avoid cluttering Git history</li><li>When working with build tools or editors that create extra files</li></ul><h3>Create a .gitignore File</h3><ol><li>Go to the root of your local Git repository.</li><li>Create a file named .gitignore:</li></ol><pre>touch .gitignore #creates a hidden file called gitignore</pre><p>So, Now if you want to untrack some files you keep them in this file</p><p>The .gitignore file itself <strong>is</strong> tracked by Git, so everyone using the repository ignores the same files.</p><p>Now open git ignore file and write those files you don’t want to track</p><pre>vim .gitignore #opens gitignore file</pre><p>when the file is open just give</p><pre># Ignore log file<br>debug.log</pre><p>This tells Git: <em>No matter what… NEVER track these files again</em></p><p>Next time if you want to keep track of these files , just remove that file name from .gitignore file.</p><h3><strong>Conclusion</strong></h3><p>Day 13 was all about gaining control over how files are handled in Git — understanding tracking, untracking, and using .gitignore effectively. These concepts are not just commands, they shape how clean, secure, and manageable your project repository becomes.</p><p>In the next blog, we will explore one of the core concepts in Git — <strong>branching</strong>, which plays a key role in managing parallel development.</p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a6b2065ca14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git Learning series — Config, reset and amend Explained (Git Basics- Part2)]]></title>
            <link>https://medium.com/@akhilakorthiwada98/git-learning-series-config-reset-and-amend-explained-git-basics-part2-c2184e365a82?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2184e365a82</guid>
            <category><![CDATA[git-introduction]]></category>
            <category><![CDATA[devops-learning-series]]></category>
            <category><![CDATA[git-basics]]></category>
            <category><![CDATA[git-amend]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Thu, 26 Mar 2026 12:57:51 GMT</pubDate>
            <atom:updated>2026-03-26T12:57:51.044Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MuLGnFVyVcj5_I5mYTKjzw.jpeg" /></figure><p><strong><em>Hello, Welcome to Day 12 of my DevOps learning journey!</em></strong></p><p>This blog is a continuation of my Git learning series. If you’re new to Git or haven’t read the introduction yet, I suggest starting from my previous post <a href="https://medium.com/@akhilakorthiwada98/understanding-git-my-first-step-into-version-control-git-basics-part1-a3a78c689eec?postPublishedType=repub"><strong>Read here</strong></a> to build a strong foundation.</p><p>In this article, I’ll walk through three essential Git commands:</p><ul><li>git config → Setting up your identity</li><li>git commit --amend → Fixing commit mistakes</li><li>git reset → Managing and removing files properly</li></ul><h3>Git Configuration</h3><p>What is git config?</p><p>Think of Git like a new phone you just bought .</p><p>Before using it, what do you do?</p><ol><li>Set your name</li><li>Add your email</li><li>Choose your preferences</li></ol><p>git config is exactly that — it helps you set your identity and preferences in Git<strong>.</strong></p><h3>Why Git Needs Configuration?</h3><p>Imagine this situation: You make a commit in Git… But Git asks: <em>“Who made this change? ”</em></p><p>Without config, Git doesn’t know:</p><ul><li>Your name</li><li>Your email</li></ul><p>So your commits won’t have proper identity . So the Purpose of git config is to Identify the Author</p><p>Every commit stores:</p><ul><li>Your <strong>name</strong></li><li>Your <strong>email</strong></li></ul><p>git config is a powerful command in Git. You can use the Git configuration file to customize how Git works. This file exists in the project level where Git is initialized (/project/.git/config) or at the root level (~/.gitconfig). If no configurations are specified, Git uses its default settings.</p><p>To set the Author, run the following commands</p><pre>git config --global user.name &quot;Akhila&quot; # sets the user name<br>git config --global user.email &quot;akhila@example.com&quot; # sets the mail id of the user</pre><p><strong>How to Check Your Config</strong></p><pre>git config --list #Shows all your settings</pre><p>You can set preferences like: Default Editor, Command Shortcuts, Colors in terminal</p><p>Example:</p><pre>git config --global core.editor &quot;vim&quot; # Sets default editor as vim</pre><pre>git config --global color.ui auto  # automatically use colors when supported</pre><p>Lets move on and learn git amend</p><h3>Git Amend</h3><p>What is git commit — amend?</p><p>The “Oops, I Forgot the Salt!” Guide to git commit — amend</p><p>Imagine you’re baking cookies. You’ve mixed the dough and popped them in the oven (that’s your Commit). Suddenly, you see the salt sitting on the counter. You forgot it!</p><p>In the real world, you’d have to bake a second, separate batch. In Git, git commit — amend lets you pause time, toss the salt into the same batch, and pretend you never forgot it. It’s your “do-over” button for your most recent commit.</p><p><strong>Scenario 1</strong>: You forgot to include a file</p><p>If you committed your code but realized you left out styles.css:<br> 1. Stage the file: git add styles.css<br> 2. Amend the commit: git commit — amend — no-edit</p><p>What happens: Git “opens” the last commit, drops the new file inside, and seals it back up. The — no-edit flag tells Git to keep the original commit message. The command to add missed files to existing commit</p><pre>git commit --amend --no-edit # This will combine the currently staged changes with the previous commit</pre><p><strong>Scenario 2</strong>: You made a typo in the message</p><p>If you committed with the message “Fixxed bug” and want to look professional:<br> Run the command: git commit — amend -m “Fixed bug”<br> What happens: Git replaces the old, typo-ridden commit with a brand new one containing the correct text.</p><pre>git commit --amend -m &quot;Fixed bug&quot; # edits the commit message of latest commit</pre><p><strong>Scenario 3</strong>: Changing Author Info</p><p>Imagine you’re baking at a friend’s house and accidentally sign the recipe card with their name instead of yours. In Git, this happens if you commit using a work email instead of a personal one (or vice versa).</p><p>The Workflow:<br> Run the identity command:</p><pre>git commit - amend - author=&quot;Your Name &lt;email@example.com&gt;&quot; - no-edit #modifies author details of previous commit</pre><pre>git commit - amend - author=&quot;Your Name &lt;email@example.com&gt;&quot; # The next commits reflects this new Author details</pre><p>What just happened?<br> Git reaches into the last commit, swaps out the “Author” metadata with your correct details, and keeps the code and message exactly as they were ( — no-edit).</p><p>If you don’t want to change already committed Author but for the next commits you want to change the Author use the command without no-edit.</p><h3>Git Reset</h3><p>What is git reset?</p><p>git reset is used to undo commits or move your project back to a previous state when something goes wrong. It helps developers fix mistakes, rework changes, or clean up commit history before sharing code with the team.</p><p>Imagine you are making a dough for baking cookies, you added a whole cup of salt instead of teaspoon. You need to go back to the moment before salt touched the bowl</p><h3>Undo Changes with git reset</h3><p>You made multiple commits, but now you realize:<br> This entire change is wrong. I need to undo it.</p><pre>git reset --hard HEAD~1 # Deletes latest commit AND changes permanently</pre><pre>git reset --hard HEAD~2 # Deletes latest 2 commits AND changes permanently</pre><p><strong>Types of Reset:</strong></p><p><strong>Soft Reset</strong> : Removes last commit but keeps changes ready to commit</p><p><strong>Hard Reset</strong> : Deletes commit AND changes permanently</p><p>OK, You used git reset --hard and lost your commit</p><p>Is it gone forever?</p><p>No! Recover Lost Work with git reflog</p><h3><strong>What is git reflog?</strong></h3><p>You used git reset — hard to delete a buggy feature, but then you realized that buried in that “bad” code was a genius algorithm you spent three days writing. You think it’s gone forever.</p><p>Now, you want to brink back that one deleted commit</p><pre>git reflog #shows the history of all actions performed in your repository—even the ones you “deleted”.</pre><p>How it works: Git keeps a hidden log of every single move you make, even the ones you “deleted.” Get the commit Id of that particular commit you deleted and Recover Your Commit by again running</p><pre>git reset --hard commitId #Bring back only that file’s content from that commit</pre><p>or you can use cherry pick to undo that particular changes</p><pre>git cherry-pick commitId #Safely restore only that change</pre><h3>What git cherry-pick Does</h3><p>It allows you to <strong>pick a specific commit and apply it to your current changes</strong>.</p><h3><strong>Conclusion</strong></h3><p>Day 12 learning felt like unlocking Git’s advanced control system. At first, these commands seem risky — but once understood, they give you confidence to handle any mistake in a project.</p><h3>What’s Next?</h3><p>In the next blog, I’ll continue exploring more real-world Git workflows and commands used in development teams.</p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2184e365a82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Git — My First Step into Version Control (Git Basics -Part1)]]></title>
            <link>https://medium.com/@akhilakorthiwada98/understanding-git-my-first-step-into-version-control-git-basics-part1-a3a78c689eec?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3a78c689eec</guid>
            <category><![CDATA[git-new-basics]]></category>
            <category><![CDATA[devops-training]]></category>
            <category><![CDATA[git-introduction]]></category>
            <category><![CDATA[git-beginner]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Thu, 26 Mar 2026 06:23:24 GMT</pubDate>
            <atom:updated>2026-03-26T10:21:45.928Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mnwOL5XVlTuQHnqNpYguIg.png" /></figure><p><em>Hello, Welcome to Day 11 of my DevOps learning journey!</em></p><p>Today, I explored one of the most important tools in the DevOps and software development world — <strong>Git</strong>. Before learning Git, I used to work on files without tracking changes properly. But in real-time projects, especially when working in teams, it’s very important to know:<br> <em>Who made changes?</em><br> <em>When were the changes made?</em><br> <em>Why were those changes done?</em></p><h3>So What is Git?</h3><p>Git helps you <strong><em>keep track of the changes</em></strong> you make to your code. It is basically the history tab for your code editor. If at any point while coding you hit a fatal error and don’t know what’s causing it you can always revert back to the stable state. So it is very helpful for debugging. Or you can simply see what changes you made to your code over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*kDq2HQ8t-jtqR3zp.png" /></figure><p><em>A simple example of version history of a file.</em></p><p>In the example above, all three cards represent different versions of the same file. We can select which version of the file we want to use at any point of time. So I can jump to and fro to any version of the file in the git.</p><p>Git also helps you <strong><em>synchronise code</em></strong> between multiple people. So imagine you and your friend are collaborating on a project. You both are working on the same project files. Now Git takes those changes you and your friend made independently and merges them to a single “<strong>Master</strong>” repository. So by using Git you can ensure you both are working on the most recent version of the repository. So you don’t have to worry about mailing your files to each other and working with a ridiculous number of copies of the original file. And collaborating long distance becomes easy.</p><p>That’s where Git plays a major role. It helps us track, manage, and collaborate on files efficiently.</p><h3>Git Workflow:</h3><p>Before we start working with Git commands, it is necessary that you understand the Git workflow. There are three fundamental elements in the Git Workflow.</p><p><strong>Simple flow:</strong><br> <strong>Working Directory → Staging Area → Repository</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*xEENO_5Of5cZ41gXiG28Rw.png" /></figure><h3>Ok, Lets breakdown and understand these stages with an example</h3><p>Imagine you are a developer working on a project called <strong>“Online Shopping Website” , </strong>You are asked to add a <strong>Login Feature</strong>. Now let’s see how Git works step by step in your daily work</p><h3>1. Working Directory — “Where You Actually Work”</h3><p>You open your project folder and start coding:</p><ul><li>Create a file → login.html</li><li>Add some code</li><li>Modify existing files</li></ul><p>At this stage, you are just <strong>working normally on your system</strong>. This is your <strong>local workspace</strong> — nothing is saved in Git yet</p><p><strong>The Important point here is :</strong></p><p>Git sees that changes happened, but it says:<br> <em>“Okay… but do you want me to track these changes or not?”</em></p><h3>2. Staging Area — “Choosing What to Save”</h3><p>Now you finished part of your login feature. But maybe:</p><ul><li>Some code is complete ✅</li><li>Some code is still incomplete ❌</li></ul><p>You don’t want to save everything — only the correct part.</p><p>So you run <strong>git init</strong> to initialize the git to your current folder , and run</p><p><strong>git add login.html </strong>to move the file from working directory to staging area.</p><pre>git init</pre><pre>git add login.html</pre><p>Now Git understands: <em>“Only this file is ready to be saved”</em></p><h3>3. Repository — “Saving Permanently”</h3><p>Repository in Git is considered as your project folder. A repository has all the project-related data. Now your changes are ready. You confirm and save by commiting the file. To commit the file , Run the following command</p><pre>git commit -m &quot;Added login feature&quot; login.html</pre><p>Now even if something breaks later, you can come back to this version.</p><h3><strong>Important Commands To remember</strong></h3><ol><li>git initis a command used to start Git tracking in your project folder</li></ol><p>What happens?</p><ul><li>Git creates a hidden folder called <strong>.git</strong></li><li>This .git folder stores: All versions of your code ,Commit history, Configuration</li></ul><p>Now your project becomes a <strong>Git repository</strong> ✅</p><p>2. git add is a command used to add a file that is in the working directory to the staging area.</p><p>3. git commit is a command used to add all files or single file that are staged to the local repository.</p><h3><strong>Let’s Dive into Hands-On Practice</strong></h3><h3>Step 1: Make sure you have Git installed on you server.</h3><p>To check git installed or not open the terminal or cmd and enter the following command:</p><pre>git --version</pre><p>This will prompt open an installer if you don’t already have git. So set it up using the installer. If you have git already, it’ll just show you which version of git you have installed.</p><p>If you are running <strong>Amazon Linux</strong>, enter the following in the terminal:</p><pre>yum install git -y</pre><h3>Step 2: Let’s Git</h3><p>Lets say, you have a folder named <strong>DevopsLearning, </strong>Switch to that folder by running cd DevopsLearning</p><pre>$ cd DevopsLearning</pre><h4>Initialize Git:</h4><p>we want to track the folder by initializing git, To do that run</p><pre>$ git init # Initiates an empty git repository</pre><h3>Step 3: Add files to the Staging Area</h3><p>Now that, we have initialized git, DevopsLearning folder is moved from working directory to Staging area. Here, we can track the files in the DevopsLearning folder by running the following command.</p><p>I have files like notes1, notes2, notes3</p><pre>$ git add .  <br># Adds all the files in the DevopsLearning folder including hidden files and stages them for commit<br><br>OR  you can run<br><br>$ git add *<br># Adds all the files in the DevopsLearning folder<br><br>OR if you want to add a specific file<br><br>$ git add notes1<br># To add a specific file</pre><h4>Before we commit let’s see what files are staged:</h4><pre>$ git status # Lists all new or modified files to be committed</pre><h3><strong>Step 4: Committing files to Git Repository</strong></h3><p>git commit is used to save your staged changes permanently in the Git repository with a message. To commit your file , run the following command</p><pre> git commit -m &quot;First commit&quot; notes1<br><br># The message in the &quot; &quot; is given so that the other users can read the message and see what changes you made<br><br>git commit -m &quot;First commit&quot; .<br><br># . is used to commit all files at once</pre><p>When you run git commit:</p><ul><li>Git saves the current version of staged files</li></ul><p>It records:</p><blockquote>changes made</blockquote><blockquote>author name</blockquote><blockquote>date and time</blockquote><blockquote>commit message</blockquote><h3><strong>Simple Understanding</strong></h3><ul><li>You edit files → changes are made</li><li>You stage files using git add → ready to save</li><li>You run git commit → changes are saved in Git history</li></ul><h3><strong>Step 5 : How to Check Commits</strong></h3><p>When working with Git, saving your work using commits is only half the story. The real power comes from being able to <strong>track, review, and understand those changes over time</strong>.</p><p>That’s where the git log command comes in.</p><p>git log helps you view the history of your project — all the commits made so far, Track changes over time, Understand who made changes and when, Debug issues by checking past versions.</p><pre>$ git log # Lists all commit history</pre><h3><strong>Git Log Commands — Quick Reference Guide</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01SiFiEtF3m9yqTFb5-VOA.png" /></figure><h3>Conclusion</h3><p>Day 11 was all about building a strong foundation in Git by truly understanding how it works behind the scenes and how essential commands help us manage our code efficiently. Instead of just memorizing commands, we focused on <em>why</em> Git is used and <em>how</em> it tracks changes across different stages.</p><p>By exploring key commands like git init, git add, git commit, and git log, we now have a clearer picture of how code moves from the working directory to the repository. This knowledge is crucial for anyone starting their DevOps or development journey, as Git is the backbone of version control in real-world projects.</p><p><em>Up next: Let’s continue building deeper Git skills and explore more advanced concepts!</em></p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3a78c689eec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding User Commands in Linux]]></title>
            <link>https://medium.com/@akhilakorthiwada98/understanding-user-commands-in-linux-f7894b6afefd?source=rss-b72483880bc1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7894b6afefd</guid>
            <category><![CDATA[linux-commands]]></category>
            <category><![CDATA[user-command]]></category>
            <category><![CDATA[learning-devops]]></category>
            <category><![CDATA[basics-linux]]></category>
            <dc:creator><![CDATA[Akhila Korthiwada]]></dc:creator>
            <pubDate>Wed, 25 Mar 2026 09:36:16 GMT</pubDate>
            <atom:updated>2026-03-25T09:36:39.999Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Hello, Welcome to Day 10 of Devops Learning Series.</em></p><p>As I continue my journey into Linux and DevOps, one important concept I explored today is <strong>user management.</strong></p><p>In real-world environments, a server is never used by just one person. There are <strong>multiple users</strong> like developers, testers, admins, and automation tools — all accessing the same system.</p><p>That’s where <strong>user commands in Linux</strong> come into play. Linux is a <strong>multi-user operating system</strong>, which means multiple users can access and work on the same system at the same time. To manage this efficiently and securely, Linux provides a set of <strong>user management commands</strong>.</p><p>Linux user commands are used to:</p><ul><li>Create and manage user accounts</li><li>Control access to files and resources</li><li>Organize users into groups</li><li>Switch between users for different tasks</li><li>️ Maintain system security and accountability</li></ul><p>Each user in Linux has a unique identity defined by:</p><ul><li><strong>Username</strong></li><li><strong>UID (User ID)</strong></li><li><strong>GID (Group ID)</strong></li><li><strong>Home directory</strong></li></ul><p>These commands form the <strong>foundation of access control in Linux systems</strong>, making them essential for system administration and DevOps practices.</p><h3>Where and Why It Is Useful in Real-Time (In DevOps Perspective)</h3><p>In real-world DevOps environments, user commands are used almost every day. Servers are shared across teams, and managing access properly is <strong>critical for security, collaboration, and system stability</strong>.</p><h3>Why User Commands Are Important</h3><p>In real-time projects:</p><ul><li>New employees need system access → Create users</li><li>Restrict access to sensitive files → Manage permissions</li><li>Remove access for inactive users → Delete users</li><li>Switch between users → Troubleshooting &amp; admin tasks</li></ul><p>Without proper user management, a system can become <strong>unsecure and hard to control</strong>.</p><h3>Common User Commands in Linux</h3><p>Here are the most important user-related commands every beginner should know:</p><blockquote><strong>whoami</strong>: Used to display the current logged in user</blockquote><blockquote>b: Used to displays user ID (UID), group ID (GID), and groups</blockquote><blockquote><strong>useradd username</strong> : Used to add the new user</blockquote><blockquote><strong>useradd -e 2026–05–31 username</strong> : Used to set Expiration date of the user. After the date the user will be no longer available</blockquote><blockquote><strong>useradd -U username</strong> : Used to create a group with the same name as the user and added the user into the group</blockquote><blockquote><strong>useradd -M username </strong>: Used for creating username without home directory</blockquote><blockquote><strong>useradd -D</strong> : Prints the default home directory, default shell, default expiration date, and other settings.</blockquote><blockquote><strong>userdel username</strong> : To delete the user</blockquote><blockquote><strong>userdel -f username</strong> : To delete the user forcefully</blockquote><blockquote><strong>userdel -r username</strong> : To Delete the user along with the directory</blockquote><blockquote><strong>su — username </strong>: To Login into the user</blockquote><blockquote><strong>passwd username</strong> : Used to set a password</blockquote><blockquote><strong>groupadd groupname</strong> : Used to add/create a new group</blockquote><blockquote><strong>groups</strong> : Displays the group where current user belongs to</blockquote><blockquote><strong>groups username</strong> : Displays groups of a specific user</blockquote><blockquote><strong>groupmod -n newgroup oldgroup</strong> : To change the group name</blockquote><blockquote><strong>groupdel groupname</strong> : Used to delete the specific group</blockquote><blockquote><strong>groupdel — f groupname</strong> : used to delete the group forecfully</blockquote><h3><strong>Conclusion</strong></h3><p>Day 10 of my Linux learning journey gave me a deeper understanding of how systems are actually managed behind the scenes.</p><p>It’s not just about running commands — it’s about <strong>controlling who can access what, ensuring security, and maintaining order in a multi-user environment</strong>.</p><p>In real-time environments, where multiple users interact with the same servers, proper user and group management ensures that the system remains <strong>secure, stable, and well-structured</strong>. From creating users to managing permissions and controlling access, every command contributes to maintaining a reliable infrastructure.</p><p>Thank you so much for taking the time to read my blog! 🌼✨</p><p><em>See you in next learning blog!!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7894b6afefd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>