<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Reset on Micha Kops&#39; Tech Notes</title>
    <link>https://www.hascode.com/tags/reset/</link>
    <description>Recent content in Reset on Micha Kops&#39; Tech Notes</description>
    <generator>Hugo -- 0.147.8</generator>
    <language>en</language>
    <copyright>Copyright © 2010 - 2025 Micha Kops. #213243b1d6e8932079e09227d3f3ed0c806cd0c9</copyright>
    <lastBuildDate>Sun, 13 Jun 2021 00:00:00 +0200</lastBuildDate>
    <atom:link href="https://www.hascode.com/tags/reset/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Factory Reset for Google Pixel-C Android Tablet</title>
      <link>https://www.hascode.com/factory-reset-for-google-pixel-c-android-tablet/</link>
      <pubDate>Sun, 13 Jun 2021 00:00:00 +0200</pubDate>
      <guid>https://www.hascode.com/factory-reset-for-google-pixel-c-android-tablet/</guid>
      <description>&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_steps&#34;&gt;Steps&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;olist arabic&#34;&gt;
&lt;ol class=&#34;arabic&#34;&gt;
&lt;li&gt;
&lt;p&gt;Reboot the system by pressing &amp;#34;Power&amp;#34; and &amp;#34;Volume down&amp;#34; simultaneously&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Boot menu should appear, use &amp;#34;Volume up/down&amp;#34; to select the menu item &amp;#34;Android Recovery&amp;#34;, &amp;#34;Power&amp;#34; to confirm&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;System reboots, a screen appears with a message &amp;#34;No command&amp;#34; - this is no error though it looks like one&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Press &amp;#34;Power&amp;#34; and &amp;#34;Volume up&amp;#34; together and a menu &amp;#34;Android Recovery&amp;#34; appears&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use &amp;#34;Volume up/down&amp;#34; to select the menu item &amp;#34;Wipe data/factory reset&amp;#34;, &amp;#34;Power&amp;#34; to confirm&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;User data on the device is deleted and the original meu is shown&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the menu item &amp;#34;Reboot system now&amp;#34; and confirm by pressing the &amp;#34;Power&amp;#34; Button&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The device reboots and you may configure the Android system …​&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description>
    </item>
    <item>
      <title>Git Snippets</title>
      <link>https://www.hascode.com/git-snippets/</link>
      <pubDate>Mon, 01 Mar 2010 00:00:00 +0100</pubDate>
      <guid>https://www.hascode.com/git-snippets/</guid>
      <description>&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_show_commits_from_another_branch_not_contained_in_current_branch&#34;&gt;Show commits from another branch not contained in current branch&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;git cherry -v otherbranch
+ f7d6a569bb6912aac97fce9ac92c4302863fb0d9 thecommit&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_create_empty_commit&#34;&gt;Create empty commit&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;paragraph&#34;&gt;
&lt;p&gt;sometimes necessary for build/deploy pipelines …​&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;git commit --allow-empty -m &amp;#34;Empty-Commit&amp;#34;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_cherry_pick_without_commit&#34;&gt;Cherry pick without commit&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;git cherry-pick -n HASH&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_using_vimdiff_for_diff&#34;&gt;Using vimdiff for diff&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;title&#34;&gt;set it via git config&lt;/div&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;git config --global diff.tool vimdiff
git config --global merge.tool vimdiff&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;listingblock&#34;&gt;
&lt;div class=&#34;title&#34;&gt;set it via ~/.gitconfig&lt;/div&gt;
&lt;div class=&#34;content&#34;&gt;
&lt;pre class=&#34;highlight&#34;&gt;&lt;code&gt;[diff]
    tool = vimdiff
[merge]
    tool = vimdiff&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&#34;sect1&#34;&gt;
&lt;h2 id=&#34;_using_vscode_as_diff_and_mergetool&#34;&gt;Using vscode as diff and mergetool&lt;/h2&gt;
&lt;div class=&#34;sectionbody&#34;&gt;
&lt;div class=&#34;admonitionblock tip&#34;&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td class=&#34;icon&#34;&gt;
&lt;i class=&#34;fa icon-tip&#34; title=&#34;Tip&#34;&gt;&lt;/i&gt;
&lt;/td&gt;
&lt;td class=&#34;content&#34;&gt;
You need to have the shell integration installed (code binary in PATH)
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
