<?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/category/git/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/category/git/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 19 Jun 2023 13:30:30 +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>Top 50 Git Interview Questions with Answers</title>
		<link>https://www.scmgalaxy.com/tutorials/top-50-git-interview-questions-with-answers/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-50-git-interview-questions-with-answers/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Tue, 02 May 2023 12:31:42 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=10320</guid>

					<description><![CDATA[<p>Answer: a Answer: a Answer: a Answer: a Answer: a Answer: a Answer: a Answer: a Answer: a Answer: a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-50-git-interview-questions-with-answers/">Top 50 Git Interview Questions with Answers</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/05/image-66.png" alt="" class="wp-image-10321" width="635" height="339" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/05/image-66.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/05/image-66-300x160.png 300w" sizes="(max-width: 635px) 100vw, 635px" /><figcaption class="wp-element-caption"><strong><em>Git Interview Questions with Answers</em></strong></figcaption></figure>
</div>


<ol class="wp-block-list">
<li>What is Git?<br>a. A version control system<br>b. A programming language<br>c. A software suite<br>d. An operating system</li>
</ol>



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



<ol class="wp-block-list" start="2">
<li>Who developed Git?<br>a. Linus Torvalds<br>b. Richard Stallman<br>c. Bill Gates<br>d. Steve Jobs</li>
</ol>



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



<ol class="wp-block-list" start="3">
<li>What is a repository?<br>a. A location where code is stored<br>b. A person who manages code<br>c. A type of code<br>d. A software program</li>
</ol>



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



<ol class="wp-block-list" start="4">
<li>What is a branch?<br>a. A separate version of the code<br>b. A type of commit message<br>c. A way to share code with others<br>d. A type of tag</li>
</ol>



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



<ol class="wp-block-list" start="5">
<li>What is a commit?<br>a. A change made to the code<br>b. A type of pull request<br>c. A way to merge code<br>d. A feature request</li>
</ol>



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



<ol class="wp-block-list" start="6">
<li>What is a pull request?<br>a. A way to propose changes to the code<br>b. A way to revert changes<br>c. A way to merge changes<br>d. A way to delete code</li>
</ol>



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



<ol class="wp-block-list" start="7">
<li>What is a merge conflict?<br>a. A problem that occurs when two or more people make changes to the same code<br>b. A type of error<br>c. A type of commit message<br>d. A way to share code with others</li>
</ol>



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



<ol class="wp-block-list" start="8">
<li>What is a tag?<br>a. A way to mark a specific point in the code&#8217;s history<br>b. A type of commit message<br>c. A way to merge code<br>d. A way to delete code</li>
</ol>



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



<ol class="wp-block-list" start="9">
<li>What is a stash?<br>a. A way to save changes without committing them<br>b. A way to delete code<br>c. A way to revert changes<br>d. A way to share code with others</li>
</ol>



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



<ol class="wp-block-list" start="10">
<li>What is a remote?<br>a. A separate repository that is not on the local machine<br>b. A person who manages code<br>c. A type of code<br>d. A software program</li>
</ol>



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



<ol class="wp-block-list" start="11">
<li>What is the difference between git clone and git fork?<br>a. Git clone makes a copy of the repository on your local machine, while git fork creates a copy on GitHub/GitLab.<br>b. Git clone creates a copy of the repository on GitHub, while git fork creates a copy on your local machine.<br>c. Git clone and git fork both do the same thing.<br>d. Git clone creates a new branch, while git fork creates a new repository.</li>
</ol>



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



<ol class="wp-block-list" start="12">
<li>What is the command to initialize a new Git repository?<br>a. git init<br>b. git clone<br>c. git pull<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="13">
<li>What is the command to add a file to the staging area?<br>a. git add filename<br>b. git commit<br>c. git push<br>d. git pull</li>
</ol>



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



<ol class="wp-block-list" start="14">
<li>What is the command to commit changes?<br>a. git commit -m &#8220;commit message&#8221;<br>b. git add filename<br>c. git push<br>d. git pull</li>
</ol>



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



<ol class="wp-block-list" start="15">
<li>What is the command to push changes to a remote repository?<br>a. git push<br>b. git pull<br>c. git add filename<br>d. git commit -m &#8220;commit message&#8221;</li>
</ol>



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



<ol class="wp-block-list" start="16">
<li>What is the command to create a new branch?<br>a. git branch new_branch_name<br>b. git checkout new_branch_name<br>c. git merge new_branch_name<br>d. git clone new_branch_name</li>
</ol>



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



<ol class="wp-block-list" start="17">
<li>What is the command to switch to a different branch?<br>a. git checkout branch_name<br>b. git branch new_branch_name<br>c. git merge branch_name<br>d. git clone branch_name</li>
</ol>



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



<ol class="wp-block-list" start="18">
<li>What is the command to merge one branch into another?<br>a. git merge branch_name<br>b. git clone branch_name<br>c. git add filename<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="19">
<li>What is the command to view the commit history?<br>a. git log<br>b. git branch<br>c. git clone<br>d. git commit</li>
</ol>



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



<ol class="wp-block-list" start="20">
<li>What is the command to revert changes?<br>a. git revert<br>b. git reset<br>c. git checkout<br>d. git pull</li>
</ol>



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



<ol class="wp-block-list" start="21">
<li>What is the command to undo the last commit?<br>a. git reset HEAD~1<br>b. git revert HEAD~1<br>c. git checkout HEAD~1<br>d. git commit &#8211;amend</li>
</ol>



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



<ol class="wp-block-list" start="22">
<li>What is the difference between git pull and git fetch?<br>a. Git pull fetches changes and merges them, while git fetch only fetches changes.<br>b. Git pull only fetches changes, while git fetch fetches and merges changes.<br>c. Git pull and git fetch do the same thing.<br>d. Git pull and git fetch are not actual Git commands.</li>
</ol>



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



<ol class="wp-block-list" start="23">
<li>What is the command to view the changes made to a file?<br>a. git diff filename<br>b. git log<br>c. git branch<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="24">
<li>What is the command to create a tag?<br>a. git tag tag_name<br>b. git push<br>c. git pull<br>d. git add filename</li>
</ol>



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



<ol class="wp-block-list" start="25">
<li>What is the command to delete a branch?<br>a. git branch -d branch_name<br>b. git clone branch_name<br>c. git add filename<br>d. git commit -m &#8220;commit message&#8221;</li>
</ol>



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



<ol class="wp-block-list" start="26">
<li>What is the command to view the status of the repository?<br>a. git status<br>b. git log<br>c. git branch<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="27">
<li>What is the command to view the remote repositories?<br>a. git remote -v<br>b. git clone<br>c. git add filename<br>d. git commit -m &#8220;commit message&#8221;</li>
</ol>



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



<ol class="wp-block-list" start="28">
<li>What is the command to rename a file?<br>a. git mv old_filename new_filename<br>b. git add filename<br>c. git commit -m &#8220;commit message&#8221;<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="29">
<li>What is the command to undo changes made to the staging area?<br>a. git reset filename<br>b. git add filename<br>c. git commit -m &#8220;commit message&#8221;<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="30">
<li>What is the command to view the changes made to the repository?<br>a. git diff<br>b. git log<br>c. git branch<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="31">
<li>What is the command to view the list of remote branches?<br>a. git branch -r<br>b. git log<br>c. git status<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="32">
<li>What is the command to fetch changes from a remote repository?<br>a. git fetch<br>b. git pull<br>c. git push<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="33">
<li>What is the command to view the list of tags?<br>a. git tag<br>b. git branch<br>c. git log<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="34">
<li>What is the command to view the difference between two branches?<br>a. git diff branch_1..branch_2<br>b. git merge branch_1 branch_2<br>c. git pull branch_1 branch_2<br>d. git push branch_1 branch_2</li>
</ol>



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



<ol class="wp-block-list" start="35">
<li>What is the command to move a commit from one branch to another?<br>a. git cherry-pick commit_hash<br>b. git merge branch_1 branch_2<br>c. git checkout branch_name<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="36">
<li>What is the command to rebase a branch?<br>a. git rebase branch_name<br>b. git merge branch_name<br>c. git add filename<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="37">
<li>What is the command to view the current branch?<br>a. git branch<br>b. git clone<br>c. git log<br>d. git status</li>
</ol>



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



<ol class="wp-block-list" start="38">
<li>What is the command to view the list of commits for a specific file?<br>a. git log filename<br>b. git branch<br>c. git checkout<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="39">
<li>What is the command to undo changes to a specific file?<br>a. git checkout filename<br>b. git reset filename<br>c. git add filename<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="40">
<li>What is the command to delete a tag?<br>a. git tag -d tag_name<br>b. git push<br>c. git pull<br>d. git add filename</li>
</ol>



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



<ol class="wp-block-list" start="41">
<li>What is the command to change the commit message?<br>a. git commit &#8211;amend<br>b. git reset<br>c. git revert<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="42">
<li>What is the command to delete untracked files?<br>a. git clean -f<br>b. git reset<br>c. git revert<br>d. git add filename</li>
</ol>



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



<ol class="wp-block-list" start="43">
<li>What is the command to set up a Git repository with a remote?<br>a. git remote add remote_name remote_url<br>b. git push<br>c. git pull<br>d. git add filename</li>
</ol>



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



<ol class="wp-block-list" start="44">
<li>What is the command to add multiple files to the staging area?<br>a. git add .<br>b. git add *<br>c. git add filename1 filename2<br>d. git add -a</li>
</ol>



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



<ol class="wp-block-list" start="45">
<li>What is the command to view the list of contributors to the repository?<br>a. git shortlog<br>b. git branch<br>c. git log<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="46">
<li>What is the command to view the version number of Git?<br>a. git &#8211;version<br>b. git version<br>c. git branch<br>d. git clone</li>
</ol>



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



<ol class="wp-block-list" start="47">
<li>What is the command to discard changes made to a file?<br>a. git checkout filename<br>b. git reset filename<br>c. git add filename<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="48">
<li>What is the command to view the list of files in the working directory?<br>a. ls<br>b. git ls<br>c. git list<br>d. git dir</li>
</ol>



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



<ol class="wp-block-list" start="49">
<li>What is the command to discard changes made to the entire repository?<br>a. git reset &#8211;hard<br>b. git revert<br>c. git add .<br>d. git push</li>
</ol>



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



<ol class="wp-block-list" start="50">
<li>What is the command to stash changes without committing them?<br>a. git stash<br>b. git reset<br>c. git revert<br>d. git push</li>
</ol>



<h4 class="wp-block-heading">Answer: a</h4>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-50-git-interview-questions-with-answers/">Top 50 Git Interview Questions with Answers</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-50-git-interview-questions-with-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 50 DevOps Interview Questions with Answers</title>
		<link>https://www.scmgalaxy.com/tutorials/top-50-devops-interview-questions-with-answers/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-50-devops-interview-questions-with-answers/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Sat, 29 Apr 2023 06:14:06 +0000</pubDate>
				<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Puppet]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9997</guid>

					<description><![CDATA[<p>1. What is DevOps? a. A methodology that emphasizes communication and collaboration between software developers and IT operationsb. A software [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-50-devops-interview-questions-with-answers/">Top 50 DevOps Interview Questions with Answers</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/04/image-1.png" alt="" class="wp-image-10000" width="736" height="368" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/04/image-1.png 900w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/04/image-1-300x150.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/04/image-1-768x384.png 768w" sizes="(max-width: 736px) 100vw, 736px" /><figcaption class="wp-element-caption"><strong><em>DevOps Interview Questions with Answers</em></strong></figcaption></figure>
</div>


<h3 class="wp-block-heading">1. What is DevOps?</h3>



<p class="wp-block-paragraph">a. A methodology that emphasizes communication and collaboration between software developers and IT operations<br>b. A software testing methodology<br>c. A programming language</p>



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



<h3 class="wp-block-heading">2. What is Git?</h3>



<p class="wp-block-paragraph">a. A version control system<br>b. A programming language<br>c. A software development framework</p>



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



<h3 class="wp-block-heading">3. What is continuous integration?</h3>



<p class="wp-block-paragraph">a. The process of continuously testing software throughout its development cycle<br>b. The process of continuously deploying software throughout its development cycle<br>c. The process of continuously writing code without interruption</p>



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



<h3 class="wp-block-heading">4. What is Docker?</h3>



<p class="wp-block-paragraph">a. A containerization technology<br>b. A programming language<br>c. A software development framework</p>



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



<h3 class="wp-block-heading">5. What is cloud computing?</h3>



<p class="wp-block-paragraph">a. The delivery of computing services over the internet<br>b. The delivery of computing services locally on a single machine<br>c. The delivery of computing services via USB drives</p>



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



<h3 class="wp-block-heading">6. What is Configuration Management?</h3>



<p class="wp-block-paragraph">a. The process of managing and maintaining computing systems<br>b. The process of managing and maintaining software development teams<br>c. The process of managing and maintaining physical infrastructure</p>



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



<h3 class="wp-block-heading">7. What is Infrastructure as Code (IaC)?</h3>



<p class="wp-block-paragraph">a. The practice of automating infrastructure management through code<br>b. The practice of manually configuring infrastructure<br>c. The practice of outsourcing infrastructure management</p>



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



<h3 class="wp-block-heading">8. What is Puppet?</h3>



<p class="wp-block-paragraph">a. A configuration management tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">9. What is Ansible?</h3>



<p class="wp-block-paragraph">a. A configuration management tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">10. What is Jenkins?</h3>



<p class="wp-block-paragraph">a. A continuous integration and continuous delivery tool<br>b. A programming language<br>c. A software development framework</p>



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



<h3 class="wp-block-heading">11. What is Nagios?</h3>



<p class="wp-block-paragraph">a. A monitoring tool<br>b. A programming language<br>c. A containerization technology</p>



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



<h3 class="wp-block-heading">12. What is Chef?</h3>



<p class="wp-block-paragraph">a. A configuration management tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">13. What is Kubernetes?</h3>



<p class="wp-block-paragraph">a. A container orchestration tool<br>b. A programming language<br>c. A software development framework</p>



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



<h3 class="wp-block-heading">14. What is Amazon Web Services (AWS)?</h3>



<p class="wp-block-paragraph">a. A cloud computing platform<br>b. A programming language<br>c. An operating system</p>



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



<h3 class="wp-block-heading">15. What is Terraform?</h3>



<p class="wp-block-paragraph">a. An infrastructure as code tool<br>b. A containerization technology<br>c. A continuous integration tool</p>



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



<h3 class="wp-block-heading">16. What is SaltStack?</h3>



<p class="wp-block-paragraph">a. A configuration management tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">17. What is Splunk?</h3>



<p class="wp-block-paragraph">a. A log management tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">18. What is ELK?</h3>



<p class="wp-block-paragraph">a. A log management tool<br>b. A configuration management tool<br>c. A containerization technology</p>



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



<h3 class="wp-block-heading">19. What is Graylog?</h3>



<p class="wp-block-paragraph">a. A log management tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">20. What is Prometheus?</h3>



<p class="wp-block-paragraph">a. A monitoring tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">21. What is Grafana?</h3>



<p class="wp-block-paragraph">a. A visualization tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">22. What is Selenium?</h3>



<p class="wp-block-paragraph">a. A testing tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">23. What is JIRA?</h3>



<p class="wp-block-paragraph">a. A project management tool<br>b. A programming language<br>c. A containerization technology</p>



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



<h3 class="wp-block-heading">24. What is Maven?</h3>



<p class="wp-block-paragraph">a. A build automation tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">25. What is Gradle?</h3>



<p class="wp-block-paragraph">a. A build automation tool<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">26. What is HipChat?</h3>



<p class="wp-block-paragraph">a. A chat tool for teams<br>b. A programming language<br>c. A containerization technology</p>



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



<h3 class="wp-block-heading">27. What is Travis CI?</h3>



<p class="wp-block-paragraph">a. A continuous integration and continuous delivery tool<br>b. A programming language<br>c. A containerization technology</p>



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



<h3 class="wp-block-heading">28. What is CircleCI?</h3>



<p class="wp-block-paragraph">a. A continuous integration and continuous delivery tool<br>b. A programming language<br>c. A containerization technology</p>



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



<h3 class="wp-block-heading">29. What is CodeDeploy?</h3>



<p class="wp-block-paragraph">a. A continuous deployment tool<br>b. A programming language<br>c. A containerization technology</p>



<h4 class="wp-block-heading">Answer: AAnswer: A</h4>



<h3 class="wp-block-heading">30. What is CodePipeline?</h3>



<p class="wp-block-paragraph">a. A continuous delivery tool<br>b. A programming language<br>c. A containerization technology</p>



<h4 class="wp-block-heading">Answer: AAnswer: A</h4>



<h3 class="wp-block-heading">31. What is SRE?</h3>



<p class="wp-block-paragraph">a. Site Reliability Engineering<br>b. Software Resource Engineering<br>c. System Reliability Engineering</p>



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



<h3 class="wp-block-heading">32. What is Blue/Green deployment?</h3>



<p class="wp-block-paragraph">a. A deployment strategy that involves switching between two identical environments<br>b. A deployment strategy that involves a single environment<br>c. A deployment strategy that involves multiple environments</p>



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



<h3 class="wp-block-heading">33. What is Canary deployment?</h3>



<p class="wp-block-paragraph">a. A deployment strategy that involves releasing a new version to a small subset of users before a full release<br>b. A deployment strategy that involves releasing a new version to all users simultaneously<br>c. A deployment strategy that involves delaying the release of a new version until all testing is complete</p>



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



<h3 class="wp-block-heading">34. What is Agile?</h3>



<p class="wp-block-paragraph">a. A development methodology that emphasizes communication and flexibility<br>b. A software testing methodology<br>c. A programming language</p>



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



<h3 class="wp-block-heading">35. What is Scrum?</h3>



<p class="wp-block-paragraph">a. An Agile framework for managing software development<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">36. What is Lean?</h3>



<p class="wp-block-paragraph">a. An Agile framework for managing software development<br>b. A containerization technology<br>c. A software development methodology</p>



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



<h3 class="wp-block-heading">37. What is Kanban?</h3>



<p class="wp-block-paragraph">a. An Agile framework for managing software development<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">38. What is Pair Programming?</h3>



<p class="wp-block-paragraph">a. A software development practice that involves two programmers working together on the same computer<br>b. A containerization technology<br>c. A cloud computing platform</p>



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



<h3 class="wp-block-heading">39. What is Continuous Delivery?</h3>



<p class="wp-block-paragraph">a. The practice of continuously deploying software throughout its development cycle<br>b. The practice of continuously testing software throughout its development cycle<br>c. The practice of continuously writing code without interruption</p>



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



<h3 class="wp-block-heading">40. What is Continuous Deployment?</h3>



<p class="wp-block-paragraph">a. The automated deployment of software throughout its development cycle<br>b. The manual deployment of software throughout its development cycle<br>c. The practice of writing code without deploying it</p>



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



<h3 class="wp-block-heading">41. What is Code Review?</h3>



<p class="wp-block-paragraph">a. The process of reviewing code for quality, correctness, and security<br>b. The process of writing code without review<br>c. The process of reviewing code only for security</p>



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



<h3 class="wp-block-heading">42. What is a Pull Request?</h3>



<p class="wp-block-paragraph">a. A request to merge code changes into a codebase<br>b. A request to push code changes into a codebase<br>c. A request to delete code from a codebase</p>



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



<h3 class="wp-block-heading">43. What is a Code Repository?</h3>



<p class="wp-block-paragraph">a. A central location for storing and managing code<br>b. A physical storage location for computing systems<br>c. A tool for monitoring software development teams</p>



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



<h3 class="wp-block-heading">44. What is a Branch?</h3>



<p class="wp-block-paragraph">a. A copy of a codebase that can be modified independently<br>b. A copy of a codebase that cannot be modified<br>c. A copy of a codebase that can only be accessed by certain team members</p>



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



<h3 class="wp-block-heading">45. What is Merge Conflict?</h3>



<p class="wp-block-paragraph">a. When two or more changes are made to the same line of code and a merge cannot be automatically completed<br>b. When two or more changes are made to different lines of code and a merge cannot be completed<br>c. When two or more people are trying to merge changes at the same time</p>



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



<h3 class="wp-block-heading">46. What is DevOps Culture?</h3>



<p class="wp-block-paragraph">a. A culture that emphasizes communication, collaboration, and automation between software development and IT operations teams<br>b. A culture that emphasizes individual work and autonomy<br>c. A culture that emphasizes hierarchy and top-down management</p>



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



<h3 class="wp-block-heading">47. What is Observability?</h3>



<p class="wp-block-paragraph">a. The measure of how well a system can be understood from the outside<br>b. The measure of how well a system can be understood from the inside<br>c. The measure of how well a system can be scaled</p>



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



<h3 class="wp-block-heading">48. What is Microservices Architecture?</h3>



<p class="wp-block-paragraph">a. A software architecture that emphasizes small, independently deployable services<br>b. A software architecture that emphasizes large, monolithic services<br>c. A software architecture that emphasizes manual deployment of services</p>



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



<h3 class="wp-block-heading">49. What is Serverless Computing?</h3>



<p class="wp-block-paragraph">a. A computing model where the cloud provider manages server infrastructure and only charges for usage<br>b. A computing model where the cloud provider manages server infrastructure and charges a flat fee<br>c. A computing model where the user manages server infrastructure</p>



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



<h3 class="wp-block-heading">50. What is ChatOps?</h3>



<p class="wp-block-paragraph">a. The practice of conducting operations through a group chat interface<br>b. The practice of conducting operations through voice chat<br>c. The practice of conducting operations through email</p>



<h4 class="wp-block-heading">Answer: A</h4>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-50-devops-interview-questions-with-answers/">Top 50 DevOps Interview Questions with Answers</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-50-devops-interview-questions-with-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install and configure Git and GitHub on windows</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-install-and-configure-git-and-github-on-windows/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-install-and-configure-git-and-github-on-windows/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Mon, 20 Sep 2021 13:04:07 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[commit and upload in github]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[How to configure git and github on windows]]></category>
		<category><![CDATA[install gitbash]]></category>
		<category><![CDATA[push in github]]></category>
		<category><![CDATA[update data in github]]></category>
		<category><![CDATA[upload file in github]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9077</guid>

					<description><![CDATA[<p>Step 01 : Download Git https://git-scm.com Step 02 : GitHub https://github.com Step 03 : Create new Repositories Step 04 : [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-and-configure-git-and-github-on-windows/">How to Install and configure Git and GitHub on windows</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">Step 01 : Download Git </h3>



<p class="wp-block-paragraph"><a href="https://git-scm.com/">https://git-scm.com</a></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="506" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/git-1024x506.png" alt="" class="wp-image-9078" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/git-1024x506.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/git-300x148.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/git-768x380.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/git-1536x760.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/git.png 1919w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Step 02 : GitHub </h3>



<p class="wp-block-paragraph"><a href="https://github.com/">https://github.com</a></p>



<h3 class="wp-block-heading">Step 03 : Create new Repositories</h3>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="516" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/1-1024x516.png" alt="" class="wp-image-9079" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/1-1024x516.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/1-300x151.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/1-768x387.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/1-1536x774.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/1.png 1918w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="507" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/first-1024x507.png" alt="" class="wp-image-9080" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/first-1024x507.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/first-300x148.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/first-768x380.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/first-1536x760.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/first.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Step 04 : Open Git Bash</h3>



<p class="wp-block-paragraph">Create folder<strong> name:- First</strong> in &#8221; C local disk&#8221;.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="555" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/a-1024x555.png" alt="" class="wp-image-9081" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/a-1024x555.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/a-300x163.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/a-768x416.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/a-1536x832.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/a.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Step 05 : Configure </h3>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="505" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/config-1024x505.png" alt="" class="wp-image-9082" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/config-1024x505.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/config-300x148.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/config-768x379.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/config-1536x757.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/config.png 1919w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Step 06 : Create files inside FirstGit and commit, upload in account</h3>



<p class="wp-block-paragraph">Like :- test.txt file inside FirstGit </p>



<p class="wp-block-paragraph">Open txt file and type some text like :- &#8220;This is my first work&#8221;.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="567" height="257" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/te.png" alt="" class="wp-image-9083" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/te.png 567w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/te-300x136.png 300w" sizes="auto, (max-width: 567px) 100vw, 567px" /></figure>



<h3 class="wp-block-heading">Step 07 : Upload this file to GitHub</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="718" height="337" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/s.png" alt="" class="wp-image-9084" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/s.png 718w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/s-300x141.png 300w" sizes="auto, (max-width: 718px) 100vw, 718px" /></figure>



<h3 class="wp-block-heading">Step 08 : Commit and upload</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="537" height="164" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/commit.png" alt="" class="wp-image-9085" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/commit.png 537w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/commit-300x92.png 300w" sizes="auto, (max-width: 537px) 100vw, 537px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="654" height="346" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/push.png" alt="" class="wp-image-9087" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/push.png 654w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/push-300x159.png 300w" sizes="auto, (max-width: 654px) 100vw, 654px" /></figure>



<p class="wp-block-paragraph"><strong># Note : Refresh Page</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="505" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-1024x505.png" alt="" class="wp-image-9088" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-1024x505.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-300x148.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file-768x378.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/file.png 1183w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="228" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/q-1024x228.png" alt="" class="wp-image-9089" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/q-1024x228.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/q-300x67.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/q-768x171.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/q-1536x342.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/q.png 1610w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">Step 09 : Change in txt file and push</h3>



<p class="wp-block-paragraph">Change in txt file like :- </p>



<p class="wp-block-paragraph">This is my first work<br>This is my first work<br>This is my first work<br>This is my first work<br>This is my first work</p>



<p class="wp-block-paragraph">Save file.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="782" height="594" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/change.png" alt="" class="wp-image-9095" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/change.png 782w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/change-300x228.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/change-768x583.png 768w" sizes="auto, (max-width: 782px) 100vw, 782px" /></figure>



<p class="wp-block-paragraph"><strong>Refresh Page</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="368" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/second-1024x368.png" alt="" class="wp-image-9096" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/second-1024x368.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/second-300x108.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/second-768x276.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/second-1536x552.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/09/second.png 1615w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-install-and-configure-git-and-github-on-windows/">How to Install and configure Git and GitHub on windows</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-install-and-configure-git-and-github-on-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 10 Website to Host Git Repository Online</title>
		<link>https://www.scmgalaxy.com/tutorials/top-10-website-to-host-git-repository-online-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-10-website-to-host-git-repository-online-2/#respond</comments>
		
		<dc:creator><![CDATA[narayan k]]></dc:creator>
		<pubDate>Sat, 07 Aug 2021 11:58:08 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Amazon AWS CodeCommit]]></category>
		<category><![CDATA[Assembla]]></category>
		<category><![CDATA[Beanstalk]]></category>
		<category><![CDATA[Bitbucket]]></category>
		<category><![CDATA[Codebase]]></category>
		<category><![CDATA[Git Repository]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Gitlab]]></category>
		<category><![CDATA[Perforce Helix]]></category>
		<category><![CDATA[Repository Management]]></category>
		<category><![CDATA[RhodeCode]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SourceForge]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7564</guid>

					<description><![CDATA[<p>In any industry, code has become one of the most business-critical assets. As a result, storing, securing, and collaborating around [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-10-website-to-host-git-repository-online-2/">Top 10 Website to Host Git Repository Online</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In any industry, code has become one of the most business-critical assets. As a result, storing, securing, and collaborating around code has become a significant challenge for enterprises large and small.</p>



<p class="wp-block-paragraph">Choosing the right source code management solution is no easy task. Even more so when you think about hosting your code behind your own firewall.</p>



<p class="wp-block-paragraph">This post takes you through this decision – starting with a few common questions.</p>



<p class="wp-block-paragraph">One of the first questions you&#8217;ll need to answer for yourself is: do you have the resources and expertise to professionally manage your code&#8217;s on-premises hosting?</p>



<h4 class="wp-block-heading">1. Is On-Premise Hosting the Right Choice for You?</h4>



<p class="wp-block-paragraph">Any IT department must follow strict security policies. If your organization&#8217;s policies require you to keep your code in-house, then of course you will have to deal with hosting your code behind your firewall.</p>



<p class="wp-block-paragraph">However, self-hosting your code is not a decision you should rush. There is much to keep in mind.</p>



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



<p class="wp-block-paragraph">In an on-premises scenario, your IT department is responsible for setting up a secure environment and installing relevant updates consistently. Keeping a server secure and properly maintained is nothing to be taken lightly.</p>



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



<p class="wp-block-paragraph">Today, the code is important to many areas within the company. Therefore its permanent availability is often important. You should make sure that your server has little or no downtime.</p>



<p class="wp-block-paragraph">Also, note that losing code can be a life-threatening event for many enterprises. You need to provide a completely fail-safe and complete backup strategy in order to make data loss impossible.</p>



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



<p class="wp-block-paragraph">Also, think about other systems that need to interact with your code repository. Things like continuous integration servers or issue tracking systems can be other important parts of your software cycle.</p>



<p class="wp-block-paragraph">Make sure they can be integrated with your code hosting platform &#8211; whether it&#8217;s behind a firewall or in the cloud.</p>



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



<p class="wp-block-paragraph">Depending on your needs, the size of your team, and the number of repositories, different solutions come at wildly different prices. This is true for both self-hosted installations and online services. You need to make sure that your own IT department can handle core subjects like security and maintenance flawlessly.</p>



<h4 class="wp-block-heading">2. Commercial or OpenSource?</h4>



<p class="wp-block-paragraph">As of today, almost all source code hosting options are commercial systems. In fact, the main argument for paying a really high price sometimes is the professional support that it includes. For further updates in case of problems/queries, you can count on the professionals who help you.</p>



<p class="wp-block-paragraph">If you don&#8217;t need these services, you can consider an open-source solution.</p>



<h4 class="wp-block-heading">3. Complementing Tools</h4>



<p class="wp-block-paragraph">As with most solutions, the actual task of &#8220;source code management&#8221; is only part of their offering. This makes sense if you consider that today, software development involves a myriad of different tools and workflows &#8211; the ones that work best when tightly integrated with one another. Think issue tracking, code reviews, continuous integration systems, etc.</p>



<p class="wp-block-paragraph">Here is the list of <strong>Top 10 Website to Host Git Repository Online</strong>:</p>



<h4 class="wp-block-heading">1. <a href="https://aws.amazon.com/codecommit/" target="_blank" rel="noreferrer noopener">Amazon AWS CodeCommit:</a></h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="370" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/aws-codecommit-1024x370.png" alt="" class="wp-image-7567" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/aws-codecommit-1024x370.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/aws-codecommit-300x108.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/aws-codecommit-768x278.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/aws-codecommit.png 1336w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Amazon&#8217;s AWS platform includes hosting for Git repositories. It also comes with features that facilitate collaboration, such as code review and access control.</p>



<p class="wp-block-paragraph">AWS CodeCommit is a secure, highly scalable, managed source control service that hosts private Git repositories. It makes it easy for teams to collaborate on code securely, including encrypted contributions in transit and at rest. CodeCommit eliminates the need for you to manage your own source control system or worry about scaling up its infrastructure. You can use CodeCommit to store anything from code to binaries. It supports the standard functionality of Git, so it works seamlessly with your existing Git-based tools.</p>



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



<ul class="wp-block-list"><li>Fully managed</li><li>Secure</li><li>High availability</li><li>Faster development lifecycle</li><li>Use your existing tools</li><li>Collaborate on code</li></ul>



<h4 class="wp-block-heading">2. <a href="https://www.assembla.com/" target="_blank" rel="noreferrer noopener">Assembla</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="473" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/assembla-1024x473.png" alt="" class="wp-image-7568" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/assembla-1024x473.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/assembla-300x139.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/assembla-768x355.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/assembla.png 1298w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Assembla has a long history in the business with its Subversion hosting. It includes a &#8220;workspace&#8221; platform with issue management, time tracking, and collaboration tools such as Wiki and its own messaging system.</p>



<p class="wp-block-paragraph">It is a source code management tool that specializes in providing cloud-based version control services for code projects and agile software development. They provide an additional project management tool for those who use their cloud repositories.</p>



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



<ul class="wp-block-list"><li>Work together with Git merge requests</li><li>Collaboration</li><li>Integrated Issue Tracking</li><li>Security</li><li>Package Management</li><li>Project Management</li><li>Code Analysis</li></ul>



<h4 class="wp-block-heading">3. <a href="http://beanstalkapp.com/" target="_blank" rel="noreferrer noopener">Beanstalk</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="478" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/beanstalk-1024x478.png" alt="" class="wp-image-7570" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/beanstalk-1024x478.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/beanstalk-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/beanstalk-768x359.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/beanstalk.png 1293w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Being a very lean and reliable service, Beanstalk is a great option for businesses. It provides its own &#8220;deployment&#8221; infrastructure and integrates well with other tools such as Zendesk, FogBugz, Basecamp, or Lighthouse.</p>



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



<ul class="wp-block-list"><li>Easy-to-use service for deploying.</li><li>Scaling web applications</li><li>Services developed with Java</li><li>Backup / Recovery</li><li>Development Environment</li><li>Testing</li></ul>



<h4 class="wp-block-heading">4. <a href="https://bitbucket.org/" target="_blank" rel="noreferrer noopener">Bitbucket</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="471" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/bitbucket-1024x471.png" alt="" class="wp-image-7572" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/bitbucket-1024x471.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/bitbucket-300x138.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/bitbucket-768x353.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/bitbucket.png 1326w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Bitbucket, one of the giants in the industry.</p>



<p class="wp-block-paragraph">The biggest advantage of Bitbucket Server is certainly that it comes from Atlassian – the company that develops highly popular products like JIRA and Confluence. This is why the integration with these tools (especially JIRA) in BitBucket Server is seamless.</p>



<p class="wp-block-paragraph">BitBucket Server is an obvious choice if your development toolchain already relies on other Atlassian products like JIRA and Bamboo.</p>



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



<ul class="wp-block-list"><li>Merge Checks.</li><li>Code search</li><li>Git Large File Storage</li><li>Bitbucket Pipelines</li><li>IP whitelisting.</li></ul>



<h4 class="wp-block-heading">5. <a href="https://www.codebasehq.com/" target="_blank" rel="noreferrer noopener">Codebase</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="470" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/codebase-1024x470.png" alt="" class="wp-image-7574" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/codebase-1024x470.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/codebase-300x138.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/codebase-768x352.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/codebase.png 1301w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">One of the few platforms to support Git, Subversion, and Mercurial. Additionally, ticketing, project management, and deployment infrastructure tools are included. The codebase is packed with features to help you manage your code and your project with ease.</p>



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



<ul class="wp-block-list"><li>Repository Hosting</li><li>Exception Tracking</li><li>Time Tracking</li><li>Customizable Permissions</li><li>Complete Developer API</li><li>Powerful Searching &amp; Filtering</li><li>Custom Branding</li></ul>



<h4 class="wp-block-heading">6. <a href="https://rhodecode.com/" target="_blank" rel="noreferrer noopener">RhodeCode</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="485" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/rhodecode-1024x485.png" alt="" class="wp-image-7575" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/rhodecode-1024x485.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/rhodecode-300x142.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/rhodecode-768x363.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/rhodecode.png 1310w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Sophisticated code review and approval system including news feed and mention system. With features like LDAP support and IP restrictions, Roadcode seems to be geared for corporate use.</p>



<p class="wp-block-paragraph">Roadcode allows developers to use not only Git but Mercurial and Subversion for revision control. Feature-wise, the platform offers the most important collaboration features such as code reviews and pull requests &#8211; but banks on flexible integration with external tools for both issue tracking and continuous integration.</p>



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



<ul class="wp-block-list"><li>Advanced code reviews.</li><li>Side-by-side diffs.</li><li>Pull requests.</li><li>Inline source code chat.</li><li>Full-text code search and source code indexing.</li><li>Web-based file adding, editing, deletion.</li></ul>



<h4 class="wp-block-heading">7. <a href="https://sourceforge.net/" target="_blank" rel="noreferrer noopener">SourceForge</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="477" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/sourceforge-1024x477.png" alt="" class="wp-image-7576" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/sourceforge-1024x477.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/sourceforge-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/sourceforge-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/sourceforge.png 1328w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">SourceForge is an open-source community resource that is dedicated to helping you succeed as much as possible in open-source projects. We thrive on community collaboration to help make it a premier resource for open-source software development and distribution.</p>



<p class="wp-block-paragraph">A classic hosting site whose reputation took a turn for the worse in the early 2010s after some shady practices, SourceForge has been under new ownership since 2016 and is determined to restore its good reputation.</p>



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



<ul class="wp-block-list"><li>Unlimited bandwidth for Open Source projects</li><li>Integrated Issue Tracking</li><li>Spambot protection</li><li>Extensive worldwide mirror network</li><li>Download statistics over time, by platform, and by region.</li><li>Analytics is completely free, takes no time to set up.</li><li>Automatic platform detection</li></ul>



<h4 class="wp-block-heading">8. <strong><a href="https://www.perforce.com/products/helix4git" target="_blank" rel="noreferrer noopener">Perforce Helix</a></strong>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="468" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/perforce-helix-1024x468.png" alt="" class="wp-image-7578" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/perforce-helix-1024x468.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/perforce-helix-300x137.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/perforce-helix-768x351.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/perforce-helix.png 1308w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">Perforce has the longest history in source code management of all the companies in this overview. It is mostly known for having an impressive tradition in enterprise code hosting through its own Perforce version control system. Recently, however, the company expanded its offering with its new Helix4Git platform.</p>



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



<ul class="wp-block-list"><li>Security and scalability</li><li>By mirroring work into a Perforce server</li><li>Specific branches and files can be locked</li></ul>



<p class="wp-block-paragraph">Especially will large companies appreciate the long-term experience Perforce as source code management provider; Enterprises can ensure that is well understood their needs and requirements.</p>



<h4 class="wp-block-heading">9. <a href="https://github.com/" target="_blank" rel="noreferrer noopener">GitHub</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="472" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/github-1024x472.png" alt="" class="wp-image-7581" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/github-1024x472.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/github-300x138.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/github-768x354.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/github.png 1316w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">GitHub is an increasingly popular programming resource that is used to share the access code. It is a social networking site for programmers that use a large range of companies and organizations&#8217; project management and collaboration.</p>



<p class="wp-block-paragraph">Undisputed number one in the open-source world is having projects like Ruby on Rails or jQuery hosted on GitHub. Offerings include great code review and collaboration features.</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 Git URL Shortener.</li><li>Task Checklist.</li><li>Using Github Command Line Interface.</li></ul>



<h4 class="wp-block-heading">10. <a href="https://about.gitlab.com/" target="_blank" rel="noreferrer noopener">GitLab</a>:</h4>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="474" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/gitlab-1024x474.png" alt="" class="wp-image-7583" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/gitlab-1024x474.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/gitlab-300x139.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/gitlab-768x355.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/gitlab.png 1320w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure></div>



<p class="wp-block-paragraph">GitLab is a web-based Git repository that offers free open and private repositories, issue-following capabilities, and wikis. This is a full DevOps platform that enables all tasks to professionals from the project planning and source code management, monitoring, and security. It allows teams to collaborate and build better software.</p>



<p class="wp-block-paragraph">With open-source background, GitLab code provides the perfect platform to develop at a rapid pace for cooperation. The free Community Edition and Enterprise Edition can be installed on your own servers. A hosted offering running on GitLab.com is also available.</p>



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



<ul class="wp-block-list"><li>Offers git repository management.</li><li>Code Reviews</li><li>Issue tracking</li><li>Activity feeds and wikis</li></ul>



<p class="wp-block-paragraph">GitLab teams product helps increase reducing lifecycle and productivity, which creates value for customers return.</p>



<p class="wp-block-paragraph">There&#8217;s a good chance that one of these solutions is the perfect choice for your requirements.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-10-website-to-host-git-repository-online-2/">Top 10 Website to Host Git Repository Online</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-10-website-to-host-git-repository-online-2/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 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 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>Git Lab &#038; Excercise</title>
		<link>https://www.scmgalaxy.com/tutorials/git-lab-excercise/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-lab-excercise/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Jan 2018 12:04:50 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git Exercise]]></category>
		<category><![CDATA[Git Lab]]></category>
		<category><![CDATA[git quiz]]></category>
		<category><![CDATA[git test]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4717</guid>

					<description><![CDATA[<p>Hello Everyone, Please find git Lab and excercise session which has 5 sets to practice the git. If you want [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-lab-excercise/">Git Lab &#038; Excercise</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello Everyone,</p>
<p>Please find git Lab and excercise session which has 5 sets to practice the git.</p>
<p>If you want to add any new addition, do let me know in comment section.</p>
<p><strong><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/01/Git-Lab-Excercise.pdf">Git Lab &amp; Excercise</a></strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-lab-excercise/">Git Lab &#038; Excercise</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-lab-excercise/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Top 5 Git hosting solutions &#124; List of best Git hosting tools</title>
		<link>https://www.scmgalaxy.com/tutorials/top-5-git-hosting-solutions/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-5-git-hosting-solutions/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 25 Apr 2017 23:48:26 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Best]]></category>
		<category><![CDATA[Best Git hosting solutions]]></category>
		<category><![CDATA[Bitbucket]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git hosting solutions]]></category>
		<category><![CDATA[Git Hosting tools]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Gitlab]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[List fo Git hosting solutions]]></category>
		<category><![CDATA[Microsoft Visual Studio Team Services]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Top]]></category>
		<category><![CDATA[Top Git hosting solutions]]></category>
		<category><![CDATA[What]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/04/25/top-5-git-hosting-solutions/</guid>

					<description><![CDATA[<p>This is the era of DevOps where automation and collaboration is the key of success in software industry. This is [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-5-git-hosting-solutions/">Top 5 Git hosting solutions | List of best Git hosting tools</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="aligncenter wp-image-2909 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/top-5-git-hosting-solutions.png" alt="top-5-git-hosting-solutions" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/top-5-git-hosting-solutions.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/top-5-git-hosting-solutions-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div></div>
<div>This is the era of DevOps where automation and collaboration is the key of success in software industry. This is the reason code availability is for everyone in the team is the necessity for today&#8217;s work environment. Developers are using Git nowadays for their code management and collaboration. But, this is not enough. Now you need to decide, which GIT hosting solution is good for your collaboration within your team or organization.</div>
<div></div>
<div>You can find so many options who offers hosting for GIT Repositories, which makes it really a challenge to find the right solution for your needs. Therefore, we are presenting you the list of top ten git hosting solutions.</div>
<div></div>
<div><strong>Here is the list of Top Five Git Hosting Solutions</strong></div>
<div></div>
<div><strong>1. Bitbucket</strong></div>
<div><span style="font-size: 12.16px;"> </span></div>
<div>
<p> <img loading="lazy" decoding="async" class="alignnone wp-image-389 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/12/bitbucket.png" alt="Bitbucket" width="400" height="250" /><br />
<strong>Bitbucket</strong> formerly knows as stash belongs to one of the best software solution provider Atlassian who also developed popular tools like JIRA, Bamboo &amp; Confluence. It offers both plans free &amp; Commercial. Bitbucket is written in python.</p>
</div>
<div><strong>Key Features</strong></div>
<ul>
<li>web-based hosting service</li>
<li>Unlimited private repositories</li>
<li>Supports private &amp; Public repositories</li>
<li>Native integration (Jira, Confluence,Bamboo)</li>
<li>Flexible deployment models</li>
<li>Source tree &#8211; works with any git hosting</li>
<li>Branch permissions</li>
<li>Git Large File Storage (LFS)</li>
</ul>
<div></div>
<div></div>
<div><strong>2. GitHub</strong></div>
<div>
<p> <img loading="lazy" decoding="async" class="alignnone wp-image-647 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/github.png" alt="GitHub" width="400" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/github.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/github-300x188.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<div><strong>Github</strong> is one of the top Git hosting solution which is belongs to GitHub, Inc. and founded in the year 2008. As per the latest Github reports they have  52 million repositories which shows that they are one of the most trusted brands in the industry. Github is written also written in Ruby.</div>
</div>
<div></div>
<div><strong>Key features</strong></div>
<ul>
<li></li>
<li>web-based hosting service</li>
<li>Unlimited private repositories</li>
<li>Built-in code review</li>
<li>Supports private and Public repositories</li>
<li>Support Many Programming language</li>
<li>Flexible hosting plans</li>
<li>Free to use for public and open source projects</li>
<li>Comes with Issue tracking &amp; Wikis</li>
</ul>
<div></div>
<div></div>
<div><strong>3. GitLab</strong></div>
<div>
<p> <img loading="lazy" decoding="async" class="alignnone wp-image-648 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/gitlab.png" alt="GitLab" width="400" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/gitlab.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/gitlab-300x188.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<div><strong>Gitlab</strong> is an open source git hosting service provider which belongs to GitLab Inc. Gitlab claimed themselves as modern software development. This tool is launched in 2011 is written in Ruby and Go. Gitlab is also amongst the most trusted brand which is also used by even NASA. GItlab has more than 1400 contributors which makes it one of the most reliable service provider.</div>
</div>
<div></div>
<div><strong>Key Features</strong></div>
<ul>
<li>Unlimited public and private repos</li>
<li>web-based Git repository manager</li>
<li>wiki and issue tracking features</li>
<li>open source</li>
<li>Allow Project importing</li>
<li>Own Continuous Integration service</li>
<li>Collect and share reusable code</li>
<li>Control read/write permissions to specific branches</li>
</ul>
<div></div>
<div></div>
<div><strong>4. Microsoft Visual Studio Team Services</strong></div>
<div>
<p> <img loading="lazy" decoding="async" class="alignnone wp-image-649 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/microsoft-visual-studios.png" alt="Microsoft Visual Studio Team Services" width="400" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/microsoft-visual-studios.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/microsoft-visual-studios-300x188.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<div>
<p><strong>Visual studio team services</strong> formerly known as Visual Studio Online is a Microsoft product which is launched in the year 2012. Visual studio is also a very good option for Git hosting. This platform includes not only code hosting but it has its own CI &amp; agile planning tools for scrum and kanban teams. If you have 5 members team than you can use there most features for free but you need to upgrade your plans if you want to increase that number.</p>
</div>
<div><strong>Key Features</strong></div>
</div>
<ul>
<li></li>
<li>Unlimited private code repositories</li>
<li>Customizable Dashboards</li>
<li>Branch Updates</li>
<li>Code reviews</li>
<li>Web Hooks &amp; API Integration</li>
<li>unlimited free private git repositories</li>
<li>Get functionality with extensions</li>
<li>Semantic Code Search</li>
<li>Security &#8211; SOC compliance and multi-factor authentication</li>
<li>Built-in continuous integration and support for Jenkins and others tools</li>
</ul>
<div></div>
<div></div>
<div><strong>5. Perforce</strong></div>
<div>
<p> <img loading="lazy" decoding="async" class="alignnone wp-image-650 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/perforce.png" alt="Perforce" width="400" height="250" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/perforce.png 400w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/perforce-300x188.png 300w" sizes="auto, (max-width: 400px) 100vw, 400px" /></p>
<div><strong>Perforce</strong> or perforce helix is also amongst one the most reliable and trusted git hosting solution. Perforce was initially released in the year 1995 which makes it one the veteran player of the software industry. Recently they have introduced Git Swarm with Gitlab collaboration. It comes with similar features like Gitlab but in terms of security and scalability it is more reliable.</div>
</div>
<div></div>
<p><strong>Key Features<br />
</strong></p>
<ul>
<li>All the power and flexibility of Git without compromise:</li>
<li>Access control is more fine-grained</li>
<li>Specific branches and files can be locked</li>
<li>Developers can &#8220;slice&#8221; big repositories and pull only what they need</li>
<li>Pull requests</li>
<li>Merge-request workflow</li>
<li>Issue tracking</li>
<li>Git powered Wiki</li>
<li>Project visibility &amp; security</li>
<li>Automatically mirrors work into Helix mainline repository</li>
</ul>
<div>SO, these are the top players currently trending in GIT hosting solutions. Hope this will help you while selecting your hosting solutions. One more thing, if you think that this list is missing any other solutions instead of this than feel free to share with us in the comment section below.</div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-5-git-hosting-solutions/">Top 5 Git hosting solutions | List of best Git hosting tools</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-hosting-solutions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Git Interview Questions and Answer</title>
		<link>https://www.scmgalaxy.com/tutorials/git-interview-questions-and-answer/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-interview-questions-and-answer/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 19 Apr 2017 20:10:39 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Interview Questions & Answers]]></category>
		<category><![CDATA[Answer]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git FAQs]]></category>
		<category><![CDATA[Git Interview]]></category>
		<category><![CDATA[Git Interview Q&A]]></category>
		<category><![CDATA[Git Interview Questions and Answer]]></category>
		<category><![CDATA[Git Job Interview]]></category>
		<category><![CDATA[Git Questions]]></category>
		<category><![CDATA[Git Questions and Answer]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[List of Git Interview Questions and Answer]]></category>
		<category><![CDATA[Questions]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/04/19/git-interview-questions-and-answer/</guid>

					<description><![CDATA[<p>Q1. What is GIT? Git is a distributed version control system and source code management (SCM) system with focus to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-interview-questions-and-answer/">Git Interview Questions and Answer</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="aligncenter wp-image-2939 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/git-interview-questions-and.png" alt="git-interview-questions-and-answer" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/git-interview-questions-and.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/04/git-interview-questions-and-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<h3>Q1. What is GIT?</h3>
<p>Git is a distributed version control system and source code management (SCM) system with focus to handle small and large projects source code versions in the local repository with speed and efficiency. It is free and open source and its one of widly used versioning tools used ever worldwide.</p>
<hr />
<h3>Q2. What do you understant the repository in Git?</h3>
<p>A repository in git, consists of .git directory which contains the each source code commited in form of objects created using SHA1 algorithms. A .git directry where git keeps all of its metadata for the source code in objects forms. It also contains the git configuration file, breanch reference and staging state of the work space.</p>
<hr />
<h3>Q. What is the command you can use to write a commit message?</h3>
<p>The command that is used to write a commit message is “git commit –m&#8221;this is reason for commit&#8221;.  The –a on the command line instructs git to commit the new content of all tracked files that have been modified. You can use &#8220;git add &lt;file&gt;&#8221; before git commit –a if new files need to be committed for the first time.</p>
<p>In nutshell, any new changes has to added from working directory to stageing area and then commit from staging area to reposiory. Please refer the image for the same as below;</p>
<hr />
<h3>Q. What is the difference between GIT and SVN?</h3>
<p>The difference between GIT and SVN is</p>
<ol>
<li>Git is less preferred for handling extremely large files or frequently changing binary files while SVN can handle multiple projects stored in the same repository.</li>
<li>GIT does not support ‘commits’ across multiple branches or tags.  Subversion allows the creation of folders at any location in the repository layout.</li>
<li>Gits are unchangeable, while Subversion allows committers to treat a tag as a branch and to create multiple revisions under a tag root.</li>
</ol>
<hr />
<h3>Q. What are the advantages of using GIT?</h3>
<ol>
<li>Data redundancy and replication</li>
<li>High availability</li>
<li>Only one.git directory per repository</li>
<li>Superior disk utilization and network performance</li>
<li>Collaboration friendly</li>
<li>Any sort of projects can use GIT</li>
</ol>
<hr />
<h3>Q. What language is used in GIT?</h3>
<p>GIT is fast, and ‘C’ language makes this possible by reducing the overhead of runtimes associated with higher languages.</p>
<hr />
<h3>Q. What is the function of ‘GIT PUSH’ in GIT?</h3>
<p>‘GIT PUSH’ updates remote refs along with associated objects.</p>
<hr />
<h3>Q. Why GIT better than Subversion?</h3>
<p>GIT is an open source version control system; it will allow you to run ‘versions’ of a project, which show the changes that were made to the code overtime also it allows you keep the backtrack if necessary and undo those changes.  Multiple developers can checkout, and upload changes and each change can then be attributed to a specific developer.</p>
<hr />
<h3>Q. What is “Staging Area” or “Index” in GIT?</h3>
<p>Before completing the commits, it can be formatted and reviewed in an intermediate area known as ‘Staging Area’ or ‘Index’.</p>
<hr />
<h3>Q. What is GIT stash?</h3>
<p>GIT stash takes the current state of the working directory and index and puts in on the stack for later and gives you back a clean working directory.  So in case if you are in the middle of something and need to jump over to the other job, and at the same time you don’t want to lose your current edits then you can use GIT stash.</p>
<h3>Q. What is GIT stash drop?</h3>
<p>When you are done with the stashed item or want to remove it from the list, run the git ‘stash drop’ command.  It will remove the last added stash item by default, and it can also remove a specific item if you include as an argument.</p>
<hr />
<h3>Q. How will you know in GIT if a branch has been already merged into master?</h3>
<p>Git branch—merged lists the branches that have been merged into the current branch</p>
<p>Git branch—no merged lists the branches that have not been merged</p>
<hr />
<h3>Q. is the function of git clone?</h3>
<p>The git clone command creates a copy of an existing Git repository.  To get the copy of a central repository, ‘cloning’  is the most common way used by programmers.</p>
<hr />
<h3>Q. What is the function of ‘git config’?</h3>
<p>The ‘git config’ command is a convenient way to set configuration options for your Git installation.  Behaviour of a repository, user info, preferences etc. can be defined through this command.</p>
<hr />
<h3>Q. What does commit object contain?</h3>
<ol>
<li>A set of files, representing the state of a project at a given point of time</li>
<li>Reference to parent commit objects</li>
<li>An SHAI name, a 40 character string that uniquely identifies the commit object.</li>
</ol>
<hr />
<h3>Q. How can you create a repository in Git?</h3>
<p>In Git, to create a repository, create a directory for the project if it does not exist, and then run command “git init”. By running this command .git directory will be created in the project directory, the directory does not need to be empty.</p>
<hr />
<h3>Q. What is ‘head’ in git and how many heads can be created in a repository?</h3>
<p>A ‘head’ is simply a reference to a commit object. In every repository, there is a default head referred as “Master”.  A repository can contain any number of heads.</p>
<hr />
<h3>Q. What is the purpose of branching in GIT?</h3>
<p>The purpose of branching in GIT is that you can create your own branch and jump between those branches. It will allow you to go to your previous work keeping your recent work intact.</p>
<hr />
<h3>Q. What is the common branching pattern in GIT?</h3>
<p>The common way of creating branch in GIT is to maintain one as “Main“</p>
<p>branch and create another branch to implement new features. This pattern is particularly useful when there are multiple developers working on a single project.</p>
<hr />
<h3>Q. How can you bring a new feature in the main branch?</h3>
<p>To bring a new feature in the main branch, you can use a command “git merge” or “git pull command”.</p>
<hr />
<h3>Q. What is a ‘conflict’ in git?</h3>
<p>A ‘conflict’ arises when the commit that has to be merged has some change in one place, and the current commit also has a change at the same place. Git will not be able to predict which change should take precedence.</p>
<hr />
<h3>Q. How can conflict in git resolved?</h3>
<p>To resolve the conflict in git, edit the files to fix the conflicting changes and then add the resolved files by running “git add” after that to commit the repaired merge,  run “git commit”.  Git remembers that you are in the middle of a merger, so it sets the parents of the commit correctly.</p>
<hr />
<h3>Q. To delete a branch what is the command that is used?</h3>
<p>Once your development branch is merged into the main branch, you don’t need development branch.  To delete a branch use, the command “git branch –d [head]”.</p>
<hr />
<h3>Q. What is another option for merging in git?</h3>
<p>“Rebasing” is an alternative to merging in git.</p>
<hr />
<h3>Q. What is the syntax for “Rebasing” in Git?</h3>
<p>The syntax used for rebase is “git rebase [new-commit] “</p>
<hr />
<h3>Q. What is the difference between ‘git remote’ and ‘git clone’?</h3>
<p>‘git remote add’  just creates an entry in your git config that specifies a name for a particular URL.  While, ‘git clone’ creates a new git repository by copying and existing one located at the URI.</p>
<hr />
<h3>Q. What is GIT version control?</h3>
<p>With the help of GIT version control, you can track the history of a collection of files and includes the functionality to revert the collection of files to another version.  Each version captures a snapshot of the file system at a certain point of time. A collection of files and their complete history are stored in a repository.</p>
<hr />
<h3>Q. Mention some of the best graphical GIT client for LINUX?</h3>
<p>Some of the best GIT client for LINUX is</p>
<ol>
<li>Git Cola</li>
<li>Git-g</li>
<li>Smart git</li>
<li>Giggle</li>
<li>Git GUI</li>
<li>qGit</li>
</ol>
<hr />
<h3>Q. What is Subgit? Why to use Subgit?</h3>
<p>‘Subgit’ is a tool for a smooth, stress-free SVN to Git migration.  Subgit is a solution for a company -wide migration from SVN to Git that is:</p>
<p>a)      It is much better than git-svn</p>
<p>b)      No requirement to change the infrastructure that is already placed</p>
<p>c)       Allows to use all git and all sub-version features</p>
<p>d)      Provides genuine stress –free migration experience.</p>
<hr />
<h3>Q. What is the function of ‘git diff ’ in git?</h3>
<p>‘git diff ’ shows the changes between commits, commit and working tree etc.</p>
<hr />
<h3>Q. What is ‘git status’ is used for?</h3>
<p>As ‘Git Status’ shows you the difference between the working directory and the index, it is helpful in understanding a git more comprehensively.</p>
<hr />
<h3>Q. What is the difference between the ‘git diff ’and ‘git status’?</h3>
<p>‘git diff’ is similar to ‘git status’, but it shows the differences between various commits and also between the working directory and index.</p>
<hr />
<h3>Q. What is the function of ‘git checkout’ in git?</h3>
<p>A ‘git checkout’ command is used to update directories or specific files in your working tree with those from another branch without merging it in the whole branch.</p>
<hr />
<h3>Q. What is the function of ‘git rm’?</h3>
<p>To remove the file from the staging area and also off your disk ‘git rm’ is used.</p>
<hr />
<h3>Q. What is the function of ‘git stash apply’?</h3>
<p>When you want to continue working where you have left your work, ‘git stash apply’ command is used to bring back the saved changes onto the working directory.</p>
<hr />
<h3>Q. What is the use of ‘git log’?</h3>
<p>To find specific commits in your project history- by author, date, content or history ‘git log’ is used.</p>
<hr />
<h3>Q. What is ‘git add’ is used for?</h3>
<p>‘git add’ adds file changes in your existing directory to your index.</p>
<hr />
<h3>Q. What is the function of ‘git reset’?</h3>
<p>The function of ‘Git Reset’ is to reset your index as well as the working directory to the state of your last commit.</p>
<hr />
<h3>Q. What is git Is-tree?</h3>
<p>‘git Is-tree’ represents a tree object including the mode and the name of each item and the SHA-1 value of the blob or the tree.</p>
<hr />
<h3>Q. How git instaweb is used?</h3>
<p>‘Git Instaweb’ automatically directs a web browser and runs webserver with an interface into your local repository.</p>
<hr />
<h3>Q. What does ‘hooks’ consist of in git?</h3>
<p>This directory consists of Shell scripts which are activated after running the corresponding Git commands.  For example, git will try to execute the post-commit script after you run a commit.</p>
<hr />
<h3>Q. Explain what is commit message?</h3>
<p>Commit message is a feature of git which appears when you commit a change. Git provides you a text editor where you can enter the modifications made in commits.</p>
<hr />
<h3>Q. How can you fix a broken commit?</h3>
<p>To fix any broken commit, you will use the command “git commit—amend”. By running this command, you can fix the broken commit message in the editor.</p>
<hr />
<h3>Q. Why is it advisable to create an additional commit rather than amending an existing commit?</h3>
<p>There are couple of reason</p>
<ol>
<li>The amend operation will destroy the state that was previously saved in a commit.  If it’s just the commit message being changed then that’s not an issue.  But if the contents are being amended then chances of eliminating something important remains more.</li>
<li>Abusing “git commit- amend” can cause a small commit to grow and acquire unrelated changes.</li>
</ol>
<hr />
<h3>Q. What is ‘bare repository’ in GIT?</h3>
<p>To co-ordinate with the distributed development and developers team, especially when you are working on a project from multiple computers ‘Bare Repository’ is used. A bare repository comprises of a version history of your code.</p>
<hr />
<h3>Q. How do you revert a commit that has already been pushed and made public?</h3>
<p>One or more commits can be reverted through the use of <em>git revert</em>. This command, in essence, creates a new commit with patches that cancel out the changes introduced in specific commits. In case the commit that needs to be reverted has already been published or changing the repository history is not an option, <em>git revert</em> can be used to revert commits. Running the following command will revert the last two commits:</p>
<p>git revert HEAD~2..HEAD</p>
<p>Alternatively, one can always checkout the state of a particular commit from the past, and commit it anew.</p>
<hr />
<h3>Q. How do you squash last N commits into a single commit?</h3>
<p>Squashing multiple commits into a single commit will overwrite history, and should be done with caution. However, this is useful when working in feature branches. To squash the last N commits of the current branch, run the following command (with {N} replaced with the number of commits that you want to squash):</p>
<p>git rebase -i HEAD~{N}</p>
<p>Upon running this command, an editor will open with a list of these N commit messages, one per line. Each of these lines will begin with the word “pick”. Replacing “pick” with “squash” or “s” will tell Git to combine the commit with the commit before it. To combine all N commits into one, set every commit in the list to be squash except the first one. Upon exiting the editor, and if no conflict arises, <em>git rebase</em> will allow you to create a new commit message for the new combined commit.</p>
<hr />
<h3>Q. How do you find a list of files that has changed in a particular commit?</h3>
<p>git diff-tree -r {hash}</p>
<p>Given the commit hash, this will list all the files that were changed or added in that commit. The <em>-r</em> flag makes the command list individual files, rather than collapsing them into root directory names only.</p>
<p>The output will also include some extra information, which can be easily suppressed by including a couple of flags:</p>
<p>git diff-tree –no-commit-id –name-only -r {hash}</p>
<p>Here <em>–no-commit-id</em> will supress the commit hashes from appearing in the output, and <em>–name-only</em> will only print the file names, instead of their paths.</p>
<hr />
<h3>Q. How do you setup a script to run every time a repository receives new commits through push?</h3>
<p>To configure a script to run every time a repository receives new commits through push, one needs to define either a pre-receive, update, or a post-receive hook depending on when exactly the script needs to be triggered.</p>
<p>Pre-receive hook in the destination repository is invoked when commits are pushed to it. Any script bound to this hook will be executed before any references are updated. This is a useful hook to run scripts that help enforce development policies.</p>
<p>Update hook works in a similar manner to pre-receive hook, and is also triggered before any updates are actually made. However, the update hook is called once for every commit that has been pushed to the destination repository.</p>
<p>Finally, post-receive hook in the repository is invoked after the updates have been accepted into the destination repository. This is an ideal place to configure simple deployment scripts, invoke some continuous integration systems, dispatch notification emails to repository maintainers, etc.</p>
<p>Hooks are local to every Git repository and are not versioned. Scripts can either be created within the hooks directory inside the “.git” directory, or they can be created elsewhere and links to those scripts can be placed within the directory.</p>
<hr />
<h3>Q. What is git bisect? How can you use it to determine the source of a (regression) bug?</h3>
<p>Git provides a rather efficient mechanism to find bad commits. Instead of making the user try out every single commit to find out the first one that introduced some particular issue into the code, <em>git bisect</em> allows the user to perform a sort of binary search on the entire history of a repository.</p>
<p>By issuing the command <em>git bisect start</em>, the repository enters bisect mode. After this, all you have to do is identify a bad and a good commit:</p>
<p>git bisect bad # marks the current version as bad</p>
<p>git bisect good {hash or tag} # marks the given hash or tag as good, ideally of some earlier commit</p>
<p>Once this is done, Git will then have a range of commits that it needs to explore. At every step, it will checkout a certain commit from this range, and require you to identify it as good or bad. After which the range will be effectively halved, and the whole search will require a lot less number of steps than the actual number of commits involved in the range. Once the first bad commit has been found, or the bisect mode needs to be ended, the following command can be used to exit the mode and reset the bisection state:</p>
<p>git bisect reset</p>
<hr />
<h3>Q. What are the different ways you can refer to a commit?</h3>
<p>In Git each commit is given a unique hash. These hashes can be used to identify the corresponding commits in various scenarios (such as while trying to checkout a particular state of the code using the <em>git checkout {hash}</em> command).</p>
<p>Additionally, Git also maintains a number of aliases to certain commits, known as refs. Also, every tag that you create in the repository effectively becomes a ref (and that is exactly why you can use tags instead of commit hashes in various git commands). Git also maintains a number of special aliases that change based on the state of the repository, such as HEAD, FETCH_HEAD, MERGE_HEAD, etc.</p>
<p>Git also allows commits to be referred as relative to one another. For example, HEAD~1 refers to the commit parent to HEAD, HEAD~2 refers to the grandparent of HEAD, and so on. In case of merge commits, where the commit has two parents, ^ can be used to select one of the two parents, e.g. HEAD^2 can be used to follow the second parent.</p>
<p>And finally, refspecs. These are used to map local and remote branches together. However, these can be used to refer to commits that reside on remote branches allowing one to control and manipulate them from a local Git environment.</p>
<hr />
<h3>Q. What is git rebase and how can it be used to resolve conflicts in a feature branch before merge?</h3>
<p>In simple words, <em>git rebase</em> allows one to move the first commit of a branch to a new starting location. For example, if a feature branch was created from master, and since then the master branch has received new commits, <em>git rebase</em> can be used to move the feature branch to the tip of master. The command effectively will replay the changes made in the feature branch at the tip of master, allowing conflicts to be resolved in the process. When done with care, this will allow the feature branch to be merged into master with relative ease and sometimes as a simple fast-forward operation.</p>
<hr />
<h3>Q. How do you configure a Git repository to run code sanity checking tools right before making commits, and preventing them if the test fails?</h3>
<p>This can be done with a simple script bound to the pre-commit hook of the repository. The pre-commit hook is triggered right before a commit is made, even before you are required to enter a commit message. In this script one can run other tools, such as linters and perform sanity checks on the changes being committed into the repository. For example, the following script:</p>
<p>#!/bin/sh<br />
files=$(git diff –cached –name-only –diff-filter=ACM | grep ‘.go$’)<br />
if [ -z files ]; then<br />
exit 0<br />
fi<br />
unfmtd=$(gofmt -l $files)<br />
if [ -z unfmtd ]; then<br />
exit 0<br />
fi<br />
echo “Some .go files are not fmt’d”<br />
exit 1</p>
<p>… checks to see if any .go file that is about to be commited needs to be passed through the standard Go source code formatting tool <em>gofmt</em>. By exiting with a non-zero status, the script effectively prevents the commit from being applied to the repository.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-interview-questions-and-answer/">Git Interview Questions and Answer</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-interview-questions-and-answer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to build when a change is pushed to GitHub in Jenkins?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-build-when-a-change-is-pushed-to-github-in-jenkins/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-build-when-a-change-is-pushed-to-github-in-jenkins/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sun, 15 Jan 2017 02:30:34 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[GitHub Plugin]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Jenkins Guide]]></category>
		<category><![CDATA[Jenkins Tutorials]]></category>
		<category><![CDATA[Push]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/01/15/how-to-build-when-a-change-is-pushed-to-github-in-jenkins/</guid>

					<description><![CDATA[<p>The GitHub plugin for Jenkins is the most basic plugin for integrating Jenkins with GitHub projects. If you are a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-build-when-a-change-is-pushed-to-github-in-jenkins/">How to build when a change is pushed to GitHub in Jenkins?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2963 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/how-to-build-when-a-change-.png" alt="build-when-a-change-is-pushed-to-github-in-jenkins" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/how-to-build-when-a-change-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/how-to-build-when-a-change--300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></div>
<div>The GitHub plugin for Jenkins is the most basic plugin for integrating Jenkins with GitHub projects. If you are a GitHub user, this plugin enables you to:</div>
<div></div>
<ul>
<li>Schedule your build</li>
<li>Pull your code and data files from your GitHub repository to your Jenkins machine</li>
<li>Automatically trigger each build on the Jenkins server, after each Commit on your Git repository</li>
</ul>
<div></div>
<div>
<p>This saves you time and lets you incorporate your project into the Continuous Integration (CI) process.</p>
<div><strong>How to Start Working with the GitHub Plugin for Jenkins</strong></div>
<div></div>
<div><strong>Install the Github Jenkins plugin</strong></div>
<div>Go to &#8220;Manage Jenkins&#8221; &#8211;&gt; &#8220;Manage Plugins&#8221; &#8211;&gt; &#8220;Available&#8221; Tab &#8211;&gt; Search for &#8220;GitHub plugin&#8221; and install it.</div>
<div></div>
<div></div>
<div><strong>Configure the plugin with github accounts and keys</strong></div>
<div>Go to &#8220;Manage Jenkins&#8221; &#8211;&gt; &#8220;Configure System&#8221; &#8211;&gt; Locate &#8220;Github&#8221; section and &#8220;Add Github Server&#8221;.</div>
<div><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks2.png"><img loading="lazy" decoding="async" class="alignnone wp-image-496 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks2.png" alt="" width="1301" height="378" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks2.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks2-300x87.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks2-768x223.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks2-1024x298.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a></div>
<div>
<p>API URL &#8211; If you server is github.com, your &#8220;API URL&#8221; would be &#8220;https://api.github.com&#8221; Otherwise if you use GitHub Enterprise, specify its API endpoint here (e.g., <a href="https://ghe.acme.com/api/v3/)">https://ghe.acme.com/api/v3/)</a>.</p>
</div>
<div></div>
<div>Credentials &#8211; You can create your own personal access token in your account GitHub settings.</div>
<div>Token should be registered with scopes: Refer https://github.com/settings/tokens/new.</div>
<div></div>
<div>Add credentials (your Github token), Apply and &#8220;Test Connection&#8221;.<br />
<a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks3.png"><img loading="lazy" decoding="async" class="alignnone wp-image-497 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks3.png" alt="" width="1301" height="369" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks3.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks3-300x85.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks3-768x218.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks3-1024x290.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a><br />
<a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks4.png"><img loading="lazy" decoding="async" class="alignnone wp-image-498 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks4.png" alt="" width="1040" height="772" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks4.png 1040w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks4-300x223.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks4-768x570.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks4-1024x760.png 1024w" sizes="auto, (max-width: 1040px) 100vw, 1040px" /></a></div>
<div></div>
<div></div>
<div><strong>Open your Jenkins Project</strong></div>
<div>
<p>a) Check the GitHub project checkbox and set the Project URL to point to your GitHub Repository</p>
<p><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks5.png"><img loading="lazy" decoding="async" class="alignnone wp-image-499 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks5.png" alt="" width="1301" height="352" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks5.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks5-300x81.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks5-768x208.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks5-1024x277.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a></p>
</div>
<div></div>
<div>b) Under Source Code Management, check Git and set the Repository URL to point to your GitHub Repository<br />
<a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks6.png"><img loading="lazy" decoding="async" class="alignnone wp-image-500 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks6.png" alt="" width="1301" height="559" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks6.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks6-300x129.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks6-768x330.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks6-1024x440.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a></div>
<div></div>
<div>c) Under Build Triggers, check the “Build when a change is pushed to GitHub” checkbox<br />
<a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks7.png"><img loading="lazy" decoding="async" class="alignnone wp-image-501 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks7.png" alt="" width="1301" height="319" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks7.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks7-300x74.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks7-768x188.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks7-1024x251.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a></div>
<div></div>
<div></div>
<div><strong>4. Install the Jenkins (GitHub plugin) and set a webhook to your Jenkins machine</strong></div>
<div>a) From your GitHub repository, go to Settings and then to Integrations &amp; Services</div>
<div>b) Click on Add Service and add ‘Jenkins (GitHub plugin)’</div>
<div>
<p>c) Set the Jenkins hook URL as the URL for your Jenkins machine, and add /github-webhook/</p>
<p><a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks8.png"><img loading="lazy" decoding="async" class="alignnone wp-image-502 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks8.png" alt="" width="1301" height="707" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks8.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks8-300x163.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks8-768x417.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks8-1024x556.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a><br />
<a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks9.png"><img loading="lazy" decoding="async" class="alignnone wp-image-503 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks9.png" alt="" width="1301" height="553" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks9.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks9-300x128.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks9-768x326.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks9-1024x435.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a><br />
<a href="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks10.png"><img loading="lazy" decoding="async" class="alignnone wp-image-504 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks10.png" alt="" width="1301" height="844" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks10.png 1301w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks10-300x195.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks10-768x498.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/01/github-jenkins-integration-hooks10-1024x664.png 1024w" sizes="auto, (max-width: 1301px) 100vw, 1301px" /></a></p>
</div>
<div></div>
<div><strong>Congratulations! Every time you publish your changes to Github, GitHub will trigger your new Jenkins job.</strong></div>
<div></div>
<div></div>
<div><strong>Another Approach noted by suprakash</strong></div>
<div>Actually if you do the web hook settings from Jenkins -&gt; Github plugin configuration (mentioned above), you will still see webhooks get created in github. So , above two approaches basically doing the same thing.</div>
<div></div>
<div>I personally like it to create webhook from Github, because in this way you don&#8217;t have to share or store github user info in jenkins.</div>
<div></div>
<div>Steps : 1. Login into Github (with Admin) 2. Go to the repository you want to hook with jenkins 3. Click on settings tab -&gt; webhooks &amp; services 4. Click on Add Webhook 5. Enter payload url : like : http://:8080/github-webhook/ 6. Select content type as json 7. you are done</div>
<div></div>
<div>
<p>Now you do the changes and commit , you will see jenkins build get trigger automatically. Don&#8217;t forget to do the settings in jenkins jobs to start the build when push code in github.</p>
<p><strong>Reference</strong></p>
<div><a href="https://www.blazemeter.com/blog/how-start-working-github-plugin-jenkins" target="_blank" rel="noopener">https://www.blazemeter.com/blog/how-start-working-github-plugin-jenkins</a></div>
<div><a href="https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Plugin" target="_blank" rel="noopener">https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Plugin</a></div>
<div><a href="http://stackoverflow.com/questions/30576881/jenkins-build-when-a-change-is-pushed-to-github-option-is-not-working" target="_blank" rel="noopener">http://stackoverflow.com/questions/30576881/jenkins-build-when-a-change-is-pushed-to-github-option-is-not-working</a></div>
</div>
</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-build-when-a-change-is-pushed-to-github-in-jenkins/">How to build when a change is pushed to GitHub in Jenkins?</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-build-when-a-change-is-pushed-to-github-in-jenkins/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Git Troubleshooting &#124; Git Troubleshooting Techniques</title>
		<link>https://www.scmgalaxy.com/tutorials/git-troubleshooting/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-troubleshooting/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 18 Aug 2014 00:00:00 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git Issues]]></category>
		<category><![CDATA[Git Problems]]></category>
		<category><![CDATA[Git Troubleshoot]]></category>
		<category><![CDATA[issues.]]></category>
		<category><![CDATA[Problems]]></category>
		<category><![CDATA[Resolve]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/08/18/git-troubleshooting/</guid>

					<description><![CDATA[<p>export GIT_CURL_VERBOSE=1 git push -u origin &#8211;all &#8211;verbose git config &#8211;list &#38; GIT_CURL_VERBOSE=1 git push &#38; export GIT_CURL_VERBOSE=1 git push [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-troubleshooting/">Git Troubleshooting | Git Troubleshooting Techniques</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><!-- [if gte mso 9]><xml>  <w:WordDocument>   <w:View>Normal</w:View>   <w:Zoom>0</w:Zoom>   <w:TrackMoves/>   <w:TrackFormatting/>   <w:PunctuationKerning/>   <w:ValidateAgainstSchemas/>   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>   <w:DoNotPromoteQF/>   <w:LidThemeOther>EN-US</w:LidThemeOther>   <w:LidThemeAsian>X-NONE</w:LidThemeAsian>   <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>   <w:Compatibility>    <w:BreakWrappedTables/>    <w:SnapToGridInCell/>    <w:WrapTextWithPunct/>    <w:UseAsianBreakRules/>    <w:DontGrowAutofit/>    <w:SplitPgBreakAndParaMark/>    <w:EnableOpenTypeKerning/>    <w:DontFlipMirrorIndents/>    <w:OverrideTableStyleHps/>   </w:Compatibility>   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>   <m:mathPr>    <m:mathFont m:val="Cambria Math"/>    <m:brkBin m:val="before"/>    <m:brkBinSub m:val="&#45;-"/>    <m:smallFrac m:val="off"/>    <m:dispDef/>    <m:lMargin m:val="0"/>    <m:rMargin m:val="0"/>    <m:defJc m:val="centerGroup"/>    <m:wrapIndent m:val="1440"/>    <m:intLim m:val="subSup"/>    <m:naryLim m:val="undOvr"/>   </m:mathPr></w:WordDocument> </xml><![endif]--></p>
<p><!-- [if gte mso 9]><xml>  <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true" DefSemiHidden="true" DefQFormat="false" DefPriority="99" LatentStyleCount="267">   <w:LsdException Locked="false" Priority="0" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Normal"/>   <w:LsdException Locked="false" Priority="9" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>   <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>   <w:LsdException Locked="false" Priority="39" Name="toc 1"/>   <w:LsdException Locked="false" Priority="39" Name="toc 2"/>   <w:LsdException Locked="false" Priority="39" Name="toc 3"/>   <w:LsdException Locked="false" Priority="39" Name="toc 4"/>   <w:LsdException Locked="false" Priority="39" Name="toc 5"/>   <w:LsdException Locked="false" Priority="39" Name="toc 6"/>   <w:LsdException Locked="false" Priority="39" Name="toc 7"/>   <w:LsdException Locked="false" Priority="39" Name="toc 8"/>   <w:LsdException Locked="false" Priority="39" Name="toc 9"/>   <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>   <w:LsdException Locked="false" Priority="10" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Title"/>   <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>   <w:LsdException Locked="false" Priority="11" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>   <w:LsdException Locked="false" Priority="22" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Strong"/>   <w:LsdException Locked="false" Priority="20" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>   <w:LsdException Locked="false" Priority="59" SemiHidden="false" UnhideWhenUsed="false" Name="Table Grid"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>   <w:LsdException Locked="false" Priority="1" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 1"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 1"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 1"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>   <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>   <w:LsdException Locked="false" Priority="34" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>   <w:LsdException Locked="false" Priority="29" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Quote"/>   <w:LsdException Locked="false" Priority="30" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 1"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 1"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 2"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 2"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 2"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 2"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 2"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 3"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 3"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 3"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 3"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 3"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 4"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 4"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 4"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 4"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 4"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 5"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 5"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 5"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 5"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 5"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>   <w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 6"/>   <w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 6"/>   <w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 6"/>   <w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>   <w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>   <w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>   <w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>   <w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>   <w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>   <w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>   <w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 6"/>   <w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>   <w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 6"/>   <w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>   <w:LsdException Locked="false" Priority="19" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>   <w:LsdException Locked="false" Priority="21" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>   <w:LsdException Locked="false" Priority="31" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>   <w:LsdException Locked="false" Priority="32" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>   <w:LsdException Locked="false" Priority="33" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>   <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>   <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>  </w:LatentStyles> </xml><![endif]--><!-- [if gte mso 10]>



<style>  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman","serif";} </style>

 <![endif]--></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-3414 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/08/git-troubleshooting.png" alt="git-troubleshooting" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/08/git-troubleshooting.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/08/git-troubleshooting-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p class="MsoNormal">export GIT_CURL_VERBOSE=1</p>
<p class="MsoNormal"><span style="font-size: 10.0pt; font-family: 'Courier New';">git push -u origin &#8211;all &#8211;verbose</span></p>
<p class="MsoNormal">git config &#8211;list</p>
<p class="MsoNormal">&amp;</p>
<p class="MsoNormal">GIT_CURL_VERBOSE=1 git push</p>
<p class="MsoNormal">&amp;</p>
<p class="MsoNormal">export GIT_CURL_VERBOSE=1</p>
<p class="MsoNormal">git push</p>
<p class="MsoNormal"><code><span style="font-size: 10.0pt;">git config --global http.postBuffer</span></code></p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.3999996185303px; color: #333333; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">There are useful to debug, long running Git Commands or Git Commands that seem to be hanged for some reason,</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.3999996185303px; color: #333333; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">Git has an in-built functionality for us to peek into what is running behind the scenes of a git command, just add GIT_TRACE=1 before ANY git command to get additional info, for example:</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.3999996185303px; color: #333333; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">Other Flags that we can use are : GIT_CURL_VERBOSE=1, -v or –verbose</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 23px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 23.3999996185303px; color: #333333; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">[server@user sp-server-branches]$ GIT_TRACE=1 git clone</p>
<p class="MsoNormal"><a href="https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide">https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide</a></p>
<p class="MsoNormal"><a href="https://drupal.org/node/1065850">https://drupal.org/node/1065850</a></p>
<p class="MsoNormal"><a href="http://mattberther.com/2013/12/29/pushing-large-git-repos-with-ssh">http://mattberther.com/2013/12/29/pushing-large-git-repos-with-ssh</a></p>
<p class="MsoNormal"><a href="http://ocaoimh.ie/2008/12/10/how-to-fix-ssh-timeout-problems/">http://ocaoimh.ie/2008/12/10/how-to-fix-ssh-timeout-problems/</a></p>
<p class="MsoNormal"><a href="http://unix.stackexchange.com/questions/3026/what-do-the-options-serveraliveinterval-and-clientaliveinterval-in-sshd-conf">http://unix.stackexchange.com/questions/3026/what-do-the-options-serveraliveinterval-and-clientaliveinterval-in-sshd-conf</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-troubleshooting/">Git Troubleshooting | Git Troubleshooting Techniques</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-troubleshooting/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Why Git is Better than X &#124; Git or X</title>
		<link>https://www.scmgalaxy.com/tutorials/why-git-is-better-than-x/</link>
					<comments>https://www.scmgalaxy.com/tutorials/why-git-is-better-than-x/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 18 Aug 2014 00:00:00 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Better]]></category>
		<category><![CDATA[Choose]]></category>
		<category><![CDATA[Comparison]]></category>
		<category><![CDATA[Difference]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git is Better than X]]></category>
		<category><![CDATA[Git or X]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Select]]></category>
		<category><![CDATA[Why]]></category>
		<category><![CDATA[Why Git]]></category>
		<category><![CDATA[Why Git is Better than X]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[X or Git]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/08/18/why-git-is-better-than-x/</guid>

					<description><![CDATA[<p>Cheap Local Branching svn perforce Everything is Local bzr svn perforce Git is Fast svn Git is Small hg bzr [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/why-git-is-better-than-x/">Why Git is Better than X | Git or X</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><img loading="lazy" decoding="async" class="aligncenter wp-image-3410 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/08/why-git-is-better-than-x.png" alt="why-git-is-better-than-x" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/08/why-git-is-better-than-x.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/08/why-git-is-better-than-x-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h2>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#cheap-local-branching" name="cheap-local-branching">Cheap Local Branching</a></h2>
<div class="span-24 section">
<div class="args"><span class="lang svn">svn</span> <span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#everything-is-local" name="everything-is-local">Everything is Local</a></h2>
</div>
<div class="span-24 section">
<div class="args"><span class="lang bzr">bzr</span> <span class="lang svn">svn</span> <span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#git-is-fast" name="git-is-fast">Git is Fast</a></h2>
</div>
<div class="span-24 section">
<div class="args"><span class="lang svn">svn</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#git-is-small" name="git-is-small">Git is Small</a></h2>
</div>
<div class="span-24 section">
<div class="args"><span class="lang hg">hg</span> <span class="lang bzr">bzr</span> <span class="lang svn">svn</span> <span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#the-staging-area" name="the-staging-area">The Staging Area</a></h2>
</div>
<div class="span-24 section">
<div class="args"><span class="lang svn">svn</span> <span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#distributed" name="distributed">Distributed</a></h2>
</div>
<div class="span-24 section">
<div class="args"><span class="lang svn">svn</span> <span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#any-workflow" name="any-workflow">Any Workflow</a></h2>
</div>
<div class="span-24 section">
<div class="args"><span class="lang hg">hg</span> <span class="lang svn">svn</span> <span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#github" name="github">GitHub</a></h2>
</div>
<div class="span-24 section">
<div class="args"><span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#easy-to-learn" name="easy-to-learn">Easy to Learn</a></h2>
</div>
<div class="args"><span class="lang hg">hg</span> <span class="lang bzr">bzr</span> <span class="lang svn">svn</span> <span class="lang perforce">perforce</span></div>
<h2><a href="http://thkoch2001.github.io/whygitisbetter/#git-is-standard" name="git-is-standard">Git is the new standard</a></h2>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/why-git-is-better-than-x/">Why Git is Better than X | Git or X</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-is-better-than-x/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>GIT Tutorial &#8211; Branching and Merging</title>
		<link>https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/</link>
					<comments>https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 04 Jun 2014 15:22:54 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Branching]]></category>
		<category><![CDATA[Branching and Merging in Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git Branching]]></category>
		<category><![CDATA[Git Branching and Merging]]></category>
		<category><![CDATA[Git Branching and Merging Guide]]></category>
		<category><![CDATA[Git Branching and Merging Tutorial]]></category>
		<category><![CDATA[Git Guide]]></category>
		<category><![CDATA[Git Merging]]></category>
		<category><![CDATA[Git Reference]]></category>
		<category><![CDATA[Git Tutorial]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Merging]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/06/04/git-tutorial-branching-and-merging/</guid>

					<description><![CDATA[<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/">GIT Tutorial &#8211; Branching and Merging</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-3709 alignleft" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-tutorial.png" alt="git-branching-and-merging-tutorial" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-tutorial.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-tutorial-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/">GIT Tutorial &#8211; Branching and Merging</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/git-tutorial-branching-and-merging/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>O&#8217;Reilly Webcast: Git in One Hour</title>
		<link>https://www.scmgalaxy.com/tutorials/o-reilly-webcast-git-in-one-hour/</link>
					<comments>https://www.scmgalaxy.com/tutorials/o-reilly-webcast-git-in-one-hour/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 04 Jun 2014 13:16:33 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git Guide]]></category>
		<category><![CDATA[Git in One Hour]]></category>
		<category><![CDATA[Git learning resources]]></category>
		<category><![CDATA[Git quick learning]]></category>
		<category><![CDATA[Git Reference]]></category>
		<category><![CDATA[Git Tutorial]]></category>
		<category><![CDATA[Git webcast tutorial]]></category>
		<category><![CDATA[Gutorial]]></category>
		<category><![CDATA[Online]]></category>
		<category><![CDATA[Webcast]]></category>
		<category><![CDATA[Webcast tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/06/04/o-reilly-webcast-git-in-one-hour/</guid>

					<description><![CDATA[<p>&#160; Please click this link to find video for the O&#8217;Reilly Webcast: Git in One Hour</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/o-reilly-webcast-git-in-one-hour/">O&#8217;Reilly Webcast: Git in One Hour</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-3712" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-in-one-hr.png" alt="git-in-one-hour" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-in-one-hr.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-in-one-hr-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>&nbsp;</p>
<p>Please click this link to find video for the <a href="https://www.youtube.com/watch?v=OFkgSjRnay4" target="_blank" rel="noopener"><strong>O&#8217;Reilly Webcast: Git in One Hour</strong></a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/o-reilly-webcast-git-in-one-hour/">O&#8217;Reilly Webcast: Git in One Hour</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/o-reilly-webcast-git-in-one-hour/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to Git with Scott Chacon of GitHub &#124; Git Overview</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-to-git-with-scott-chacon-of-github/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-to-git-with-scott-chacon-of-github/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 04 Jun 2014 13:09:15 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git Guide]]></category>
		<category><![CDATA[Git Intro]]></category>
		<category><![CDATA[Git Introduction]]></category>
		<category><![CDATA[Git learning resources]]></category>
		<category><![CDATA[Git Overview]]></category>
		<category><![CDATA[Git Reference]]></category>
		<category><![CDATA[Git Tutorial]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Start]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2014/06/04/introduction-to-git-with-scott-chacon-of-github/</guid>

					<description><![CDATA[<p>&#160; Please go through the link to find video for the Introduction to Git with Scott Chacon of GitHub</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-git-with-scott-chacon-of-github/">Introduction to Git with Scott Chacon of GitHub | Git Overview</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-3715" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-introduction.png" alt="git-introduction" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-introduction.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2014/06/git-introduction-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>&nbsp;</p>
<p>Please go through the link to find video for the <a href="https://www.youtube.com/watch?v=ZDR433b0HJY"><strong>Introduction to Git with Scott Chacon of GitHub</strong></a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-git-with-scott-chacon-of-github/">Introduction to Git with Scott Chacon of GitHub | Git Overview</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-to-git-with-scott-chacon-of-github/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BASH aliases for GIT &#124; Bash Git Aliases Reference</title>
		<link>https://www.scmgalaxy.com/tutorials/bash-aliases-for-git/</link>
					<comments>https://www.scmgalaxy.com/tutorials/bash-aliases-for-git/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 11 Apr 2012 00:00:00 +0000</pubDate>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Aliases]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Bash alias]]></category>
		<category><![CDATA[BASH aliases for GIT]]></category>
		<category><![CDATA[Bash Git Aliases]]></category>
		<category><![CDATA[Bash Git Aliases Reference]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[Git aliases]]></category>
		<category><![CDATA[Git Bash Aliases]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2012/04/11/bash-aliases-for-git/</guid>

					<description><![CDATA[<p>BASH aliases for GIT Following BASH aliases can be used in ~/.BASHRC alias g = &#8220;git status&#8221; alias ga = [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/bash-aliases-for-git/">BASH aliases for GIT | Bash Git Aliases Reference</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-3842 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/04/bash-aliases-for-git.png" alt="bash-aliases-for-git" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/04/bash-aliases-for-git.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2012/04/bash-aliases-for-git-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p><strong>BASH aliases for GIT</strong></p>
<p>Following BASH aliases can be used in ~/.BASHRC</p>
<p>alias g = &#8220;git status&#8221;<br />
alias ga = &#8220;git add&#8221;<br />
alias gaa = &#8220;git add .&#8221;<br />
alias gc = &#8220;git commit -m&#8221;<br />
alias gca = &#8220;git commit -am&#8221;<br />
alias gb = &#8220;git branch&#8221;<br />
alias gbd = &#8220;git branch -d&#8221;<br />
alias gco = &#8220;git checkout&#8221;<br />
alias gcob = &#8220;git checkout -b&#8221;<br />
alias gm = &#8220;git merge&#8221;<br />
alias gr = &#8220;git rebase&#8221;<br />
alias gl = &#8220;git log&#8221;<br />
alias gs = &#8220;git show&#8221;<br />
alias gd = &#8220;git diff&#8221;<br />
alias gbl = &#8220;git blame&#8221;<br />
alias gps = &#8220;git push&#8221;<br />
alias gpl = &#8220;git pull&#8221;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/bash-aliases-for-git/">BASH aliases for GIT | Bash Git Aliases Reference</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/bash-aliases-for-git/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
