Skip to content

Commit

Permalink
garden v1.0.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
davvid committed Dec 4, 2023
1 parent 5c5d0a3 commit 166d3a8
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ <h2 id="v100"><a class="header" href="#v100">v1.0.0</a></h2>
<p><strong>Features</strong></p>
<ul>
<li>
<p>The default <code>origin</code> remote name can now be configured using <code>tree.&lt;tree&gt;.default-remote</code>.
(<a href="https://gitlab.com/garden-rs/garden/-/issues/16">#16</a>)</p>
</li>
<li>
<p>Commands now display the tree's current branch alongside the tree name.
(<a href="https://github.com/davvid/garden/issues/18">#18</a>)</p>
</li>
Expand Down
17 changes: 17 additions & 0 deletions configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,23 @@ <h3 id="remotes"><a class="header" href="#remotes">Remotes</a></h3>
<p>Likewise, you can always rerun <code>garden plant</code> to record new remotes that
you may have added using the <code>git remote add</code>
<a href="https://git-scm.com/docs/git-remote">command-line interface</a>.</p>
<h3 id="default-remote-name"><a class="header" href="#default-remote-name">Default Remote Name</a></h3>
<p>The default <code>origin</code> remote name used by Git can be overridden by setting the
<code>default-remote</code> field in the tree's configuration.</p>
<pre><code class="language-yaml">trees:
git:
url: git://git.kernel.org/pub/scm/git/git.git
default-remote: kernel.org
</code></pre>
<p>This will create a remote called <code>kernel.org</code> instead or <code>origin</code> when growing trees.
This feature can also be used when multiple named remotes are configured.</p>
<pre><code class="language-yaml">trees:
git:
default-remote: kernel.org
remotes:
kernel.org: git://git.kernel.org/pub/scm/git/git.git
gitster: https://github.com/gitster/git.git
</code></pre>
<h2 id="templates"><a class="header" href="#templates">Templates</a></h2>
<p>Templates allow sharing of command, variable, gitconfig, and environment
definitions across trees. Adding an entry to the <code>templates</code> configuration block
Expand Down
21 changes: 21 additions & 0 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,23 @@ <h3 id="remotes"><a class="header" href="#remotes">Remotes</a></h3>
<p>Likewise, you can always rerun <code>garden plant</code> to record new remotes that
you may have added using the <code>git remote add</code>
<a href="https://git-scm.com/docs/git-remote">command-line interface</a>.</p>
<h3 id="default-remote-name"><a class="header" href="#default-remote-name">Default Remote Name</a></h3>
<p>The default <code>origin</code> remote name used by Git can be overridden by setting the
<code>default-remote</code> field in the tree's configuration.</p>
<pre><code class="language-yaml">trees:
git:
url: git://git.kernel.org/pub/scm/git/git.git
default-remote: kernel.org
</code></pre>
<p>This will create a remote called <code>kernel.org</code> instead or <code>origin</code> when growing trees.
This feature can also be used when multiple named remotes are configured.</p>
<pre><code class="language-yaml">trees:
git:
default-remote: kernel.org
remotes:
kernel.org: git://git.kernel.org/pub/scm/git/git.git
gitster: https://github.com/gitster/git.git
</code></pre>
<h2 id="templates"><a class="header" href="#templates">Templates</a></h2>
<p>Templates allow sharing of command, variable, gitconfig, and environment
definitions across trees. Adding an entry to the <code>templates</code> configuration block
Expand Down Expand Up @@ -1788,6 +1805,10 @@ <h2 id="v100"><a class="header" href="#v100">v1.0.0</a></h2>
<p><strong>Features</strong></p>
<ul>
<li>
<p>The default <code>origin</code> remote name can now be configured using <code>tree.&lt;tree&gt;.default-remote</code>.
(<a href="https://gitlab.com/garden-rs/garden/-/issues/16">#16</a>)</p>
</li>
<li>
<p>Commands now display the tree's current branch alongside the tree name.
(<a href="https://github.com/davvid/garden/issues/18">#18</a>)</p>
</li>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 166d3a8

Please sign in to comment.