<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How to Manage /etc with Version Control Using Etckeeper on Linux	</title>
	<atom:link href="https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Tue, 28 Nov 2023 04:04:39 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/comment-page-1/#comment-2108236</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Tue, 28 Nov 2023 04:04:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33889#comment-2108236</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/comment-page-1/#comment-2108059&quot;&gt;zpg&lt;/a&gt;.

@Zpg,

If you want to remove all of the daily commits from a Git repository, you can use the following command, which will remove the last &lt;strong&gt;5&lt;/strong&gt; commits.
&lt;pre&gt;
git rebase -i HEAD~5
&lt;/pre&gt;

After removing commits, you&#039;ll need to force push the changes to the remote repository.
&lt;pre&gt;
git push origin &lt;branch-name&gt; --force
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/comment-page-1/#comment-2108059">zpg</a>.</p>
<p>@Zpg,</p>
<p>If you want to remove all of the daily commits from a Git repository, you can use the following command, which will remove the last <strong>5</strong> commits.</p>
<pre>
git rebase -i HEAD~5
</pre>
<p>After removing commits, you&#8217;ll need to force push the changes to the remote repository.</p>
<pre>
git push origin <branch-name> --force
</branch-name></pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: zpg		</title>
		<link>https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/comment-page-1/#comment-2108059</link>

		<dc:creator><![CDATA[zpg]]></dc:creator>
		<pubDate>Mon, 27 Nov 2023 18:56:27 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33889#comment-2108059</guid>

					<description><![CDATA[Is there a simple way to remove all of just daily commits? If not, how do I start from scratch again?]]></description>
			<content:encoded><![CDATA[<p>Is there a simple way to remove all of just daily commits? If not, how do I start from scratch again?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rogelio AlvHer		</title>
		<link>https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/comment-page-1/#comment-1517289</link>

		<dc:creator><![CDATA[Rogelio AlvHer]]></dc:creator>
		<pubDate>Mon, 07 Jun 2021 20:57:33 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=33889#comment-1517289</guid>

					<description><![CDATA[It is very usefull, although i do not understand.
&lt;pre&gt;
$ sudo etckeeper vcs status 
&lt;/pre&gt;
It show me which files changed:
&lt;ul&gt;
&lt;li&gt;modified: hosts&lt;/li&gt;
&lt;li&gt;modified: nginx/vhosts.d/phpmyadmin.conf&lt;/li&gt;
&lt;/ul&gt;
Ok, thats correct, next if I do agree commit changes
&lt;pre&gt;
$ sudo etckeeper commit &quot;changed hosts and phpmyadmin config files&quot;
&lt;/pre&gt;
changed hosts? that is the syntax, PHPMyAdmin config files? your example shows other commands: no changes added to commit (use &quot;&lt;strong&gt;git add&lt;/strong&gt;&quot; and/or &quot;&lt;strong&gt;git commit -a&quot;&lt;/strong&gt; ) 

So, which are command corrects? 

Thanks in advanced 
Rogelio]]></description>
			<content:encoded><![CDATA[<p>It is very usefull, although i do not understand.</p>
<pre>
$ sudo etckeeper vcs status 
</pre>
<p>It show me which files changed:</p>
<ul>
<li>modified: hosts</li>
<li>modified: nginx/vhosts.d/phpmyadmin.conf</li>
</ul>
<p>Ok, thats correct, next if I do agree commit changes</p>
<pre>
$ sudo etckeeper commit "changed hosts and phpmyadmin config files"
</pre>
<p>changed hosts? that is the syntax, PHPMyAdmin config files? your example shows other commands: no changes added to commit (use &#8220;<strong>git add</strong>&#8221; and/or &#8220;<strong>git commit -a&#8221;</strong> ) </p>
<p>So, which are command corrects? </p>
<p>Thanks in advanced<br />
Rogelio</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
