<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Adhi sankar</title>
    <description>The latest articles on DEV Community by Adhi sankar (@adhi_sankar_45ccfb9350749).</description>
    <link>https://dev.to/adhi_sankar_45ccfb9350749</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3977584%2Fcf54816f-9354-4a43-a0da-36ffb3127d2d.png</url>
      <title>DEV Community: Adhi sankar</title>
      <link>https://dev.to/adhi_sankar_45ccfb9350749</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adhi_sankar_45ccfb9350749"/>
    <language>en</language>
    <item>
      <title>GitLab Commands and How to Push Code on GitLab</title>
      <dc:creator>Adhi sankar</dc:creator>
      <pubDate>Wed, 10 Jun 2026 12:08:25 +0000</pubDate>
      <link>https://dev.to/adhi_sankar_45ccfb9350749/gitlab-commands-and-how-to-push-code-to-gitlab-4843</link>
      <guid>https://dev.to/adhi_sankar_45ccfb9350749/gitlab-commands-and-how-to-push-code-to-gitlab-4843</guid>
      <description>&lt;p&gt;&lt;strong&gt;Why Use GitLab?&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Centralized source code management&lt;/li&gt;
&lt;li&gt;Built-in CI/CD pipelines&lt;/li&gt;
&lt;li&gt;Issue tracking and project management&lt;/li&gt;
&lt;li&gt;Team collaboration and code reviews&lt;/li&gt;
&lt;li&gt;Secure repository hosting&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Common Git Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check Git Version&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git --version&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure Git Username and Email&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git config --global user.name "Your Name"&lt;br&gt;
git config --global user.email "&lt;a href="mailto:your@email.com"&gt;your@email.com&lt;/a&gt;"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Initialize a Repository&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git init&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check Repository Status&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git status&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Add Files&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add a single file:&lt;br&gt;
git add filename&lt;br&gt;
Add all files:&lt;br&gt;
git add .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Commit Changes&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git commit -m "Initial commit"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;View Commit History&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git log&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to Push Existing Code to GitLab&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Step 1: Create a Project in GitLab&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Sign in to GitLab.&lt;/li&gt;
&lt;li&gt;Click New Project.&lt;/li&gt;
&lt;li&gt;Enter the project name.&lt;/li&gt;
&lt;li&gt;Click Create Project.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Open Terminal in Your Project Folder&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;cd your-project-folder&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Initialize Git&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git init&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Add Files&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git add .&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Commit Files&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git commit -m "First commit"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Connect Local Repository to GitLab&lt;/strong&gt;&lt;br&gt;
Replace the URL with your GitLab repository URL:&lt;/p&gt;

&lt;p&gt;git remote add origin &lt;a href="https://gitlab.com/username/project-name.git" rel="noopener noreferrer"&gt;https://gitlab.com/username/project-name.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Push Code to GitLab&lt;/strong&gt;&lt;br&gt;
For a new repository:&lt;/p&gt;

&lt;p&gt;git branch -M main&lt;br&gt;
git push -u origin main&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Daily Workflow Commands&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;git add .&lt;br&gt;
git commit -m "Updated project"&lt;br&gt;
git push&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GitLab combined with Git provides a complete platform for version control and collaboration. By learning basic Git commands such as git add, git commit, and git push, developers can efficiently manage code and keep projects synchronized with GitLab repositories. Following a consistent Git workflow improves productivity, code quality, and team collaboration.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>cli</category>
      <category>git</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>GitLab</title>
      <dc:creator>Adhi sankar</dc:creator>
      <pubDate>Wed, 10 Jun 2026 11:50:21 +0000</pubDate>
      <link>https://dev.to/adhi_sankar_45ccfb9350749/gitlab-52cb</link>
      <guid>https://dev.to/adhi_sankar_45ccfb9350749/gitlab-52cb</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is GitLab?&lt;/strong&gt;&lt;br&gt;
        GitLab is a platform built around the Git version control system. It allows developers to store code in repositories, track changes, manage projects, and automate software deployment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Open-Source Foundation&lt;/strong&gt;&lt;br&gt;
        GitLab started as an open-source project and continues to offer a Community Edition that organizations can self-host and customize.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agile Project Management&lt;/strong&gt;&lt;br&gt;
        Teams can use boards, milestones, epics, and roadmaps to plan and track work using Agile methodologies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Monitoring and Analytics&lt;/strong&gt;&lt;br&gt;
        GitLab provides dashboards and analytics tools to monitor application performance, pipeline success rates, and project progress.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key features include:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Source Code Management (SCM)&lt;/li&gt;
&lt;li&gt;Git Repository Hosting&lt;/li&gt;
&lt;li&gt;Continuous Integration and Continuous Deployment (CI/CD)&lt;/li&gt;
&lt;li&gt;Issue Tracking&lt;/li&gt;
&lt;li&gt;Project Management&lt;/li&gt;
&lt;li&gt;Code Review and Merge Requests&lt;/li&gt;
&lt;li&gt;Security Testing&lt;/li&gt;
&lt;li&gt;DevOps Automation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Benefits of Using GitLab&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Centralized code management&lt;/li&gt;
&lt;li&gt;Improved team collaboration&lt;/li&gt;
&lt;li&gt;Faster software delivery&lt;/li&gt;
&lt;li&gt;Automated testing and deployment&lt;/li&gt;
&lt;li&gt;Enhanced security&lt;/li&gt;
&lt;li&gt;Better project visibility&lt;/li&gt;
&lt;li&gt;Integrated DevOps workflow&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;GitLab Workflow&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a project repository.&lt;/li&gt;
&lt;li&gt;Clone the repository to a local machine.&lt;/li&gt;
&lt;li&gt;Create a new branch.&lt;/li&gt;
&lt;li&gt;Develop and commit code.&lt;/li&gt;
&lt;li&gt;Push changes to GitLab.&lt;/li&gt;
&lt;li&gt;Create a Merge Request.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;GitLab vs GitHub&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;GitLab&lt;/th&gt;
&lt;th&gt;GitHub&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Built-in CI/CD&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Limited (GitHub Actions)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DevOps Features&lt;/td&gt;
&lt;td&gt;Extensive&lt;/td&gt;
&lt;td&gt;Moderate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Self-Hosting&lt;/td&gt;
&lt;td&gt;Strong Support&lt;/td&gt;
&lt;td&gt;Available&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Project Management&lt;/td&gt;
&lt;td&gt;Advanced&lt;/td&gt;
&lt;td&gt;Good&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security Tools&lt;/td&gt;
&lt;td&gt;Integrated&lt;/td&gt;
&lt;td&gt;Available&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    GitLab has become one of the most powerful platforms for modern software development. By combining source control, project management, CI/CD, and security tools into a single application, GitLab enables teams to build, test, and deploy software more efficiently. Whether you are a student, individual developer, or enterprise team, GitLab provides the tools needed to streamline the entire software development lifecycle.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
    </item>
  </channel>
</rss>
