<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>git Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/git/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:13:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Ultimate Guide to Version Control: Key Concepts, Use Cases, Architecture, Workflow, and Getting Started</title>
		<link>https://www.scmgalaxy.com/tutorials/ultimate-guide-to-version-control-key-concepts-use-cases-architecture-workflow-and-getting-started/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ultimate-guide-to-version-control-key-concepts-use-cases-architecture-workflow-and-getting-started/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Fri, 27 Jun 2025 12:50:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CodeManagement]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[SoftwareDevelopment]]></category>
		<category><![CDATA[SoftwareEngineering]]></category>
		<category><![CDATA[SourceControl]]></category>
		<category><![CDATA[TechEducation]]></category>
		<category><![CDATA[VersionControl]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12997</guid>

					<description><![CDATA[<p>What is Version Control? Version control, also referred to as source control, is a system that tracks changes to files, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ultimate-guide-to-version-control-key-concepts-use-cases-architecture-workflow-and-getting-started/">Ultimate Guide to Version Control: Key Concepts, Use Cases, Architecture, Workflow, and Getting Started</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1000" height="500" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-218.png" alt="" class="wp-image-13005" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-218.png 1000w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-218-300x150.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/06/image-218-768x384.png 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>What is Version Control?</strong></h3>



<p class="wp-block-paragraph"><strong>Version control</strong>, also referred to as <strong>source control</strong>, is a <strong>system</strong> that tracks changes to files, especially the code files that are part of a project. It allows you to keep track of changes, revert back to previous versions, and collaborate with others effectively. It is an essential tool for developers, enabling them to work efficiently and manage large codebases over time.</p>



<p class="wp-block-paragraph">There are two main types of version control:</p>



<ul class="wp-block-list">
<li><strong>Local Version Control</strong>: This system only keeps track of the files locally, with a single copy of the project and an internal versioning system.</li>



<li><strong>Distributed Version Control</strong>: This type of version control allows every developer to have a complete local copy of the entire repository, including its history. Systems like <strong>Git</strong> and <strong>Mercurial</strong> use this approach.</li>
</ul>



<p class="wp-block-paragraph"><strong>Version control systems (VCS)</strong> are used not only for <strong>software development</strong> but also for other types of content management like writing documentation or managing configuration files.</p>



<p class="wp-block-paragraph">The fundamental idea behind version control is to create <strong>snapshots</strong> of the data at various stages, which can then be stored, compared, and tracked. This enables multiple team members to work on different aspects of a project, merge changes seamlessly, and track revisions over time.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>What Are the Major Use Cases of Version Control?</strong></h3>



<p class="wp-block-paragraph">Version control plays an important role in numerous development and collaboration scenarios. It facilitates collaboration between developers, ensures data integrity, and provides historical context for decisions made during development. Below are some <strong>major use cases</strong> of version control systems:</p>



<h4 class="wp-block-heading"><strong>1. Collaborative Software Development:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: When multiple developers are working on the same codebase, version control helps ensure that changes made by different developers do not conflict with each other.</li>



<li><strong>Example</strong>: In a <strong>web application</strong>, one developer is working on the frontend, while another is working on the backend. Version control tracks their changes and helps them integrate their code smoothly without overwriting each other&#8217;s work.</li>



<li><strong>Why Version Control?</strong> Version control systems allow <strong>parallel development</strong> and ensure that developers can work on different parts of a project without overwriting or breaking each other&#8217;s code.</li>
</ul>



<h4 class="wp-block-heading"><strong>2. Managing Code Changes and History:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Version control is crucial for managing and tracking <strong>code history</strong>. It provides a <strong>historical record</strong> of changes made to the codebase over time, allowing you to revert to previous versions if needed.</li>



<li><strong>Example</strong>: A <strong>bug introduced</strong> in a recent commit can be tracked and fixed by checking the historical changes using version control.</li>



<li><strong>Why Version Control?</strong> With version control, you have <strong>full visibility</strong> into the project’s development history, allowing you to see what changed, when, and by whom.</li>
</ul>



<h4 class="wp-block-heading"><strong>3. Feature Development and Branching:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Developers use <strong>branches</strong> to work on features or bug fixes separately from the main codebase (usually referred to as the <strong>main branch</strong> or <strong>master branch</strong>). This is particularly useful for testing new features without affecting the stable version.</li>



<li><strong>Example</strong>: A developer can create a <strong>feature branch</strong> to develop a <strong>new user authentication system</strong> while ensuring the rest of the application continues functioning with the stable version of the code.</li>



<li><strong>Why Version Control?</strong> <strong>Branching</strong> enables <strong>parallel development</strong> of multiple features and allows easy merging of work without disrupting the main project.</li>
</ul>



<h4 class="wp-block-heading"><strong>4. Code Deployment and Release Management:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Version control can be used to manage different versions of a software application during its lifecycle, enabling <strong>release management</strong> and <strong>deployment</strong> of stable versions.</li>



<li><strong>Example</strong>: A development team works on version 1.0 of an application, and once it is stable, it is tagged and deployed. Meanwhile, version 2.0 development continues in a separate branch.</li>



<li><strong>Why Version Control?</strong> Version control allows you to easily <strong>tag</strong> specific releases, enabling you to deploy a stable version while continuing to develop new features.</li>
</ul>



<h4 class="wp-block-heading"><strong>5. Collaboration Across Distributed Teams:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Version control is ideal for teams that are distributed across different locations and time zones. It enables asynchronous collaboration, as each team member can work on their local copy of the repository and sync their changes.</li>



<li><strong>Example</strong>: A <strong>global development team</strong> works on a single project but from different locations. With version control, each team member can push and pull changes from the central repository, ensuring everyone has access to the latest updates.</li>



<li><strong>Why Version Control?</strong> Version control provides a <strong>centralized history</strong> while enabling <strong>distributed collaboration</strong>, which is essential for modern software teams.</li>
</ul>



<h4 class="wp-block-heading"><strong>6. Managing Non-Code Files:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Version control systems can be used not only for code but also for managing documentation, configuration files, or other project-related assets.</li>



<li><strong>Example</strong>: <strong>Documentation files</strong>, like <strong>README.md</strong> or <strong>API documentation</strong>, can be managed using version control to ensure that all team members are working with the most up-to-date content.</li>



<li><strong>Why Version Control?</strong> It ensures that <strong>documentation</strong> and other important project files are synchronized across all team members, maintaining consistency.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>How Version Control Works Along with Architecture?</strong></h3>



<p class="wp-block-paragraph">Version control works by storing the history of changes made to files in a <strong>repository</strong>. The architecture of version control systems is built to facilitate efficient and structured tracking of changes, and it typically includes components such as repositories, branches, commits, and merges.</p>



<h4 class="wp-block-heading"><strong>1. Key Components of Version Control Architecture:</strong></h4>



<ul class="wp-block-list">
<li><strong>Repository (Repo)</strong>: A repository is where the project’s history and current state are stored. It contains all the files and their history, making it the central point of interaction between developers and the project.
<ul class="wp-block-list">
<li><strong>Types</strong>:
<ul class="wp-block-list">
<li><strong>Centralized</strong>: In centralized version control systems (CVCS), there is a single central repository that all developers access and commit to.</li>



<li><strong>Distributed</strong>: In distributed version control systems (DVCS) like Git, each developer has a <strong>local repository</strong> containing the full history of the project. Changes are later pushed to the remote repository.</li>
</ul>
</li>
</ul>
</li>



<li><strong>Working Directory</strong>: This is the local copy of the files in the repository. Developers make changes in their <strong>working directory</strong>, and version control tracks changes made to these files before they are committed to the repository.</li>



<li><strong>Commit</strong>: A <strong>commit</strong> is a snapshot of changes made to the repository. Each commit has a unique identifier (hash) and contains a reference to the developer who made the change, along with a commit message explaining what was changed.
<ul class="wp-block-list">
<li><strong>Example</strong>: </li>
</ul>
</li>
</ul>



<pre class="wp-block-code"><code>git commit -m "Fixed bug in authentication"
</code></pre>



<ul class="wp-block-list">
<li><strong>Branch</strong>: A <strong>branch</strong> allows developers to work on isolated features or bug fixes independently from the main codebase. The branch represents an independent line of development that eventually merges back into the main branch.</li>



<li><strong>Merge</strong>: When multiple branches are worked on simultaneously, merging brings those changes back together. <strong>Merge conflicts</strong> may arise when changes to the same lines of code are made in different branches, which must be manually resolved by the developer.</li>



<li><strong>Tag</strong>: A tag is a reference to a specific commit that is used to mark significant points in the project, such as release versions or milestones.</li>
</ul>



<h4 class="wp-block-heading"><strong>2. Version Control Workflow:</strong></h4>



<p class="wp-block-paragraph">Version control workflows are essential for ensuring that code is managed efficiently. Below is a breakdown of how version control operates:</p>



<ul class="wp-block-list">
<li><strong>Clone the Repository</strong>: Developers start by cloning the <strong>remote repository</strong> to create a local copy on their machine. This copy is synchronized with the central repository.</li>
</ul>



<ul class="wp-block-list">
<li><strong>Example (Git)</strong>: </li>
</ul>



<ol class="wp-block-list"></ol>



<pre class="wp-block-code"><code>git clone &lt;repository_url&gt;
</code></pre>



<ul class="wp-block-list">
<li><strong>Work Locally</strong>: Developers make changes to their <strong>working directory</strong>. This can involve modifying, adding, or deleting files.</li>
</ul>



<ul class="wp-block-list">
<li><strong>Stage Changes</strong>: After modifying files, changes are staged, meaning they are prepared to be committed to the repository.</li>
</ul>



<ul class="wp-block-list">
<li><strong>Example (Git)</strong>: </li>
</ul>



<ol class="wp-block-list"></ol>



<pre class="wp-block-code"><code>git add &lt;filename&gt;
</code></pre>



<ul class="wp-block-list">
<li><strong>Commit Changes</strong>: Once changes are staged, the developer commits them to the local repository. Each commit contains a message that explains the changes made.</li>
</ul>



<ul class="wp-block-list">
<li><strong>Example (Git)</strong>: </li>
</ul>



<ol class="wp-block-list"></ol>



<pre class="wp-block-code"><code>git commit -m "Added new feature"
</code></pre>



<ul class="wp-block-list">
<li><strong>Push Changes</strong>: After committing, the developer pushes the changes to the <strong>remote repository</strong>, updating it with their changes.</li>
</ul>



<ul class="wp-block-list">
<li><strong>Example (Git)</strong>: </li>
</ul>



<ol class="wp-block-list"></ol>



<pre class="wp-block-code"><code>git push origin master
</code></pre>



<ul class="wp-block-list">
<li><strong>Pull Changes</strong>: Developers regularly <strong>pull</strong> the latest changes from the remote repository to keep their local copy up to date.</li>
</ul>



<ul class="wp-block-list">
<li><strong>Example (Git)</strong>: </li>
</ul>



<ol class="wp-block-list"></ol>



<pre class="wp-block-code"><code>git pull origin master
</code></pre>



<ul class="wp-block-list">
<li><strong>Branching and Merging</strong>: Developers create <strong>branches</strong> to work on features or fixes without disrupting the main codebase. When work on a branch is complete, it can be merged back into the main branch.</li>
</ul>



<ul class="wp-block-list">
<li><strong>Example (Git)</strong>: </li>
</ul>



<ol class="wp-block-list"></ol>



<pre class="wp-block-code"><code>git checkout -b feature-branch
git merge feature-branch
</code></pre>



<ul class="wp-block-list">
<li><strong>Resolving Conflicts</strong>: If changes made in different branches conflict (e.g., the same lines of code were modified), conflicts must be resolved manually.</li>
</ul>



<ol class="wp-block-list"></ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>What Are the Basic Workflow of Version Control?</strong></h3>



<p class="wp-block-paragraph">The workflow for using version control involves several steps, each contributing to managing code and collaboration. Below is the typical version control workflow:</p>



<h4 class="wp-block-heading"><strong>1. Initialize or Clone a Repository:</strong></h4>



<ul class="wp-block-list">
<li>If starting from scratch, initialize a new repository. If working with an existing project, clone the remote repository.</li>
</ul>



<p class="wp-block-paragraph"><strong>Example (Git)</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git init           # Initialize a new repository
git clone &amp;lt;url&amp;gt;    # Clone an existing repository

</pre></div>


<h4 class="wp-block-heading"><strong>2. Create a Branch:</strong></h4>



<ul class="wp-block-list">
<li>Developers often create a new <strong>branch</strong> for working on specific features or bug fixes. Branching allows them to isolate their work from the main codebase.</li>
</ul>



<p class="wp-block-paragraph"><strong>Example (Git)</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git checkout -b &amp;lt;branch_name&amp;gt;

</pre></div>


<h4 class="wp-block-heading"><strong>3. Make Changes Locally:</strong></h4>



<ul class="wp-block-list">
<li>Developers edit files in their local working directory. Changes are not reflected in the remote repository until committed.</li>
</ul>



<h4 class="wp-block-heading"><strong>4. Stage and Commit Changes:</strong></h4>



<ul class="wp-block-list">
<li>Once the changes are made, they are staged and committed to the local repository.</li>
</ul>



<p class="wp-block-paragraph"><strong>Example (Git)</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git add &amp;lt;file&amp;gt;
git commit -m &quot;Descriptive message&quot;

</pre></div>


<h4 class="wp-block-heading"><strong>5. Push Changes to Remote Repository:</strong></h4>



<ul class="wp-block-list">
<li>After committing changes locally, the next step is to <strong>push</strong> those changes to the remote repository for collaboration with other developers.</li>
</ul>



<p class="wp-block-paragraph"><strong>Example (Git)</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git push origin &amp;lt;branch_name&amp;gt;

</pre></div>


<h4 class="wp-block-heading"><strong>6. Pull Changes:</strong></h4>



<ul class="wp-block-list">
<li>Developers pull the latest updates from the remote repository to synchronize their local version of the code.</li>
</ul>



<p class="wp-block-paragraph"><strong>Example (Git)</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git pull origin &amp;lt;branch_name&amp;gt;

</pre></div>


<h4 class="wp-block-heading"><strong>7. Merge and Resolve Conflicts:</strong></h4>



<ul class="wp-block-list">
<li>After completing a feature or bug fix in a branch, it is merged into the main codebase. If there are conflicts between changes, they must be resolved manually.</li>
</ul>



<h4 class="wp-block-heading"><strong>8. Tag Releases:</strong></h4>



<ul class="wp-block-list">
<li>Once a version is stable, a <strong>tag</strong> is created to mark the release, making it easy to deploy or reference.</li>
</ul>



<p class="wp-block-paragraph"><strong>Example (Git)</strong>:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git tag v1.0

</pre></div>


<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>Step-by-Step Getting Started Guide for Version Control</strong></h3>



<p class="wp-block-paragraph">Here is a comprehensive step-by-step guide to getting started with <strong>Git</strong> as the version control system:</p>



<h4 class="wp-block-heading"><strong>Step 1: Install Git</strong></h4>



<ul class="wp-block-list">
<li>Install <strong>Git</strong> from <a href="https://git-scm.com/">Git&#8217;s official website</a>.</li>
</ul>



<h4 class="wp-block-heading"><strong>Step 2: Configure Git</strong></h4>



<ul class="wp-block-list">
<li>Set up your name and email for commit identification: </li>
</ul>



<pre class="wp-block-code"><code>git config --global user.name "Your Name"
git config --global user.email "youremail@example.com"
</code></pre>



<h4 class="wp-block-heading"><strong>Step 3: Initialize or Clone a Repository</strong></h4>



<ul class="wp-block-list">
<li>Create a new repository or clone an existing one: </li>
</ul>



<pre class="wp-block-code"><code>git init
git clone &lt;repository_url&gt;
</code></pre>



<h4 class="wp-block-heading"><strong>Step 4: Create a Branch</strong></h4>



<ul class="wp-block-list">
<li>Create a new branch to start working on your feature or bug fix: </li>
</ul>



<pre class="wp-block-code"><code>git checkout -b &lt;branch_name&gt;
</code></pre>



<h4 class="wp-block-heading"><strong>Step 5: Make Changes and Commit</strong></h4>



<ul class="wp-block-list">
<li>Edit files in your working directory, stage them, and commit: </li>
</ul>



<pre class="wp-block-code"><code>git add .
git commit -m "Added new feature"
</code></pre>



<h4 class="wp-block-heading"><strong>Step 6: Push Changes</strong></h4>



<ul class="wp-block-list">
<li>Push your changes to the remote repository: </li>
</ul>



<pre class="wp-block-code"><code>git push origin &lt;branch_name&gt;
</code></pre>



<h4 class="wp-block-heading"><strong>Step 7: Pull Updates</strong></h4>



<ul class="wp-block-list">
<li>Pull updates from the remote repository before starting work: </li>
</ul>



<pre class="wp-block-code"><code>git pull origin master
</code></pre>



<h4 class="wp-block-heading"><strong>Step 8: Merge and Tag Releases</strong></h4>



<ul class="wp-block-list">
<li>Merge completed branches and create tags for release: </li>
</ul>



<pre class="wp-block-code"><code>git merge &lt;feature_branch&gt;
git tag v1.0
</code></pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ultimate-guide-to-version-control-key-concepts-use-cases-architecture-workflow-and-getting-started/">Ultimate Guide to Version Control: Key Concepts, Use Cases, Architecture, Workflow, and Getting Started</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ultimate-guide-to-version-control-key-concepts-use-cases-architecture-workflow-and-getting-started/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Mastering GitHub: A Beginner&#8217;s Guide to Workflow, Architecture, and Use Cases</title>
		<link>https://www.scmgalaxy.com/tutorials/mastering-github-a-beginners-guide-to-workflow-architecture-and-use-cases/</link>
					<comments>https://www.scmgalaxy.com/tutorials/mastering-github-a-beginners-guide-to-workflow-architecture-and-use-cases/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Mon, 19 May 2025 05:43:24 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CollaborationTools]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[GitHubArchitecture]]></category>
		<category><![CDATA[GitHubGuide]]></category>
		<category><![CDATA[GitHubWorkflow]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[SoftwareDevelopment]]></category>
		<category><![CDATA[VersionControl]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12356</guid>

					<description><![CDATA[<p>What is GitHub? GitHub is a cloud-based platform that facilitates version control and collaborative software development using Git. Launched in [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mastering-github-a-beginners-guide-to-workflow-architecture-and-use-cases/">Mastering GitHub: A Beginner&#8217;s Guide to Workflow, Architecture, and Use Cases</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img decoding="async" width="1000" height="420" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-72.png" alt="" class="wp-image-12366" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-72.png 1000w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-72-300x126.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-72-768x323.png 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h1 class="wp-block-heading">What is GitHub?</h1>



<p class="wp-block-paragraph">GitHub is a cloud-based platform that facilitates version control and collaborative software development using Git. Launched in 2008 and now owned by Microsoft, GitHub enables developers to store, track, and collaborate on code through repositories. It integrates powerful features like pull requests, issues, code review, and continuous integration (CI) tools, making it a critical component in modern DevOps and agile software workflows.</p>



<p class="wp-block-paragraph">Beyond being a code repository, GitHub has evolved into a complete development ecosystem that supports private repositories, CI/CD pipelines, project boards, actions for automation, and package management. It’s not just for programmers—technical writers, data scientists, and designers also use GitHub for collaborative projects.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h1 class="wp-block-heading">Major Use Cases of GitHub</h1>



<h3 class="wp-block-heading">1. <strong>Version Control and Code Hosting</strong></h3>



<p class="wp-block-paragraph">GitHub provides centralized version control using Git, allowing teams to manage codebases, roll back changes, and maintain code history with precision.</p>



<h3 class="wp-block-heading">2. <strong>Open Source Collaboration</strong></h3>



<p class="wp-block-paragraph">Millions of open-source projects are hosted on GitHub, from frameworks like React to Linux kernels. Developers worldwide contribute via forks and pull requests.</p>



<h3 class="wp-block-heading">3. <strong>Continuous Integration and Deployment (CI/CD)</strong></h3>



<p class="wp-block-paragraph">Using GitHub Actions, developers can automate testing, building, and deployment processes to streamline software delivery pipelines.</p>



<h3 class="wp-block-heading">4. <strong>Project Management</strong></h3>



<p class="wp-block-paragraph">With tools like GitHub Issues, Projects (Kanban boards), and Milestones, teams can track bugs, plan features, and manage workflows within the same platform.</p>



<h3 class="wp-block-heading">5. <strong>Documentation and Wikis</strong></h3>



<p class="wp-block-paragraph">GitHub supports markdown-based README files and wikis, allowing detailed documentation for every repository.</p>



<h3 class="wp-block-heading">6. <strong>Community Engagement</strong></h3>



<p class="wp-block-paragraph">Stars, forks, and discussions allow community-driven development and feedback loops, enhancing collaboration and visibility.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h1 class="wp-block-heading">How GitHub Works and Its Architecture</h1>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="459" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-73-1024x459.png" alt="" class="wp-image-12367" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-73-1024x459.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-73-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-73-768x345.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-73.png 1306w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">GitHub operates on top of Git, a distributed version control system. Here&#8217;s an overview of its architecture:</p>



<h3 class="wp-block-heading"><strong>1. Client Side (Local)</strong></h3>



<ul class="wp-block-list">
<li>Developers interact with Git through the command line or GUI tools (like GitHub Desktop).</li>



<li>Local repositories are cloned from GitHub and contain the full history of the project.</li>



<li>Developers work in branches, commit changes, and push them to remote repositories.</li>
</ul>



<h3 class="wp-block-heading"><strong>2. Server Side (GitHub Cloud)</strong></h3>



<ul class="wp-block-list">
<li>GitHub hosts remote repositories.</li>



<li>It provides interfaces for pull requests, issues, CI/CD, security scanning, and user management.</li>



<li>It stores metadata, access control, activity logs, and facilitates integration with external tools (Slack, Jira, etc.).</li>
</ul>



<h3 class="wp-block-heading"><strong>3. GitHub Actions (Workflow Engine)</strong></h3>



<ul class="wp-block-list">
<li>Automates tasks triggered by events like push, pull request, or issue creation.</li>



<li>Workflows are written in YAML and stored in <code>.github/workflows</code>.</li>
</ul>



<h3 class="wp-block-heading"><strong>4. APIs and Webhooks</strong></h3>



<ul class="wp-block-list">
<li>GitHub provides REST and GraphQL APIs for integration.</li>



<li>Webhooks notify other services of events (e.g., new commit, opened PR).</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h1 class="wp-block-heading">Basic GitHub Workflow</h1>



<ol class="wp-block-list">
<li><strong>Fork/Clone</strong> – Copy a repository locally or to your own GitHub account.</li>



<li><strong>Branch</strong> – Create a new branch to isolate changes.</li>



<li><strong>Commit</strong> – Save changes locally with descriptive messages.</li>



<li><strong>Push</strong> – Send commits to the remote repository.</li>



<li><strong>Pull Request (PR)</strong> – Propose changes to the main project.</li>



<li><strong>Review and Merge</strong> – Team reviews the PR and merges into main branch.</li>
</ol>



<p class="wp-block-paragraph">This branching model promotes safe experimentation and controlled integration.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h1 class="wp-block-heading">Step-by-Step Getting Started Guide for GitHub</h1>



<h3 class="wp-block-heading"><strong>1. Create a GitHub Account</strong></h3>



<ul class="wp-block-list">
<li>Go to <a href="https://github.com/">https://github.com</a></li>



<li>Sign up with an email and username.</li>
</ul>



<h3 class="wp-block-heading"><strong>2. Install Git</strong></h3>



<ul class="wp-block-list">
<li>Download Git from <a href="https://git-scm.com/">https://git-scm.com/</a></li>



<li>Install it and configure your name and email: <code>git config --global user.name "Your Name" git config --global user.email "you@example.com"</code></li>
</ul>



<h3 class="wp-block-heading"><strong>3. Create a Repository</strong></h3>



<ul class="wp-block-list">
<li>Click &#8220;New repository&#8221; on GitHub dashboard.</li>



<li>Name it, choose public/private, and optionally initialize with README.</li>
</ul>



<h3 class="wp-block-heading"><strong>4. Clone the Repository Locally</strong></h3>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git clone https://github.com/your-username/repo-name.git

</pre></div>


<h3 class="wp-block-heading"><strong>5. Make Changes and Commit</strong></h3>



<ul class="wp-block-list">
<li>Edit or add files.</li>
</ul>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git add .
git commit -m &quot;Initial commit&quot;

</pre></div>


<h3 class="wp-block-heading"><strong>6. Push Changes to GitHub</strong></h3>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git push origin main

</pre></div>


<h3 class="wp-block-heading"><strong>7. Create a Branch and Work on Features</strong></h3>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
git checkout -b feature-branch

</pre></div>


<h3 class="wp-block-heading"><strong>8. Create Pull Request</strong></h3>



<ul class="wp-block-list">
<li>Push branch to GitHub and click &#8220;Compare &amp; pull request.&#8221;</li>



<li>Add title, description, and submit for review.</li>
</ul>



<h3 class="wp-block-heading"><strong>9. Merge Pull Request</strong></h3>



<ul class="wp-block-list">
<li>After approval, click &#8220;Merge pull request&#8221; on GitHub.</li>



<li>Optionally delete the branch post-merge.</li>
</ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/mastering-github-a-beginners-guide-to-workflow-architecture-and-use-cases/">Mastering GitHub: A Beginner&#8217;s Guide to Workflow, Architecture, and Use Cases</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/mastering-github-a-beginners-guide-to-workflow-architecture-and-use-cases/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Visual Studio Code: The Versatile Code Editor for Modern Development</title>
		<link>https://www.scmgalaxy.com/tutorials/visual-studio-code-the-versatile-code-editor-for-modern-development/</link>
					<comments>https://www.scmgalaxy.com/tutorials/visual-studio-code-the-versatile-code-editor-for-modern-development/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Fri, 16 May 2025 08:42:06 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CodeEditor]]></category>
		<category><![CDATA[CrossPlatform]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SoftwareDevelopment]]></category>
		<category><![CDATA[VisualStudioCode]]></category>
		<category><![CDATA[VSCode]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12340</guid>

					<description><![CDATA[<p>What is Visual Studio Code? Visual Studio Code (VS Code) is a free, open-source, and cross-platform code editor developed by [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/visual-studio-code-the-versatile-code-editor-for-modern-development/">Visual Studio Code: The Versatile Code Editor for Modern Development</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1000" height="420" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-60.png" alt="" class="wp-image-12343" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-60.png 1000w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-60-300x126.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-60-768x323.png 768w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What is Visual Studio Code?</h2>



<p class="wp-block-paragraph">Visual Studio Code (VS Code) is a free, open-source, and cross-platform code editor developed by Microsoft. Since its release in 2015, it has rapidly become one of the most popular development environments due to its lightweight design, extensibility, and rich feature set.</p>



<p class="wp-block-paragraph">VS Code supports a wide range of programming languages and development tasks, providing an intelligent code editor with syntax highlighting, debugging, version control integration, and code refactoring tools. Unlike full-fledged Integrated Development Environments (IDEs), VS Code focuses on speed and flexibility, allowing developers to customize their workflow through a vast ecosystem of extensions.</p>



<p class="wp-block-paragraph">Its core architecture is built using web technologies like TypeScript, HTML, and CSS, packaged with Electron to run as a desktop application on Windows, macOS, and Linux.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What are the Major Use Cases of Visual Studio Code?</h2>



<p class="wp-block-paragraph">VS Code caters to various development scenarios:</p>



<h3 class="wp-block-heading">1. Web Development</h3>



<p class="wp-block-paragraph">With built-in support for HTML, CSS, and JavaScript, along with popular frameworks like React, Angular, and Vue.js via extensions, VS Code is a go-to editor for frontend and full-stack web development.</p>



<h3 class="wp-block-heading">2. Backend and Cloud Development</h3>



<p class="wp-block-paragraph">Developers use VS Code for Python, Node.js, Java, C#, Go, and other backend languages. Integrated terminals and debugging tools simplify development and deployment, including cloud-native workflows.</p>



<h3 class="wp-block-heading">3. DevOps and Container Management</h3>



<p class="wp-block-paragraph">Extensions for Docker, Kubernetes, and Azure enable VS Code users to manage infrastructure, deploy applications, and monitor environments directly from the editor.</p>



<h3 class="wp-block-heading">4. Data Science and Machine Learning</h3>



<p class="wp-block-paragraph">Python and Jupyter notebook support through extensions make VS Code an excellent environment for data exploration, visualization, and model training.</p>



<h3 class="wp-block-heading">5. Version Control</h3>



<p class="wp-block-paragraph">Git integration is built-in, allowing users to stage, commit, push, pull, and resolve merge conflicts without leaving the editor.</p>



<h3 class="wp-block-heading">6. Remote Development</h3>



<p class="wp-block-paragraph">VS Code supports remote SSH, containers, and Windows Subsystem for Linux (WSL), enabling seamless coding on remote machines or virtual environments.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">How Visual Studio Code Works Along with Architecture?</h2>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="720" height="445" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-61.png" alt="" class="wp-image-12344" style="width:812px;height:auto" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-61.png 720w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-61-300x185.png 300w" sizes="auto, (max-width: 720px) 100vw, 720px" /></figure>



<p class="wp-block-paragraph">VS Code is designed around a modular, extensible architecture that balances performance and flexibility.</p>



<h3 class="wp-block-heading">Core Components:</h3>



<ul class="wp-block-list">
<li><strong>Electron Framework:</strong> VS Code runs as an Electron app, combining Chromium (for UI) and Node.js (for backend functionality).</li>



<li><strong>Monaco Editor:</strong> The heart of VS Code’s text editing is the Monaco Editor, a powerful browser-based editor offering advanced features like syntax highlighting, autocompletion, and error detection.</li>



<li><strong>Extensions:</strong> The extension API allows developers to enhance VS Code with new language support, debuggers, themes, and integrations. Extensions run in isolated processes to maintain editor responsiveness.</li>



<li><strong>Language Server Protocol (LSP):</strong> VS Code communicates with language servers to provide rich language features like code completion, linting, and refactoring in a standardized way, decoupling language intelligence from the editor.</li>



<li><strong>User Interface Layer:</strong> Built with web technologies, it presents windows, panels, editors, sidebars, and menus with customizable layouts.</li>
</ul>



<h3 class="wp-block-heading">Communication Flow:</h3>



<ul class="wp-block-list">
<li>The editor sends requests (e.g., code completion) to language servers.</li>



<li>Language servers analyze code and respond with suggestions or diagnostics.</li>



<li>User interactions (typing, debugging) trigger UI updates and backend processes.</li>



<li>Extensions can intercept and modify workflows or add new commands.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What is the Basic Workflow of Visual Studio Code?</h2>



<h3 class="wp-block-heading">1. Installation and Setup</h3>



<p class="wp-block-paragraph">Download and install VS Code on your platform. Install relevant language extensions for your project.</p>



<h3 class="wp-block-heading">2. Create or Open a Project</h3>



<p class="wp-block-paragraph">Open a folder containing your source code or create new files directly in the editor.</p>



<h3 class="wp-block-heading">3. Code Editing</h3>



<p class="wp-block-paragraph">Write code with syntax highlighting, IntelliSense autocomplete, and inline error checking.</p>



<h3 class="wp-block-heading">4. Debugging</h3>



<p class="wp-block-paragraph">Set breakpoints, inspect variables, and step through code using built-in debugging tools.</p>



<h3 class="wp-block-heading">5. Version Control</h3>



<p class="wp-block-paragraph">Manage your source code with Git integration—stage changes, commit, push, and pull without leaving VS Code.</p>



<h3 class="wp-block-heading">6. Extensions and Customization</h3>



<p class="wp-block-paragraph">Install extensions for language support, themes, linters, snippets, and integrate tools like Docker, Azure, or Jupyter notebooks.</p>



<h3 class="wp-block-heading">7. Terminal and Tasks</h3>



<p class="wp-block-paragraph">Use the integrated terminal to run shell commands and automate repetitive tasks with customizable task runners.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">Step-by-Step Getting Started Guide for Visual Studio Code</h2>



<h3 class="wp-block-heading">Step 1: Download and Install</h3>



<p class="wp-block-paragraph">Visit the official website <a href="https://code.visualstudio.com/">code.visualstudio.com</a> and download the installer for your OS. Follow installation instructions.</p>



<h3 class="wp-block-heading">Step 2: Install Essential Extensions</h3>



<p class="wp-block-paragraph">Open the Extensions Marketplace (Ctrl+Shift+X or Cmd+Shift+X) and install:</p>



<ul class="wp-block-list">
<li>Language packs (Python, JavaScript, C#, etc.)</li>



<li>GitLens (enhanced Git support)</li>



<li>Prettier or ESLint (code formatting and linting)</li>



<li>Debugger extensions for your language</li>
</ul>



<h3 class="wp-block-heading">Step 3: Open a Project or Folder</h3>



<p class="wp-block-paragraph">Use File &gt; Open Folder to load your workspace or start with a new folder.</p>



<h3 class="wp-block-heading">Step 4: Customize Settings</h3>



<p class="wp-block-paragraph">Modify preferences via File &gt; Preferences &gt; Settings for themes, font sizes, tab behavior, and more.</p>



<h3 class="wp-block-heading">Step 5: Start Coding</h3>



<p class="wp-block-paragraph">Create new files, write code, and use IntelliSense for autocomplete and error highlighting.</p>



<h3 class="wp-block-heading">Step 6: Run and Debug</h3>



<p class="wp-block-paragraph">Set breakpoints in your code, open the Debug view, configure launch settings, and start debugging.</p>



<h3 class="wp-block-heading">Step 7: Use Git Integration</h3>



<p class="wp-block-paragraph">Initialize a repository, commit your changes, push to remote repositories, and view diffs.</p>



<h3 class="wp-block-heading">Step 8: Explore Integrated Terminal</h3>



<p class="wp-block-paragraph">Run build scripts, npm commands, or shell scripts directly within VS Code.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/visual-studio-code-the-versatile-code-editor-for-modern-development/">Visual Studio Code: The Versatile Code Editor for Modern Development</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/visual-studio-code-the-versatile-code-editor-for-modern-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Git Commands Tutorials and Example: Git Reset – Git Revert</title>
		<link>https://www.scmgalaxy.com/tutorials/git-commands-tutorials-and-example-git-reset-git-revert/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-commands-tutorials-and-example-git-reset-git-revert/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Thu, 05 Aug 2021 12:16:06 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git Commands]]></category>
		<category><![CDATA[Git Commands Tutorials]]></category>
		<category><![CDATA[Git Reset]]></category>
		<category><![CDATA[Git Revert]]></category>
		<category><![CDATA[uses of git reset]]></category>
		<category><![CDATA[uses of git revert]]></category>
		<category><![CDATA[What are Uses of git reset]]></category>
		<category><![CDATA[What are Uses of git revert]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7446</guid>

					<description><![CDATA[<p>A committed snapshot can be undone with the git reverse command. Rather than removing the commit from the project history, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-commands-tutorials-and-example-git-reset-git-revert/">Git Commands Tutorials and Example: Git Reset – Git Revert</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">A committed snapshot can be undone with the git reverse command. Rather than removing the commit from the project history, it determines how to reverse the modifications made by the commit and adds a new commit with the resulting content. This prevents Git from losing history, which is critical for maintaining the integrity of your revision history and collaborating with confidence.</p>



<h2 class="wp-block-heading">Reverting vs. Resetting:-</h2>



<h4 class="wp-block-heading"><code><span class="has-inline-color has-vivid-red-color">git revert</span></code></h4>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://miro.medium.com/max/1200/1*8GsjZXPaKv-C_1eFK0D1XQ.png" alt="Use of Git Reset, Git Revert, Git Checkout &amp; Squash Commit | by Ameet  Prajapati | MindOrks | Medium"/></figure></div>



<p class="wp-block-paragraph">It&#8217;s crucial to note that git revert just undoes a single commit; it doesn&#8217;t “revert” a project to its prior state by deleting all future commits. This is referred to as a reset rather than a revert in Git.</p>



<p class="wp-block-paragraph">Compared to resetting, reverting offers two significant advantages. It is a &#8220;safe&#8221; action for commits that have already been published to a shared repository since it does not affect the project history. Please check the git reset page for further information on why changing shared history is harmful.</p>



<p class="wp-block-paragraph">Second, although git reset can only go backwards from the current commit, git revert can target a specific commit at any time in the history. If you wanted to undo an old commit with git reset, for example, you&#8217;d have to erase all commits that came after the target commit, then remove the target commit and re-commit all subsequent commits. Needless to say, this isn&#8217;t a really elegant undo method.</p>



<h4 class="wp-block-heading"><code><span class="has-inline-color has-vivid-red-color">git reset</span></code></h4>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://res.cloudinary.com/practicaldev/image/fetch/s--x1oDKltr--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://cl.ly/063v3m0l2X3b/Image%25202018-05-21%2520at%252010.56.45%2520AM.png" alt="git reset soft: When to Use Git Reset, Git Revert &amp; Git Checkout - DEV  Community"/></figure></div>



<p class="wp-block-paragraph">If git revert is the &#8220;safe&#8221; approach to reverse changes, git reset may be considered the &#8220;dangerous&#8221; alternative. There is no way to recover the original copy when you undo with git reset (and the commits are no longer referenced by any ref or the reflog). When using this tool, be cautious because it&#8217;s one of the few Git commands that might cause you to lose your work.</p>



<h2 class="wp-block-heading">What are Uses of:-</h2>



<h4 class="wp-block-heading"><code><span class="has-inline-color has-vivid-red-color">git reset</span></code>:- </h4>



<ul class="wp-block-list"><li>The selected file will be removed from the staging area, but the working directory will remain unaltered. This removes a file off the stage without overwriting any modifications.</li><li>The staging area should be reset to reflect the most recent commit, but the working directory should remain untouched. This upstages all files without overwriting any modifications, allowing you to re-create the staged snapshot from the ground up.</li><li>Back up the current branch tip to and reset the staging area to match, but don&#8217;t touch the working directory. Since then, all changes have been saved in the working directory, allowing you to re-commit the project history with cleaner, more atomic snapshots.</li></ul>



<h4 class="wp-block-heading"><code><span class="has-inline-color has-vivid-red-color">git reset –hard</span></code>:-</h4>



<ul class="wp-block-list"><li>To match the most current commit, reset the staging area and working directory. The –hard flag tells Git to overwrite all changes in the working directory, in addition to upstaging modifications. To put it another way, this deletes any uncommitted modifications, so make sure you truly want to get rid of your local changes before using it.</li><li>Reset both the staging area and the working directory to reflect the current branch tip&#8217;s position. This removes not just the uncommitted modifications, but also all subsequent commits.</li></ul>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-commands-tutorials-and-example-git-reset-git-revert/">Git Commands Tutorials and Example: Git Reset – Git Revert</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-commands-tutorials-and-example-git-reset-git-revert/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 5 Git Version Control Software in Cloud</title>
		<link>https://www.scmgalaxy.com/tutorials/top-5-git-version-control-software-in-cloud/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-5-git-version-control-software-in-cloud/#respond</comments>
		
		<dc:creator><![CDATA[narayan k]]></dc:creator>
		<pubDate>Sat, 31 Jul 2021 10:16:24 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Apache Subversion]]></category>
		<category><![CDATA[Beanstalk]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Gitlab]]></category>
		<category><![CDATA[HelixCore]]></category>
		<category><![CDATA[Version Control system]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7230</guid>

					<description><![CDATA[<p>Version control is a way to keep track of changes to code so that if something goes wrong, we can [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-5-git-version-control-software-in-cloud/">Top 5 Git Version Control Software in Cloud</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Version control is a way to keep track of changes to code so that if something goes wrong, we can compare across different code versions and go back to any previous versions we want. This is very essential where many developers are constantly working on/changing the source code.</p>



<p class="wp-block-paragraph"><strong>Benefits of Version Control Software:</strong></p>



<p class="wp-block-paragraph">The main advantages of using version control software include streamlining the development process, managing the code for multiple projects, and keeping a history of all changes within a code.</p>



<p class="wp-block-paragraph">A version control software saves all the changes in a repository. So, if developers make a mistake, they can undo it. Also, they can compare the new code with the previous version to resolve their grievance. It can reduce human errors and unintended consequences to a great extent. Very suitable for any web development company around the world.</p>



<p class="wp-block-paragraph">In addition, it facilitates the management of the project&#8217;s centralized repository, file storage, documents, and other information related to the project.</p>



<p class="wp-block-paragraph">Here is the list of <strong>Top 4 git version control software in cloud</strong>:</p>



<h4 class="wp-block-heading">1. GitHUb</h4>



<p class="wp-block-paragraph">GitHub helps software teams collaborate and maintain a full history of code changes. You can track changes in the code, turn back the clock to undo errors, and share your efforts with other team members.</p>



<p class="wp-block-paragraph">It is a repository for host Git projects. For those wondering what is Git? It is an open-source version control system with local branching, multiple workflows, and convenient staging areas. Git version control is an easy-to-learn alternative and provides faster operation speeds.</p>



<p class="wp-block-paragraph"><strong>Features:</strong></p>



<ul class="wp-block-list"><li>Drag and Drop Gist Code.</li><li>Creating a folder via the Web Interface.</li><li>Using Github Command Line Interface.</li><li>Linking Lines.</li></ul>



<h4 class="wp-block-heading">2. GitLab</h4>



<p class="wp-block-paragraph">GitLab comes with a number of useful features such as an integrated project, a project website, etc. By using GitLab&#8217;s continuous integration (CI) capabilities, you can test and distribute code automatically.</p>



<p class="wp-block-paragraph">You can access all aspects of a project, view the code, receive requests and add conflict resolution.</p>



<p class="wp-block-paragraph">This version control software is designed for the DevOps lifecycle. Meaning, your projects are quite complex and involve cloud engineering and the like. Gitlab provides basic features such as view code, pull requests, and merge resolution.</p>



<ul class="wp-block-list"><li>Development.</li><li>Security.</li><li>Ops teams collaborate</li><li>Build software</li><li>Reduce development costs</li></ul>



<h4 class="wp-block-heading">4. Beanstalk</h4>



<p class="wp-block-paragraph">Beanstalk is a perfect choice for those who need to work from remote locations. This software is based on browser and cloud, which allows users to code, commit, review and deploy using the browser.</p>



<p class="wp-block-paragraph">It allows users to code, commit, review, and deploy code using the browser. For its ease of use, you can integrate it with any messaging or email platform for efficient collaboration.</p>



<p class="wp-block-paragraph">It can be integrated with messaging and email platforms for efficient collaboration regarding code and updates. It supports both Git and SVN and also comes with built-in analytics features. For security, it takes advantage of encryption, two-factor authentication, and password protection functions.</p>



<p class="wp-block-paragraph"><strong>Features:</strong></p>



<ul class="wp-block-list"><li>Variety of Application Deployment Options.</li><li>Wide Selection of Application Platforms.</li><li>Management and Updates.</li><li>Customization</li><li>Scaling</li><li>Compliance</li></ul>



<h4 class="wp-block-heading">4. HelixCore</h4>



<p class="wp-block-paragraph">Helix is one of the best version control systems. It provides an integrated platform for collaborative development and protection of intellectual property of any kind. It benefits from several new capabilities, support for both distributed and centralized development workflows. Helix also provides a complete Git ecosystem. And it comes in both on-premises and cloud versions.</p>



<p class="wp-block-paragraph">Helixcore provides seamless team collaboration and support for both centralized and distributed development workflows. It is available for both cloud and on-premises deployments, which makes it scalable.</p>



<p class="wp-block-paragraph"><strong>Features:</strong></p>



<ul class="wp-block-list"><li>Work order management</li><li>Applications Management</li><li>Document Management</li><li>Access Controls</li><li>Procurement Management</li></ul>



<h4 class="wp-block-heading">5. Apache Subversion</h4>



<p class="wp-block-paragraph">Apache Subversion is another open-source version control system, founded a few decades ago by CollabNet. Both open-source arenas and enterprises consider it a reliable option for valuable data.</p>



<p class="wp-block-paragraph">SVN is easy to implement with any programming language. Also, it provides persistent storage for handling text and binary files.</p>



<p class="wp-block-paragraph"><strong>Features:</strong></p>



<ul class="wp-block-list"><li>Inventory management</li><li>Security management</li><li>History tracking</li><li>User access controls</li><li>Data recovery</li><li>Workflow management</li></ul>



<p class="wp-block-paragraph">These are the best version control systems that a web development company should definitely consider using, according to the requirements.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-5-git-version-control-software-in-cloud/">Top 5 Git Version Control Software in Cloud</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-5-git-version-control-software-in-cloud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>List of Top 5 Git repository management systems in 2021</title>
		<link>https://www.scmgalaxy.com/tutorials/list-of-top-5-git-repository-management-systems-in-2021/</link>
					<comments>https://www.scmgalaxy.com/tutorials/list-of-top-5-git-repository-management-systems-in-2021/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Tue, 27 Jul 2021 10:11:37 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[list of top 5 repository management]]></category>
		<category><![CDATA[top 10 git]]></category>
		<category><![CDATA[top 5 git]]></category>
		<category><![CDATA[top 5 git repository in 2021]]></category>
		<category><![CDATA[top 5 git repository management system in 2021]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7104</guid>

					<description><![CDATA[<p>GitHub. Bitbucket. Assembla. RhodeCode. DevZing Subversion. GitHub:- Github is a collaborative coding tool with version control, branching, and merging all [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/list-of-top-5-git-repository-management-systems-in-2021/">List of Top 5 Git repository management systems in 2021</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<ol class="wp-block-list"><li>GitHub. </li><li>Bitbucket.</li><li>Assembla. </li><li>RhodeCode.</li><li>DevZing Subversion. </li></ol>



<h4 class="wp-block-heading">GitHub:- </h4>



<p class="wp-block-paragraph">Github is a collaborative coding tool with version control, branching, and merging all included.</p>



<p class="wp-block-paragraph">GitHub is the best place to share code with friends, co-workers, classmates, and strangers.</p>



<h4 class="wp-block-heading">Bitbucket:-</h4>



<p class="wp-block-paragraph">Bitbucket is a cloud-based Git and Mercurial-based source code management and collaboration tool.</p>



<p class="wp-block-paragraph">Bitbucket is a cloud-based hosting service for projects that use either the Mercurial or Git revision control systems.</p>



<h4 class="wp-block-heading">Assembla:-</h4>



<p class="wp-block-paragraph">Enterprise cloud version control for secure source code management in the cloud. </p>



<p class="wp-block-paragraph">Assembla is the world’s only Enterprise Cloud Version Control (ECVC) provider, bringing multi-repository secure source code management to the cloud.</p>



<h4 class="wp-block-heading">RhodeCode:-</h4>



<p class="wp-block-paragraph">RhodeCode is a fast and powerful management tool for Mercurial and GITand SVN with a built-in push/pull server, full-text search, pull requests, and code-review system.</p>



<p class="wp-block-paragraph">RhodeCode is a fast and powerful management tool for Mercurial and GIT and Subversion with a built-in push/pull server, full-text search, pull requests, and powerful code-review system. It works on http/https and has a range of unique features.</p>



<h4 class="wp-block-heading">DevZing Subversion:-</h4>



<p class="wp-block-paragraph">High-speed, secure, available subversion hosting.</p>



<p class="wp-block-paragraph">Your code is safe and secure and accessible from anywhere.</p>



<p class="wp-block-paragraph">All plans support SSL (https) for connecting to your repositories.</p>



<p class="wp-block-paragraph">Free import from other Subversion systems. Friction-free migration.</p>



<p class="wp-block-paragraph">Send an email on every commit. Always know who is updating your repositories.</p>



<h2 class="wp-block-heading">What is git?</h2>



<p class="wp-block-paragraph">Git is software for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development. Its goals include speed, data integrity, and support for distributed, non-linear workflows.</p>



<h2 class="wp-block-heading">Why do we need git?</h2>



<p class="wp-block-paragraph">Git is the most commonly used version control system. Git tracks the changes you make to files, so you have a record of what has been done, and you can revert to specific versions should you ever need to. Git also makes collaboration easier, allowing changes by multiple people to all to be merged into one source.</p>



<h2 class="wp-block-heading">What is the role of Git repository managment systems?</h2>



<ul class="wp-block-list"><li>Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.</li><li>It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.</li><li>A Git repository is the . git/ folder inside a project.</li><li>This repository tracks all changes made to files in your project, building a history over time.</li></ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/list-of-top-5-git-repository-management-systems-in-2021/">List of Top 5 Git repository management systems in 2021</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/list-of-top-5-git-repository-management-systems-in-2021/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Enforce the JIRA issue id in a GIT commit message</title>
		<link>https://www.scmgalaxy.com/tutorials/enforce-the-jira-issue-id-in-a-git-commit-message/</link>
					<comments>https://www.scmgalaxy.com/tutorials/enforce-the-jira-issue-id-in-a-git-commit-message/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 14:21:59 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[commit]]></category>
		<category><![CDATA[commit-msg]]></category>
		<category><![CDATA[Gerrit]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Jira]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5249</guid>

					<description><![CDATA[<p>Enforce the JIRA issue id in a GIT commit message This can be done by using git hooks file location [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/enforce-the-jira-issue-id-in-a-git-commit-message/">Enforce the JIRA issue id in a GIT commit message</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5258" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/jira-git.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/jira-git.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/jira-git-300x175.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Enforce the JIRA issue id in a GIT commit message</p>
<p><strong>This can be done by using git hooks file location at .git/hooks/commit-msg</strong>. Following are the 2 way in whcih each Developers can set the Hooks in their developement envioronment.</p>
<p><strong>Method &#8211; 1</strong></p>
<pre class="brush: plain; title: ; notranslate"># commit-msg.sh
#!/bin/sh
# This hook will make sure that the commit message contains a JIRA issue.
#
# To enable this hook, rename this file to &quot;.git/hooks/commit-msg&quot;.
# Make sure to add execution permissions to the file.

export MESSAGE=$(&lt;$1)
export JIRA_ISSUE_TAG='ISSUETAG-(&#x5B;0-9]*)'

if &#x5B;&#x5B; $MESSAGE =~ $JIRA_ISSUE_TAG ]]; then
echo -e &quot;\e&#x5B;32mGreat, your commit message contains a JIRA issue!\e&#x5B;0m&quot;
exit 0;
fi

echo -e &quot;\e&#x5B;31mOh hamburgers ... You forgot to add a JIRA issue number!\e&#x5B;0m&quot;;
exit 1;

</pre>
<p><strong>Method 2 &#8211;</strong> This is another very good example to implement to force jira id in each commit message. http://nsbogan.com/tools/2015/06/04/jira-id-in-git-commit-messages</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/enforce-the-jira-issue-id-in-a-git-commit-message/">Enforce the JIRA issue id in a GIT commit message</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/enforce-the-jira-issue-id-in-a-git-commit-message/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Best Branching and Merging strategies in Gerrit</title>
		<link>https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-gerrit/</link>
					<comments>https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-gerrit/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 14:09:36 +0000</pubDate>
				<category><![CDATA[Gerrit]]></category>
		<category><![CDATA[Best]]></category>
		<category><![CDATA[Branching]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Merging]]></category>
		<category><![CDATA[strategies]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5242</guid>

					<description><![CDATA[<p>Best Branching and Merging strategies in Gerrit Step 1 &#8211; First Lets read this article about Best Branching and Merging [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-gerrit/">Best Branching and Merging strategies in Gerrit</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5269" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-1.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-1-300x175.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Best Branching and Merging strategies in Gerrit</strong></p>
<p><strong>Step 1 &#8211; First Lets read this article about Best Branching and Merging strategies in git</strong></p>
<blockquote class="wp-embedded-content" data-secret="R7GR5d9ayw"><p><a href="https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/">Best Branching and Merging strategies in git</a></p></blockquote>
<p><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Best Branching and Merging strategies in git&#8221; &#8212; scmGalaxy" src="https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/embed/#?secret=cMx479AkuJ#?secret=R7GR5d9ayw" data-secret="R7GR5d9ayw" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
<p><strong>Step 2 &#8211; Now Lets learn the Gerrit Merge Types</strong><br />
https://nofluffjuststuff.com/magazine/2016/04/understanding_and_applying_gerrit_part_3_gerrit_submit_types_and_git_review</p>
<p><strong>Step 3 &#8211; Time to Learn the Types of Submit in Gerrit</strong><br />
https://gerrit-review.googlesource.com/Documentation/project-configuration.html</p>
<p><strong>Step 4 &#8211; Finally, You must read the recommendations below</strong><br />
https://hyperledger-fabric.readthedocs.io/en/release-1.2/Gerrit/best-practices.html</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-gerrit/">Best Branching and Merging strategies in Gerrit</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-gerrit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Best Branching and Merging strategies in git</title>
		<link>https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/</link>
					<comments>https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 13:51:49 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Best]]></category>
		<category><![CDATA[branch]]></category>
		<category><![CDATA[Branching]]></category>
		<category><![CDATA[Gerrit]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Merge]]></category>
		<category><![CDATA[Merging]]></category>
		<category><![CDATA[strategies]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5233</guid>

					<description><![CDATA[<p>Best Branching and Merging strategies in git Step 1 &#8211; First you need to learn the needs of branches. This [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/">Best Branching and Merging strategies in git</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5275" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/git.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/git.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/git-300x175.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>Best Branching and Merging strategies in git</strong></p>
<p><strong>Step 1 &#8211; First you need to learn the needs of branches. This is very good read.</strong></p>
<ul>
<li>https://docs.microsoft.com/en-us/vsts/repos/tfvc/branching-strategies-with-tfvc?view=vsts</li>
</ul>
<p><strong>Step 2 &#8211; Now time has come to Learn best branching model in Git.</strong></p>
<ul>
<li>https://buddy.works/blog/5-types-of-git-workflows</li>
<li>https://hackernoon.com/a-branching-and-releasing-strategy-that-fits-github-flow-be1b6c48eca2</li>
<li>https://nvie.com/posts/a-successful-git-branching-model/</li>
</ul>
<p><strong>Step 3 &#8211; Now, Lets understand, what is the kind of merges we have in Git?</strong></p>
<ul>
<li>https://www.atlassian.com/git/tutorials/using-branches/git-merge</li>
<li>https://git-scm.com/docs/merge-strategies</li>
<li>https://stackoverflow.com/questions/366860/when-would-you-use-the-different-git-merge-strategies</li>
</ul>
<p><strong>Step 4 &#8211; Are you still having a questions, Please post in the comment section.</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/">Best Branching and Merging strategies in git</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to revert the changes once its submitted in Gerrit</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-revert-the-changes-once-its-submitted-in-gerrit/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-revert-the-changes-once-its-submitted-in-gerrit/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 13:10:23 +0000</pubDate>
				<category><![CDATA[Gerrit]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[patch set]]></category>
		<category><![CDATA[patchsets]]></category>
		<category><![CDATA[revert]]></category>
		<category><![CDATA[Submit]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5229</guid>

					<description><![CDATA[<p>How to revert the changes once its submitted in Gerrit The Revert button is available if the change has been [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-revert-the-changes-once-its-submitted-in-gerrit/">How to revert the changes once its submitted in Gerrit</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5273" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-2.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-2.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-2-300x175.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>How to revert the changes once its submitted in Gerrit</strong></p>
<p><strong>The Revert button is available if the change has been submitted</strong>. This Reverts the change via creating a new one. When the Revert button is pressed, a panel will appear to allow the user to enter a commit message for the reverting change.</p>
<p>Once a revert change is created, the original author and any reviewers of the original change are added as reviewers and a message is posted to the original change linking to the revert.</p>
<p>However, <strong>patchsets can not be reverted</strong>. so first you have to checkout one of the previous patchset. you can get the command from Gerrit review board at each patchset download panel. After checking it out amend it to generate new commit hash then pushed again as a new patchset.</p>
<p>If I have multiple patch set versions for one change in Gerrit, You can only submit the latest patch set version. The design assumes that the most recent patch set is the one developers will review and test, and as such older patch sets can not be submitted.</p>
<p><strong>Good Read</strong><br />
http://www.saros-project.org/node/155</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-revert-the-changes-once-its-submitted-in-gerrit/">How to revert the changes once its submitted in Gerrit</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-revert-the-changes-once-its-submitted-in-gerrit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is a Change and Patch set in Gerrit?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-a-change-and-patch-set-in-gerrit/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-a-change-and-patch-set-in-gerrit/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 12:57:45 +0000</pubDate>
				<category><![CDATA[Gerrit]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[patch set]]></category>
		<category><![CDATA[Submit]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5226</guid>

					<description><![CDATA[<p>Here is the short and quick description of Gerrit key teminology. Change Every time you push a commit with a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-a-change-and-patch-set-in-gerrit/">What is a Change and Patch set in Gerrit?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5280" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-3.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-3.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/gerrit-3-300x175.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Here is the short and quick description of Gerrit key teminology.</p>
<h3><strong>Change</strong></h3>
<p>Every time you push a commit with a new Change-Id Gerrit allocates a new change. Every change has a unique Change-Id and a Change Number. The change contains a number of patch sets, comments on the patch sets and a code review rating (+2, +1, 0, -1, -2). Each change has a dedicated page that shows information about it called individual change page. This includes dependencies between different changes, patch sets and the review comments.</p>
<h3>Submit</h3>
<p>Once a change has received a +2 in the Code Review and no negative voting in the other categories the last patchset can be submitted. This means Gerrit will now try to cherry-pick your patch set and mark the change as merged.</p>
<h3>Patch set</h3>
<p>If you want to modify your change, you don&#8217;t have to push a new change to Gerrit but only a new patch set . Imagine a patch sets as different versions or revisions of a change. Each patch set can receive inline comments. Gerrit uses the Change-Id of a commit message to identify patch sets of a change. This is why all patch sets of a change have the same Change-Id.</p>
<p>To create a new Patch when new changes are submitted<br />
<strong>Step 1: Install commit-msg hooks for gerrit</strong></p>
<pre class="brush: plain; title: ; notranslate">$ scp -p -P 29418 localhost:hooks/commit-msg .git/hooks/</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 2: Create normal commit and push (for Patchset1)</strong></p>
<pre class="brush: plain; title: ; notranslate">for example:

git add Server.java
git commit -m &quot;server added&quot;
git push origin HEAD:refs/for/master</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Step 3: After doing some changes to Server.java</strong></p>
<p>Finally to create new Patchset (Patchset 2)</p>
<pre class="brush: plain; title: ; notranslate">git add Server.java
git commit --amend
git push origin HEAD:refs/for/master
Repeat step 3 for further Patches</pre>
<p><strong>Understanding the Patch set in Git perspective</strong></p>
<p>Git is a very advanced distributed source code control system. Maintaining patch sets (often called a topic branch) in Git. Git includes a rebase capability that is very useful for a number of different operations related to maintaining a branch of code including moving a branch forward, moving a branch around on an upstream branch to look for breakage, and merging changesets to create patch files.</p>
<p>Git: How to create and apply patches</p>
<p><strong>Creating a patch</strong></p>
<pre class="brush: plain; title: ; notranslate">Make your changes and commit them.
Run $ git format-patch COMMIT_REFERENCE #to convert all commits since the referenced commit (not including it) into patch files.
$ git format-patch HEAD~~

This will create 2 files, one for each commit since HEAD~~, like these:
0001-make-stuff-more-awesome.patch
0002-allow-users-to-be-locked.patch</pre>
<p><strong>Applying patches</strong><br />
You can use git apply some.patch to have the changes from the .patch file applied to your current working directory. They will be unstaged and need to be committed by you.</p>
<pre class="brush: plain; title: ; notranslate">To apply a patch as a commit (with its commit message), use git am some.patch. \
For all patches to be applied, simply run:
$ git am *.patch

Note that in some previous version you could pass the latest patch filename of a list of patches to apply all previous patches as wel
$ git am 0002-allow-users-to-be-locked.patch # May no longer work for you</pre>
<p>You then have the 2 unpushed commits from the patch file created earlier.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-a-change-and-patch-set-in-gerrit/">What is a Change and Patch set in Gerrit?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-a-change-and-patch-set-in-gerrit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to update or pull current branch before committing in Git?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-update-or-pull-current-branch-before-committing-in-git/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-update-or-pull-current-branch-before-committing-in-git/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 22 Aug 2018 10:51:53 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[git commit]]></category>
		<category><![CDATA[git fetch]]></category>
		<category><![CDATA[git merge]]></category>
		<category><![CDATA[git pull]]></category>
		<category><![CDATA[git push]]></category>
		<category><![CDATA[git remote]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5222</guid>

					<description><![CDATA[<p>Best practice says that before you commit in git, you need to either do git pull or git fetch/merge. However, [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-update-or-pull-current-branch-before-committing-in-git/">How to update or pull current branch before committing in Git?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5277" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/git-1.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/git-1.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/08/git-1-300x175.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Best practice says that before you commit in git, you need to either do git pull or git fetch/merge. However, there is a way to find out wheather your branches is not in sync with remote.</p>
<p><strong>To check the remote repo status you are really simulating a &#8220;fetch&#8221;</strong><br />
$ git fetch -v &#8211;dry-run</p>
<p><strong>To bring your remote refs up to date</strong><br />
$ git remote -v update</p>
<p><strong>This command will print whether the branch you are tracking is ahead, behind or has diverged with remote. If it says nothing, the local and remote are the same.</strong><br />
$ git status -uno</p>
<p><strong>To pull</strong><br />
$ git pull origin &lt;&lt;branchname&gt;&gt;<br />
or<br />
$ git fetch origin &lt;&lt;branchname&gt;&gt;<br />
$ git merge remote/&lt;&lt;branchname&gt;&gt;<br />
$ git commit</p>
<p><strong>Compare the two branches:</strong><br />
$ git log HEAD..origin/master &#8211;oneline</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-update-or-pull-current-branch-before-committing-in-git/">How to update or pull current branch before committing in Git?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-update-or-pull-current-branch-before-committing-in-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Advantages of Git over SVN and perforce</title>
		<link>https://www.scmgalaxy.com/tutorials/advantages-of-git-over-svn-and-perforce/</link>
					<comments>https://www.scmgalaxy.com/tutorials/advantages-of-git-over-svn-and-perforce/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 22:03:01 +0000</pubDate>
				<category><![CDATA[Tools Comparison]]></category>
		<category><![CDATA[Advantages of Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git over SVN and perforce]]></category>
		<category><![CDATA[Git Review]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Reasons to Switch to Git]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Why Git over SVN and perforce]]></category>
		<category><![CDATA[workflow]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4813</guid>

					<description><![CDATA[<p>What are the advantage of GIT over Subversion and perforce? Code development has its negative and positive sides, but anything [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/advantages-of-git-over-svn-and-perforce/">Advantages of Git over SVN and perforce</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>What are the advantage of GIT over Subversion and perforce?</p>
<p>Code development has its negative and positive sides, but anything that brings more relief and gains time in a project is the developer&#8217;s best friend. CVS was for a long time the best solution for version control, adopted by all programmers in major projects. While CVS has slowly evolved into other more successful concurrent version systems like Subversion, the latest trend that manifests across the development world is the usage of DCVSs (distributed version control systems) as the main project tracking managers.</p>
<p>Since its launch in the mid ‘80’s and till 2000, CVS was the only real alternative as a revision control system for programmers. Not a very good one, but better than anything else. Built in 2000 by CollabNet Inc., Subversion was marketed from the start as “a better CVS” and “CVS done right.” It was truly better than CVS; unfortunately, it didn&#8217;t bring in that many new features, and under the hood, nothing has changed its core.</p>
<p>Because of that, there was a surge in revision control software development at the start of the 2000&#8217;s, which led to the birth and development of many DCVS projects. GNU arch and Monotone where about the first to be launched, followed by Darcs and BitKeeper.</p>
<p>A serious step in DVCS&#8217; development took place after the quarrel between Linux developers and BitKeeper&#8217;s management, after BitKeeper accused one of the Linux developers of reverse engineering one of their commercially licensed features. Soon after, Linux programmers led by Linus Torvalds himself released Git as an improved open source solution to BitKeeper&#8217;s soft. Besides Git, Mercurial and Bazaar were also very successful alternatives to SVN, sharing many of Git&#8217;s features, but lagging in performance.</p>
<p>While SVN (Subversion) was extremely popular at the beginning, it established itself as the premiere solution in code development. Soon after, as DVCSs were developed and released, users migrated to them, abandoning SVN, opting for the more loose and faster solutions.</p>
<p>Nevertheless, old CVS users still tend to linger around SVN due to its familiar interface and old coding habits established over the years. Many of them question to this day Git&#8217;s efficiency in quickly putting versions together, while Git supporters, on the other hand, criticize SVN&#8217;s stiffness regarding offline work.</p>
<p>In many cases, the debate between Git and SVN supporters usually starts with the following features, or lack.</p>
<p><strong>Git features</strong></p>
<p>Offline work: Git permits any developer to branch a project and store it in a local folder as a standalone repository. After doing all the work offline, the central server or storage unit, they can than simply merge it with the central repository committing all the changes already made. This permits developers that don&#8217;t have Internet access all the time to work on a project with ease.</p>
<p>Central project information: Unlike SVN, which uses a .svn folder in each directory, Git uses a central .git folder in the checkout root for all project data and logs. This way, it&#8217;s easier to track changes to specific folders, on specific dates or by certain development teams. Thus, project code management is much more simplified. This also allows easy renaming of files or folders, Git automatically transmitting these changes in its history.</p>
<p>Easy branching: Branches and tags are much easier to create and switch in Git.</p>
<p>Merge history: While SVN has a branch merge history, it records all the events as coming from one user (the merger). In case a user has previously worked on a file and has not merged it, if that file is merged by another user, all the changes will be attributed to the user that merged the branch. Git, unlike SVN, can remember file changes beyond a merging point and track every user&#8217;s actions beyond project commits. Git also automatically starts the next merge at the last point it recorded.</p>
<p>Disk space: When the Mozilla project was ported from SVN to Mercurial (very similar to Git in performance), disk space usage went down from 12GB to 420MB, 30 times smaller than the original size. Git is supposed to use the same storage algorithms, so file size should be around the same value.</p>
<p>Speed: This is a no-brainer. Because all operations except for push or fetch are performed locally, Git&#8217;s speed is overwhelmingly faster than SVN could ever supply.</p>
<p>Better access and administration: SVN relies on an authentication module and access lists to permit users to push and merge branches. Git reduces the time spent for providing commit access to users and just lets the administration team decide what to merge and from whom.</p>
<p>Synchronization: It can occur over various types of media like an SSH channel, over FTP, HTTP, WebDAV, or by emails holding attached patches.</p>
<p><strong>SVN features</strong></p>
<p>GUI: From the beginning, SVN users have been using a GUI when managing their repository. This feature is not found at all in Git, a port for TortoiseSVN still being in the works. Besides the lack of a GUI, Git, coming from a UNIX environment, has a very complicated CLI interface with many options and arguments for its base commands.</p>
<p>Single major repository: Other may say this is not a good thing, but it&#8217;s a strictly SVN-specific feature. While Git allows each individual user to copy the entire repository on their computer and work on the project&#8217;s code, Subversion has always relied on permissions being given to users to only work on one single repository stored online. This feature allows the developer to always be able to download the latest version of their project without having to wait for all that work on the project to log online, upload and merge their latest branch. This is very useful in fast development environments or application troubleshooting.</p>
<p>Partial checkouts: Git doesn&#8217;t offer the possibility to download only a single folder from the repository. This may be a disadvantage to developers not having great bandwidth or speed.</p>
<p>Version numbers: Another keeper from the UNIX fathers of Git is the complicated version control numbers. While SVN uses a simple incremented decimal system, Git employs an SHA1 algorithm to output a 40-character hexadecimal string as the version number. This could get very tiring when having hundreds or more versions.</p>
<p>The abovementioned features are only a scratch on the surface when discussing about the version control system war between CVS/SVN supporters and DVCS users. More on the topic can be read <a href="http://versioncontrolblog.com/comparison/Bazaar/CVS/Git/Mercurial/Subversion/index.html" target="_blank" rel="noopener">here</a>, which puts all the major platforms&#8217; features next to one another so they can be compared.</p>
<p>Let&#8217;s now take a look at the parties involved and analyze their impact on the current programming and development world.</p>
<p>Subversion, as of 2009, was recently included in the Apache Incubator project, mainly because of its long usage history in most of the Apache Foundation&#8217;s projects. More details are available in one of my past <a href="http://news.softpedia.com/news/Apache-and-Subversion-Join-Development-Forces-126366.shtml" target="_blank" rel="noopener"><strong>articles</strong></a> on this topic. Other famous open source or commercial projects that have a weakness for SVN include market players like Ruby, Mono, Free Pascal, ExtJS, Tigris, PHP, MediaWiki, GCC, Django and FreeBSD. All having their source code administrated from an SVN repository.</p>
<p>On the other hand, the community&#8217;s favorite project, Git, is currently expanding its horizon every day, recently taking GNOME and The Perl Foundation away from SVN, placing them alongside other notable Git-powered projects like Android, Linux, openSUSE, Yahoo User Interface, x264, Digg, jQuery, X.org, Samba, Ruby on Rails, CakePHP, Fedora, Merb, Freenet, GIMP, Parrot, Qt, rsync, Wine and VLC.</p>
<p>Other Git-like products like Mercurial (originally designed to replace BitKeeper for Linux development) have also been adopted by major corporations and programs like Mozilla, OpenJDK, OpenSolaris, Netbeans, OpenOffice, Vim, SAGE, Growl, Wget, Symbian OS and Adblock Plus. In 2010, The Python Foundation is going to join this list, migrating from SVN.</p>
<p>Another Git-like DVCS platform, generally regarded by the community as being slower than Git, but much easier to learn is Bazaar. This is a product developed especially for Ubuntu, but which saw adoption in many other projects around the web, some of them like Squid, APT, MySQL, GNU Emacs, Gnash and Inkscape.</p>
<p>The trend is easy to see. DVCSs are adopted in more and more projects, while SVN is headed for the history books alongside its precursor, CVS. The final battle in this version control systems war is being waged on the grounds of project storing platforms the likes of SourceForge, Google Code or CodePlex. The winner of this confrontation will surely decide whether SVN will be used in the coming future or whether it will fade away from our minds like the early PC consoles.</p>
<p>Currently, SourceForge and GNU Savannah have the biggest and widest hosting platforms, providing version control platforms like CVS, SVN, Git, Bazaar and Mercurial to all of their users free of charge. For SourceForge, by default, a project will be hosted on Subversion. The same happens in Google Code, where SVN is the default, but the Mountain View-based crew also provides Mercurial as a DVCS alternative. Renowned hosting platform, CodePlex, provides SVN, Mercurial and Microsoft TFS hosting, while the smaller service on Project Kenai offers SVN, Git and Mercurial.</p>
<p>Also lately, due to high technical costs, services are starting to opt only for one version control system, putting some heat in the discussions between the CVS communities. The list is as follows: Mercurial has exclusivity on Bitbucket, Bazaar on Launchpad; Git on Github, Codaset and Gitorious, and SVN on BountySource, Freepository, GridyZone and Origo. A slim crop for SVN, but being the default service on Google Code and SourceForge might give it a fighting chance against the up-and-coming Github.</p>
<p>Some of you might not agree with the previous claim that this is a “battle” and should not be at all compared with the browser wars, but the community deeply rooted in the tech world already knows this is more of a fact than a myth. As proof of concept, we bring you this video from a conference at Google back in 2007, where Linus Torvalds, the inventor of Linux and Git, made some outrageous statements regarding SVN, and especially its users.</p>
<p>If you don&#8217;t have the time to view this one-hour long video, we&#8217;ve listened to the conference and taken some interesting quotes from Mr. Torvalds: “Subversion has been the most pointless project ever started,” continuing with “Subversion used to say CVS done right: with that slogan there is nowhere you can go. There is no way to do CVS right” and ending with “If you like using CVS, you should be in some kind of mental institution or somewhere else.”</p>
<p>Not very heart-warming comments from a public person like Linus Torvalds. Especially being made in the headquarters of one of the companies that have ignored Git and failed to include it in the Google Code project. Nevertheless, Mr. Torvalds might also be under the influence of an inner demon, specific to most UNIX users to prove that any project developed and coming from a Linux environment is better than anything else.</p>
<p>True or not, Git has seen a rise in usage, as proved by the <a href="http://git.wiki.kernel.org/index.php/GitSurvey2008" target="_blank" rel="noopener">2008</a> and <a href="http://git.wiki.kernel.org/index.php/GitSurvey2009" target="_blank" rel="noopener">2009</a> Kernel.org surveys, which had it ranked above any other versioning control platform like SVN, Bazaar and Mercurial, and with a crushing 94.6% rate of overall satisfaction toward the Git user experience. As a conclusion, it is generally acknowledged that future versions of Git will be adopted in more and more environments, and Git will have to fight only against other DVCSs for supremacy in the programming world.</p>
<p>One more good link for Advantahe of git over SVN(Subversion) &#8230;</p>
<p><a href="http://markmcb.com/2008/10/18/3-reasons-to-switch-to-git-from-subversion/" rel="nofollow">http://markmcb.com/2008/10/18/3-reasons-to-switch-to-git-from-subversion/</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/advantages-of-git-over-svn-and-perforce/">Advantages of Git over SVN and perforce</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/advantages-of-git-over-svn-and-perforce/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Git Polling Log java.io.IOException: error=2, No such file or director</title>
		<link>https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 07:56:47 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2008</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Git Polling Log java.io.IOException: error=2, No such file or director Error Started on Sep 15, 2015 [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director-2/">Git Polling Log java.io.IOException: error=2, No such file or director</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Git Polling Log java.io.IOException: error=2, No such file or director</strong><br />
Error<br />
Started on Sep 15, 2015 9:57:00 AM<br />
Using strategy: Default<br />
[poll] Last Built Revision: Revision 2c06c1d705f61e2654d7f30131d8205d6b755d09 (refs/remotes/origin/master)<br />
> /mnt/jenkins/git/2.3.1/bin/git &#8211;version # timeout=10<br />
> /mnt/jenkins/git/2.3.1/bin/git ls-remote -h server.com/repo-provisioning.git master # timeout=10<br />
FATAL: hudson.plugins.git.GitException: Error performing command: /mnt/jenkins/git/2.3.1/bin/git ls-remote -h replica.int.devsnc.com/devsnc-provisioning.git master<br />
hudson.util.IOException2: hudson.plugins.git.GitException: Error performing command: /mnt/jenkins/git/2.3.1/bin/git ls-remote -h http://server/repo-provisioning.git master<br />
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)<br />
at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:384)<br />
at hudson.scm.SCM.poll(SCM.java:401)<br />
at hudson.model.AbstractProject._poll(AbstractProject.java:1433)<br />
at hudson.model.AbstractProject.poll(AbstractProject.java:1336)<br />
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515)<br />
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544)<br />
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)<br />
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)<br />
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br />
at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)<br />
at java.lang.Thread.run(Thread.java:662)<br />
Caused by: hudson.plugins.git.GitException: Error performing command: /mnt/jenkins/git/2.3.1/bin/git ls-remote -h http://server/repo-provisioning.git master<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1464)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1245)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1143)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1134)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2139)<br />
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:576)<br />
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:525)<br />
&#8230; 13 more<br />
Caused by: java.io.IOException: Cannot run program &#8220;/mnt/jenkins/git/2.3.1/bin/git&#8221;: java.io.IOException: error=2, No such file or directory<br />
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)<br />
at hudson.Proc$LocalProc.<init>(Proc.java:244)<br />
at hudson.Proc$LocalProc.<init>(Proc.java:216)<br />
at hudson.Launcher$LocalLauncher.launch(Launcher.java:803)<br />
at hudson.Launcher$ProcStarter.start(Launcher.java:381)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1453)<br />
&#8230; 19 more<br />
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory<br />
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)<br />
at java.lang.ProcessImpl.start(ProcessImpl.java:65)<br />
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)<br />
&#8230; 24 more<br />
Done. Took 21 ms<br />
No changes</p>
<p>Solution &#8211;<br />
A work around of adding the &#8220;Force polling using workspace&#8221; as an &#8220;Additional behaviour&#8221; in your git SCM definition of the windows job.<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director-2/">Git Polling Log java.io.IOException: error=2, No such file or director</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Git Polling Log java.io.IOException: error=2, No such file or director</title>
		<link>https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 07:55:05 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2006</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Git Polling Log java.io.IOException: error=2, No such file or director Error Started on Sep 15, 2015 [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director/">Git Polling Log java.io.IOException: error=2, No such file or director</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Git Polling Log java.io.IOException: error=2, No such file or director</strong><br />
Error<br />
Started on Sep 15, 2015 9:57:00 AM<br />
Using strategy: Default<br />
[poll] Last Built Revision: Revision 2c06c1d705f61e2654d7f30131d8205d6b755d09 (refs/remotes/origin/master)<br />
> /mnt/jenkins/git/2.3.1/bin/git &#8211;version # timeout=10<br />
> /mnt/jenkins/git/2.3.1/bin/git ls-remote -h server.com/repo-provisioning.git master # timeout=10<br />
FATAL: hudson.plugins.git.GitException: Error performing command: /mnt/jenkins/git/2.3.1/bin/git ls-remote -h replica.int.devsnc.com/devsnc-provisioning.git master<br />
hudson.util.IOException2: hudson.plugins.git.GitException: Error performing command: /mnt/jenkins/git/2.3.1/bin/git ls-remote -h http://server/repo-provisioning.git master<br />
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)<br />
at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:384)<br />
at hudson.scm.SCM.poll(SCM.java:401)<br />
at hudson.model.AbstractProject._poll(AbstractProject.java:1433)<br />
at hudson.model.AbstractProject.poll(AbstractProject.java:1336)<br />
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515)<br />
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544)<br />
at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)<br />
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)<br />
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br />
at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)<br />
at java.lang.Thread.run(Thread.java:662)<br />
Caused by: hudson.plugins.git.GitException: Error performing command: /mnt/jenkins/git/2.3.1/bin/git ls-remote -h http://server/repo-provisioning.git master<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1464)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1245)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1143)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1134)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2139)<br />
at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:576)<br />
at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:525)<br />
&#8230; 13 more<br />
Caused by: java.io.IOException: Cannot run program &#8220;/mnt/jenkins/git/2.3.1/bin/git&#8221;: java.io.IOException: error=2, No such file or directory<br />
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)<br />
at hudson.Proc$LocalProc.<init>(Proc.java:244)<br />
at hudson.Proc$LocalProc.<init>(Proc.java:216)<br />
at hudson.Launcher$LocalLauncher.launch(Launcher.java:803)<br />
at hudson.Launcher$ProcStarter.start(Launcher.java:381)<br />
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1453)<br />
&#8230; 19 more<br />
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory<br />
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)<br />
at java.lang.ProcessImpl.start(ProcessImpl.java:65)<br />
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)<br />
&#8230; 24 more<br />
Done. Took 21 ms<br />
No changes</p>
<p>Solution &#8211;<br />
A work around of adding the &#8220;Force polling using workspace&#8221; as an &#8220;Additional behaviour&#8221; in your git SCM definition of the windows job.<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ twitter.com/RajeshKumarIn</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director/">Git Polling Log java.io.IOException: error=2, No such file or director</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-polling-log-java-io-ioexception-error2-no-such-file-or-director/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Good GIT SCM Video at youtube.</title>
		<link>https://www.scmgalaxy.com/tutorials/good-git-scm-video-at-youtube/</link>
					<comments>https://www.scmgalaxy.com/tutorials/good-git-scm-video-at-youtube/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 09:21:11 +0000</pubDate>
				<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1865</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Good GIT SCM Video at youtube. Hi Friends, This week I am started digging more into [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/good-git-scm-video-at-youtube/">Good GIT SCM Video at youtube.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Good GIT SCM Video at youtube.</strong><br />
Hi Friends,</p>
<p>This week I am started digging more into to GIT. I hope these videos will be helpful for you as well.</p>
<p>Introduction to Git<br />
<iframe loading="lazy" width="550" height="450" src="https://www.youtube.com/embed/ZDR433b0HJY" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe></p>
<p>Linus Torvalds on git<br />
<iframe loading="lazy" width="550" height="450" src="https://www.youtube.com/embed/4XpnKHJAok8" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe></p>
<p>O&#8217;Reilly Webcast: Git in One Hour<br />
<iframe loading="lazy" width="550" height="450" src="https://www.youtube.com/embed/OFkgSjRnay4" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/good-git-scm-video-at-youtube/">Good GIT SCM Video at youtube.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/good-git-scm-video-at-youtube/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Good PPT slides for GIT on slideshare.net</title>
		<link>https://www.scmgalaxy.com/tutorials/good-ppt-slides-for-git-on-slideshare-net/</link>
					<comments>https://www.scmgalaxy.com/tutorials/good-ppt-slides-for-git-on-slideshare-net/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 09:16:23 +0000</pubDate>
				<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1863</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Good PPT slides for GIT on slideshare.net Must be referenced. www.slideshare.net/JamesEdwardGrayII/git-and-github-3675432 www.slideshare.net/terrywang/git-101-tutorial-presentation/ www.slideshare.net/railsconf/smacking-gi&#8230;advanced-git-tricks/ Regards, Rajesh Kumar [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/good-ppt-slides-for-git-on-slideshare-net/">Good PPT slides for GIT on slideshare.net</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Good PPT slides for GIT on slideshare.net</strong><br />
Must be referenced.</p>
<p><a href="http://www.slideshare.net/JamesEdwardGrayII/git-and-github-3675432">www.slideshare.net/JamesEdwardGrayII/git-and-github-3675432 </a><br />
<a href="http://www.slideshare.net/terrywang/git-101-tutorial-presentation/">www.slideshare.net/terrywang/git-101-tutorial-presentation/ </a><br />
<a href="http://www.slideshare.net/railsconf/smacking-gi...advanced-git-tricks/">www.slideshare.net/railsconf/smacking-gi&#8230;advanced-git-tricks/</a></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/good-ppt-slides-for-git-on-slideshare-net/">Good PPT slides for GIT on slideshare.net</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/good-ppt-slides-for-git-on-slideshare-net/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Useful website Reference for GIT</title>
		<link>https://www.scmgalaxy.com/tutorials/useful-website-reference-for-git/</link>
					<comments>https://www.scmgalaxy.com/tutorials/useful-website-reference-for-git/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 09:13:09 +0000</pubDate>
				<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1861</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Useful website Reference for GIT Here are following website good to know more about GIT-SCM. help.github.com/ [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/useful-website-reference-for-git/">Useful website Reference for GIT</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Useful website Reference for GIT</strong><br />
Here are following website good to know more about GIT-SCM.</p>
<p><a href="http://help.github.com/">help.github.com/</a><br />
<a href="http://progit.org/">progit.org/</a><br />
<a href="http://git-scm.com/">git-scm.com/</a><br />
<a href="http://whygitisbetterthanx.com/">whygitisbetterthanx.com/</a></p>
<p>Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/useful-website-reference-for-git/">Useful website Reference for GIT</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/useful-website-reference-for-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Git Certification and Course</title>
		<link>https://www.scmgalaxy.com/tutorials/git-certification-and-course/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-certification-and-course/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 09:06:53 +0000</pubDate>
				<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1855</guid>

					<description><![CDATA[<p>scmuser created the topic: Git Certification and Course Hi, Could you please let me know the Certifications in GIT or [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-certification-and-course/">Git Certification and Course</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>scmuser created the topic: Git Certification and Course</strong><br />
Hi,</p>
<p>Could you please let me know the Certifications in GIT or GITHUB?</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-certification-and-course/">Git Certification and Course</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-certification-and-course/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Why GIT differnece than another SCM?</title>
		<link>https://www.scmgalaxy.com/tutorials/why-git-differnece-than-another-scm/</link>
					<comments>https://www.scmgalaxy.com/tutorials/why-git-differnece-than-another-scm/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 08:54:17 +0000</pubDate>
				<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1845</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Why GIT differnece than another SCM? Why GIT differnece than another SCM? Cheap Local Branching Everything [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/why-git-differnece-than-another-scm/">Why GIT differnece than another SCM?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Why GIT differnece than another SCM?</strong><br />
Why GIT differnece than another SCM?<br />
Cheap Local Branching<br />
Everything is Local<br />
Git is Fast<br />
Git is Small<br />
The Staging Area<br />
Distributed<br />
Any Workflow<br />
Easy to Learn<br />
Git is the new standard<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/why-git-differnece-than-another-scm/">Why GIT differnece than another SCM?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/why-git-differnece-than-another-scm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
