|
4 | 4 | <title>StGit Guides on Stacked Git</title>
|
5 | 5 | <link>http://stacked-git.github.io/guides/</link>
|
6 | 6 | <description>Recent content in StGit Guides on Stacked Git</description>
|
7 |
| - <generator>Hugo -- gohugo.io</generator> |
8 |
| - <language>en-us</language><atom:link href="http://stacked-git.github.io/guides/index.xml" rel="self" type="application/rss+xml" /> |
| 7 | + <generator>Hugo</generator> |
| 8 | + <language>en-us</language> |
| 9 | + <atom:link href="http://stacked-git.github.io/guides/index.xml" rel="self" type="application/rss+xml" /> |
9 | 10 | <item>
|
10 | 11 | <title>Emacs stgit-mode Guide</title>
|
11 | 12 | <link>http://stacked-git.github.io/guides/emacs-stgit-mode/</link>
|
12 | 13 | <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
13 |
| - |
14 | 14 | <guid>http://stacked-git.github.io/guides/emacs-stgit-mode/</guid>
|
15 |
| - <description>StGit comes with an Emacs mode, stgit-mode, supporting Emacs versions 22 and later. |
16 |
| -To start using it, add the stgit/contrib directory to your Emacs load-path and run (require 'stgit). For example, you can add the following to your .emacs file: |
17 |
| -(add-to-list &#39;load-path &#34;/path/to/stgit/contrib&#34;) (require &#39;stgit) Start stgit-mode using M-x stgit and select the directory where the source code you want to use StGit on can be found. If StGit has not been initialized in this directory yet, you will need to run M-x stgit-init before you continue.</description> |
| 15 | + <description><p>StGit comes with an Emacs mode, <code>stgit-mode</code>, supporting Emacs versions
22 and later.</p>
<p>To start using it, add the <code>stgit/contrib</code> directory to your Emacs
load-path and run <code>(require 'stgit)</code>. For example, you can add the
following to your <code>.emacs</code> file:</p>
<pre tabindex="0"><code>(add-to-list &#39;load-path &#34;/path/to/stgit/contrib&#34;)
(require &#39;stgit)
</code></pre><p>Start <code>stgit-mode</code> using <code>M-x stgit</code> and select the directory where the
source code you want to use StGit on can be found. If StGit has not been
initialized in this directory yet, you will need to run <code>M-x stgit-init</code>
before you continue.</p></description> |
18 | 16 | </item>
|
19 |
| - |
20 | 17 | <item>
|
21 | 18 | <title>StGit Tutorial</title>
|
22 | 19 | <link>http://stacked-git.github.io/guides/tutorial/</link>
|
23 | 20 | <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
24 |
| - |
25 | 21 | <guid>http://stacked-git.github.io/guides/tutorial/</guid>
|
26 |
| - <description>StGit is a command-line application that provides functionality similar to Quilt or the Mercurial Queues extension, i.e. pushing and popping patches to/from a stack, but using Git instead of diff and patch. StGit patches are stored in a Git repository as Git commits, but can be manipulated by StGit commands in a variety of powerful ways beyond what can easily be done with regular Git commits. |
27 |
| -This tutorial assumes familiarity with the basics of Git, including commits, branches, and merge conflicts.</description> |
| 22 | + <description><p>StGit is a command-line application that provides functionality similar
to <a href="http://savannah.nongnu.org/projects/quilt">Quilt</a> or the <a href="https://www.mercurial-scm.org/wiki/MqExtension">Mercurial
Queues extension</a>, i.e.
pushing and popping patches to/from a stack, but using Git instead of
<code>diff</code> and <code>patch</code>. StGit patches are stored in a Git repository as Git
commits, but can be manipulated by StGit commands in a variety of
powerful ways beyond what can easily be done with regular Git commits.</p>
<p>This tutorial assumes familiarity with the basics of Git, including
commits, branches, and merge conflicts. For more information on Git, see
<a href="https://git-scm.com/docs/git">git(1)</a> or <a href="https://git-scm.com/">the Git home
page</a>.</p></description> |
28 | 23 | </item>
|
29 |
| - |
30 | 24 | <item>
|
31 | 25 | <title>Usage Example</title>
|
32 | 26 | <link>http://stacked-git.github.io/guides/usage-example/</link>
|
33 | 27 | <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
34 |
| - |
35 | 28 | <guid>http://stacked-git.github.io/guides/usage-example/</guid>
|
36 |
| - <description>Setup StGit is used with regular Git repositories. Here we setup a simple Git repository with two files: |
37 |
| -$ git init myrepo $ cd myrepo $ echo &#34;Hello&#34; &gt; hi.txt $ echo &#34;Goodbye&#34; &gt; bye.txt $ git add hi.txt bye.txt $ git commit -m &#34;Initial commit&#34; The stg init command is run once to enable use of StGit on a branch, in this case the master branch. |
38 |
| -$ stg init After initializing StGit, new patches may be created.</description> |
| 29 | + <description><h2 id="setup">Setup</h2>
<p>StGit is used with regular Git repositories. Here we setup a simple Git
repository with two files:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">$ git init myrepo
</span></span><span class="line"><span class="cl">$ <span class="nb">cd</span> myrepo
</span></span><span class="line"><span class="cl">$ <span class="nb">echo</span> <span class="s2">&#34;Hello&#34;</span> &gt; hi.txt
</span></span><span class="line"><span class="cl">$ <span class="nb">echo</span> <span class="s2">&#34;Goodbye&#34;</span> &gt; bye.txt
</span></span><span class="line"><span class="cl">$ git add hi.txt bye.txt
</span></span><span class="line"><span class="cl">$ git commit -m <span class="s2">&#34;Initial commit&#34;</span>
</span></span></code></pre></div><p>The <code>stg init</code> command is run once to enable use of StGit on a branch,
in this case the <code>master</code> branch.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><span class="line"><span class="cl">$ stg init
</span></span></code></pre></div><p>After initializing StGit, new patches may be created. But first, let&rsquo;s
make an edit to one of the files.</p></description> |
39 | 30 | </item>
|
40 |
| - |
41 | 31 | </channel>
|
42 | 32 | </rss>
|
0 commit comments