{"title":"~\/notes","subtitle":"Thoughts on technology, life, and everything in between.","link":[{"@attributes":{"rel":"self","type":"application\/atom+xml","href":"https:\/\/rinx.fyi\/atom.xml"}},{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/rinx.fyi"}}],"generator":"Zola","updated":"2026-10-09T00:00:00+00:00","id":"https:\/\/rinx.fyi\/atom.xml","entry":[{"title":"How I Keep Private Changes Clean in a Jujutsu Megamerge Workflow","published":"2026-10-09T00:00:00+00:00","updated":"2026-10-09T00:00:00+00:00","author":{"name":"\n            \n              rinx\n            \n          "},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/rinx.fyi\/posts\/20261009-how-i-keep-private-changes-clean-in-a-jujutsu-megamerge-workflow-en\/"}},"id":"https:\/\/rinx.fyi\/posts\/20261009-how-i-keep-private-changes-clean-in-a-jujutsu-megamerge-workflow-en\/","content":"<p>\u65e5\u672c\u8a9e\u7248\u8a18\u4e8b\u306f<a href=\"https:\/\/rinx.fyi\/posts\/20261006-jujutsu-megamerge-and-private-changes\/\">\u3053\u3061\u3089<\/a><\/p>\n<h2 id=\"introduction\">Introduction<\/h2>\n<p>Recently, I briefly introduced the Jujutsu Megamerge Workflow.\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:1\">1<\/a><\/sup><\/p>\n<p>In this post, I will share examples of how I handle private changes using the Megamerge Workflow.\nThe intended readers are those who have a general understanding of the Megamerge Workflow but cannot quite imagine the specific situations where it becomes useful.\nIf you want to learn more about the Megamerge Workflow, please refer to the following articles.<\/p>\n<ul>\n<li><a rel=\"external\" href=\"https:\/\/isaaccorbrey.com\/notes\/jujutsu-megamerges-for-fun-and-profit\">Jujutsu megamerges for fun and profit - Isaac Corbrey<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/v5.chriskrycho.com\/journal\/jujutsu-megamerges-and-jj-absorb\/\">Jujutsu Megamerges and jj absorb - Sym\u00b7poly\u00b7mathesy<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/steveklabnik.github.io\/jujutsu-tutorial\/advanced\/simultaneous-edits.html\">Working on all of your branches simultaneously - Steve's Jujutsu Tutorial<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/arialdo.codeberg.page\/ju-ju-tsu\/tutorial\/moving\/absorbing.html\">Dispatching Edits from Megamerges - Ju! Ju! Tsu!<\/a><\/li>\n<\/ul>\n<p>By using Megamerge Workflow, you can keep \"messy commits in progress\" or \"local-only changes\" while pushing only cleaned-up, organized changes to the remote.\nWhile this requires complex state management in Git, Jujutsu allows you to eliminate it entirely.<\/p>\n<h2 id=\"megamerge-workflow-and-private-changes\">Megamerge Workflow and Private Changes<\/h2>\n<p>As mentioned in the previous article\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:1\">1<\/a><\/sup>, I often commit changes to the repository as \"private changes\" when I want them reflected in the working copy but not on the remote (or don't need them to be).<\/p>\n<p>Specifically, these include Nix Flake-related files (<code>flake.nix<\/code>, <code>flake.lock<\/code>) and repository-local dictionary files for <a rel=\"external\" href=\"https:\/\/github.com\/automattic\/harper\">Harper<\/a> (<code>.harper-dictionary<\/code>).\nRegarding <code>flake.nix<\/code> and <code>flake.lock<\/code>, there is a constraint on the Nix side where evaluation is not possible unless the files are in a state tracked by Git.\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:2\">2<\/a><\/sup>\nI often use Nix devShells to prepare the tools necessary for development.\nHowever, since other team members do not use Nix, the communication cost of introducing files that only I use into the team repository requiring them to be reviewed is too high.\nTherefore, I would prefer to commit these as \"private changes\" confined to my local environment.<\/p>\n<p>If using only Git, such changes would need to be stashed using <code>git stash<\/code> before pushing.\nWith the Megamerge Workflow, you can keep all changes in the working copy and only carve out the parts you want to push to the remote.<\/p>\n<p>In the Megamerge Workflow, the working copy contains all of the following:<\/p>\n<ul>\n<li>A series of changes being stacked to be pushed to the remote<\/li>\n<li>Private changes (commits) for <code>flake.nix<\/code> and <code>flake.lock<\/code><\/li>\n<li>Private changes (commits) for <code>.harper-dictionary<\/code><\/li>\n<li>etc.<\/li>\n<\/ul>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_mega.png\" alt=\"\" \/>\n  \n<\/figure>\n<p>This way, <code>flake.nix<\/code> and <code>flake.lock<\/code> are always tracked by Git (Jujutsu), while being managed only in my local environment without being pushed to the remote. They are truly \"private changes.\"<\/p>\n<p>When I want to reflect changes on the remote, I create a bookmark for the relevant changes as follows:<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_create_bookmark_for_app_impl.png\" alt=\"\" \/>\n  \n<\/figure>\n<p>Then, I simply push it using <code>jj git push --bookmark &lt;bookmark&gt;<\/code>.\nIn this way, by creating changes intended for the remote on a branch separate from private changes, I can manage them so that private changes are not pushed.\nHowever, there is still a risk that private changes could be pushed to the remote due to operational error.<\/p>\n<h2 id=\"jj-configurations\">jj configurations<\/h2>\n<p>To prevent pushing private changes to the remote, <code>git.private-commits<\/code>\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:3\">3<\/a><\/sup> is useful.\nThis option takes a revset. Any changes matching this revset will be blocked from being pushed.<\/p>\n<h3 id=\"revset-aliases\">revset-aliases<\/h3>\n<p>To identify changes that should not be pushed to the remote, I use revset aliases.<\/p>\n<p>I manage the types of changes based on prefixes in the description (commit message) such as \"private:\", \"wip:\", \"todo:\", \"mega\", etc.\nHere, I treat changes whose description starts with \"private\" as private changes. To support this rule, I create a revset alias as follows:<\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>revset-aliases<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;private()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;private*&quot;)&#39;<\/span><\/span><\/code><\/pre>\n<p>Evaluating <code>private()<\/code> lists only the changes with descriptions starting with \"private\", as intended.<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_private_changes.png\" alt=\"\" \/>\n  \n<\/figure>\n<p>In addition to private changes (<code>private<\/code>), I also define <code>wip<\/code> (work in progress), <code>todo<\/code> (incomplete), and <code>mega<\/code> (formal changes for Megamerge) as revset aliases.<\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>revset-aliases<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;wip()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;wip*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;todo()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;todo*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;private()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;private*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;mega()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;mega*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;local()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;wip() | todo() | private() | mega()&#39;<\/span><\/span><\/code><\/pre>\n<p>I also define a <code>local()<\/code> revset alias to handle all of these together.<\/p>\n<p>Using this revset alias in <code>git.private-commits<\/code>, it prevents the pushing of changes that match <code>local()<\/code> and their descendants.<\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>git<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>private-commits<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;local()&#39;<\/span><\/span><\/code><\/pre>\n<p>While <code>git.private-commits<\/code> is a robust way to prevent accidental pushes, it only handles the \"what not to push\" part. Sometimes, you want to perform additional checks\u2014such as running a linter or a test suite\u2014immediately before the push happens.<\/p>\n<p>This is where a custom <code>jj push<\/code> alias becomes useful. Before I discovered the <code>git.private-commits<\/code> option, I relied entirely on this alias as my primary guardrail. Even now, I continue to use it to integrate tools like pre-commit into my workflow.<\/p>\n<h2 id=\"jj-push-alias\">jj push alias<\/h2>\n<p>In the Jujutsu configuration file, you can set aliases\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:4\">4<\/a><\/sup>. You can assign <code>jj<\/code> subcommands and arguments to any alias.\nAdditionally, using the <code>jj util exec<\/code> subcommand\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:5\">5<\/a><\/sup>, you can execute arbitrary external commands via <code>jj<\/code>.\nBy combining these, I created a <code>jj push<\/code> alias for pushing to the remote.<\/p>\n<p>The functionality of <code>jj push<\/code> is as follows:<\/p>\n<ul>\n<li>Verify that changes that should not be pushed to the remote are not included in the push target<\/li>\n<li>Run <code>pre-commit<\/code> before pushing<\/li>\n<li>Execute <code>jj git push<\/code> to push changes to the remote<\/li>\n<\/ul>\n<p>One minor drawback of Jujutsu is that it doesn't natively support Git hooks, such as <a rel=\"external\" href=\"https:\/\/pre-commit.com\/\">pre-commit<\/a>.\nTherefore, I have configured <code>pre-commit<\/code> to run within the <code>jj push<\/code> alias.<\/p>\n<p>Essentially, it's no longer a \"Pre commit\" but rather a \"Pre push\" check.\nI've set it up so that if the <code>pre-commit<\/code> command fails, the push is stopped; otherwise, the push proceeds.<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_pre_commit.png\" alt=\"\" \/>\n  \n<\/figure>\n<h3 id=\"jj-push-alias-example\">jj push Alias Example<\/h3>\n<p>Based on the above, I have configured the <code>jj push<\/code> alias as follows:<\/p>\n<p><a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/d1033370a8cb2142a2c506d3131da5cb28633f6d\/jjconfig.toml#L45-L81\">https:\/\/github.com\/rinx\/dotfiles\/blob\/d1033370a8cb2142a2c506d3131da5cb28633f6d\/jjconfig.toml#L45-L81<\/a><\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>aliases<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>push<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #9399B2;\"> [<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;util&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;exec&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;--&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;bash&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;-c&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;&#39;&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## Run check if pre-commit is available<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">if type pre-commit &gt;\/dev\/null 2&gt;&amp;1; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    echo &quot;==&gt; Running pre-commit before push...&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    pre-commit run --all-files<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    if [ $? -ne 0 ]; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">        echo &quot;\u274c pre-commit failed. Aborting push.&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">        exit 1<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    fi<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">else<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    echo &quot;\u26a0\ufe0f  pre-commit not found. Skipping checks.&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">fi<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## Extract the target Revset from command line arguments. Use default `::@` if not specified<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">echo &quot;==&gt; Checking for forbidden markers in pushable commits...&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">targets=$(echo &quot;$@&quot; | grep -oP &#39;(?&lt;=(-b|--bookmark|-c|--change|-r|--revision)\\s)[^ ]+&#39;)<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">if [ -z &quot;$targets&quot; ]; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  target_revset=&quot;::@&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">else<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  target_revset=&quot;::(${targets\/\/$&#39;\\n&#39;\/|})&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">fi<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## Verify that no unintended changes are included in the push target<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">if [ -n &quot;$(jj log -r &quot;$target_revset &amp; mutable() &amp; local()&quot; --no-graph --ignore-working-copy -T &#39;commit_id&#39;)&quot; ]; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    echo &quot;\u274c Commits to be pushed contain wip\/todo\/private\/mega markers. Aborting push.&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    exit 1<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">fi<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## Execute push to remote<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">echo &quot;==&gt; Pushing changes to remote...&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">echo &quot;==&gt; jj git push $@&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">jj git push $@<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">&#39;&#39;&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #9399B2;\">]<\/span><\/span><\/code><\/pre>\n<p>By preparing simple guardrails as aliases, you can use Jujutsu with more peace of mind.\nI encourage you to build the optimal workflow and aliases that suit your own usage.<\/p>\n<hr \/>\n<p>This article was translated with AI assistance and reviewed by the author.<\/p>\n<div class=\"footnote-definition\" id=\"fn:1\"><sup class=\"footnote-definition-label\">1<\/sup>\n<p><a href=\"https:\/\/rinx.fyi\/posts\/20260922-jujutsu-workflow\/\">Jujutsu \u3092\u7528\u3044\u305f\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc: Squash Workflow \u3068 Megamerge Workflow<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:2\"><sup class=\"footnote-definition-label\">2<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/zenn.dev\/asa1984\/books\/nix-hands-on\/viewer\/ch01-03-flakes#git%E3%81%A8flake\">Git\u3068Flake - Nix\u5165\u9580: \u30cf\u30f3\u30ba\u30aa\u30f3\u7de8<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:3\"><sup class=\"footnote-definition-label\">3<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/docs.jj-vcs.dev\/latest\/config\/#set-of-private-commits\">Set of private commits - Jujutsu docs<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:4\"><sup class=\"footnote-definition-label\">4<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/docs.jj-vcs.dev\/latest\/config\/#aliases\">Aliases - Jujutsu docs<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:5\"><sup class=\"footnote-definition-label\">5<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/docs.jj-vcs.dev\/latest\/cli-reference\/#jj-util-exec\">jj util exec<\/a><\/p>\n<\/div>\n"},{"title":"Jujutsu Megamerge \u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u3092\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b","published":"2026-10-06T00:00:00+00:00","updated":"2026-10-06T00:00:00+00:00","author":{"name":"\n            \n              rinx\n            \n          "},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/rinx.fyi\/posts\/20261006-jujutsu-megamerge-and-private-changes\/"}},"id":"https:\/\/rinx.fyi\/posts\/20261006-jujutsu-megamerge-and-private-changes\/","content":"<p><a href=\"https:\/\/rinx.fyi\/posts\/20261009-how-i-keep-private-changes-clean-in-a-jujutsu-megamerge-workflow-en\/\">English translation<\/a> is available.<\/p>\n<h2 id=\"\u306f\u3058\u3081\u306b\">\u306f\u3058\u3081\u306b<\/h2>\n<p>\u5148\u65e5\u306f Jujutsu \u306e Megamerge Workflow \u3092\u7c21\u5358\u306b\u7d39\u4ecb\u3057\u305f\u3002\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:1\">1<\/a><\/sup><\/p>\n<p>\u305d\u3053\u3067\u306f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u3092\u7ba1\u7406\u3059\u308b\u4f8b\u3092\u53d6\u308a\u4e0a\u3052\u305f\u304c\u3001\u4eca\u56de\u306f\u305d\u308c\u3092\u3069\u306e\u3088\u3046\u306b Megamerge Workflow \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u3044\u308b\u304b\u306e\u5177\u4f53\u4f8b\u3092\u7d39\u4ecb\u3057\u305f\u3044\u3002\nMegamerge Workflow \u304c\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u304b\u306f\u3042\u308b\u7a0b\u5ea6\u7406\u89e3\u3057\u3066\u3044\u308b\u304c\u3001\u3069\u306e\u3088\u3046\u306a\u30b7\u30c1\u30e5\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u4fbf\u5229\u306a\u306e\u304b\u304c\u30a4\u30e1\u30fc\u30b8\u3067\u304d\u3066\u3044\u306a\u3044\u4eba\u304c\u60f3\u5b9a\u8aad\u8005\u3060\u3002\nMegamerge Workflow \u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u307e\u305a <a href=\"https:\/\/rinx.fyi\/posts\/20260922-jujutsu-workflow\/\">Jujutsu \u3092\u7528\u3044\u305f\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc: Squash Workflow \u3068 Megamerge Workflow<\/a><sup class=\"footnote-reference\"><a href=\"#fn:1\">1<\/a><\/sup> \u3084\u8a18\u4e8b\u4e2d\u306e\u30ea\u30f3\u30af\u5148\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u305f\u3060\u304d\u305f\u3044\u3002<\/p>\n<p>Megamerge Workflow \u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u300c\u4f5c\u696d\u4e2d\u306e\u6c5a\u3044\u30b3\u30df\u30c3\u30c8\u300d\u3084\u300c\u30ed\u30fc\u30ab\u30eb\u5c02\u7528\u306e\u5909\u66f4\u300d\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u3001\u30ea\u30e2\u30fc\u30c8\u306b\u306f\u6574\u7406\u3055\u308c\u305f\u30ad\u30ec\u30a4\u306a\u5909\u66f4\u3060\u3051\u3092\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002\nGit \u3067\u306f\u8907\u96d1\u306a\u72b6\u614b\u7ba1\u7406\u304c\u5fc5\u8981\u306b\u306a\u308b\u4e00\u65b9\u3001 Jujutsu \u3092\u7528\u3044\u308c\u3070\u3053\u306e\u7169\u96d1\u3055\u3092\u4e00\u6c17\u306b\u306a\u304f\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<h2 id=\"megamerge-workflow-\u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\">Megamerge Workflow \u3068\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4<\/h2>\n<p>\u5148\u65e5\u306e\u8a18\u4e8b\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:1\">1<\/a><\/sup> \u3067\u3082\u89e6\u308c\u305f\u3088\u3046\u306b\u3001\u79c1\u306f\u3088\u304f\u300c\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306b\u306f\u53cd\u6620\u3057\u3066\u304a\u304d\u305f\u3044\u304c\u3001\u30ea\u30e2\u30fc\u30c8\u306b\u306f\u53cd\u6620\u3057\u305f\u304f\u306a\u3044(\u3057\u306a\u304f\u3066\u3082\u3044\u3044)\u5909\u66f4\u300d\u3092\u300c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u300d\u3068\u3057\u3066\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306b\u306f Nix \u306e Flake \u95a2\u9023\u30d5\u30a1\u30a4\u30eb (<code>flake.nix<\/code>, <code>flake.lock<\/code>) \u3084 <a rel=\"external\" href=\"https:\/\/github.com\/automattic\/harper\">Harper<\/a> \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30ed\u30fc\u30ab\u30eb\u306a\u8f9e\u66f8\u30d5\u30a1\u30a4\u30eb (<code>.harper-dictionary<\/code>) \u3060\u3002\n\u7279\u306b <code>flake.nix<\/code>, <code>flake.lock<\/code> \u306b\u95a2\u3057\u3066\u306f Git \u3067\u8ffd\u8de1\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067\u306a\u3044\u3068\u8a55\u4fa1\u304c\u3067\u304d\u306a\u3044\u3068\u3044\u3046 Nix \u5074\u306e\u5236\u7d04\u304c\u3042\u308b\u3002\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:2\">2<\/a><\/sup>\n\u79c1\u306f\u958b\u767a\u306b\u5fc5\u8981\u306a\u30c4\u30fc\u30eb\u3092 Nix \u306e devShell \u3067\u7528\u610f\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3002\n\u4e00\u65b9\u3001\u4ed6\u306e\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u306f Nix \u3092\u5229\u7528\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u81ea\u5206\u3057\u304b\u5229\u7528\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u308f\u3056\u308f\u3056\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u3082\u3089\u3063\u3066\u307e\u3067\u30c1\u30fc\u30e0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5c0e\u5165\u3059\u308b\u306e\u306f\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30b9\u30c8\u304c\u9ad8\u3059\u304e\u308b\u3002\n\u305d\u306e\u305f\u3081\u3001\u3053\u308c\u3089\u3092\u300c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u300d\u3068\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u9589\u3058\u3066\u30b3\u30df\u30c3\u30c8\u3057\u3066\u304a\u3051\u308b\u3068\u3046\u308c\u3057\u3044\u3002<\/p>\n<p>Git \u306e\u307f\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u3053\u306e\u3088\u3046\u306a\u5909\u66f4\u306f\u30d7\u30c3\u30b7\u30e5\u524d\u306b <code>git stash<\/code> \u3067\u9000\u907f\u3055\u305b\u308b\u306a\u3069\u306e\u5fc5\u8981\u304c\u3042\u308b\u3002\nMegamerge Workflow \u3092\u7528\u3044\u308c\u3070\u3001\u3059\u3079\u3066\u306e\u5909\u66f4\u3092\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u4e0a\u306b\u6b8b\u3057\u305f\u307e\u307e\u3001\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u3044\u90e8\u5206\u3060\u3051\u3092\u5207\u308a\u51fa\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u3078\u30d7\u30c3\u30b7\u30e5\u3067\u304d\u308b\u3002<\/p>\n<p>Megamerge Workflow \u3067\u306f\u3001\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306f\u6b21\u306e\u3088\u3046\u306a\u5909\u66f4\u304c\u3059\u3079\u3066\u542b\u307e\u308c\u305f\u72b6\u614b\u3068\u306a\u308b\u3002<\/p>\n<ul>\n<li>\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u5909\u66f4\u3092\u7a4d\u3093\u3067\u3044\u304f\u305f\u3081\u306e\u5909\u66f4\u7fa4<\/li>\n<li><code>flake.nix<\/code>, <code>flake.lock<\/code> \u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4(\u30b3\u30df\u30c3\u30c8)<\/li>\n<li><code>.harper-dictionary<\/code> \u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4(\u30b3\u30df\u30c3\u30c8)<\/li>\n<li>etc..<\/li>\n<\/ul>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_mega.png\" alt=\"\" \/>\n  \n<\/figure>\n<p>\u3053\u308c\u306a\u3089 <code>flake.nix<\/code>, <code>flake.lock<\/code> \u306f\u5e38\u306b Git (Jujutsu) \u3067\u8ffd\u8de1\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3068\u306a\u308b\u3057\u3001\u4e00\u65b9\u3067\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u305b\u305a\u306b\u81ea\u5206\u306e\u624b\u5143\u306e\u74b0\u5883\u3060\u3051\u3067\u7ba1\u7406\u3057\u3066\u304a\u3051\u308b\u3002\u307e\u3055\u306b\u300c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u300d\u3068\u8a00\u3048\u308b\u3002<\/p>\n<p>\u5909\u66f4\u3092\u30ea\u30e2\u30fc\u30c8\u306b\u53cd\u6620\u3057\u305f\u3044\u3068\u304d\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u3057\u3066\u8a72\u5f53\u3059\u308b\u5909\u66f4\u306b bookmark \u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_create_bookmark_for_app_impl.png\" alt=\"\" \/>\n  \n<\/figure>\n<p>\u3042\u3068\u306f\u3053\u308c\u3092 <code>jj git push --bookmark &lt;bookmark&gt;<\/code> \u3067\u30d7\u30c3\u30b7\u30e5\u3059\u308c\u3070\u826f\u3044\u3002\n\u3053\u306e\u3088\u3046\u306b\u3001\u30ea\u30e2\u30fc\u30c8\u306b\u53cd\u6620\u3057\u305f\u3044\u5909\u66f4\u306f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u3068\u306f\u5225\u306e\u30d6\u30e9\u30f3\u30c1\u4e0a\u306b\u4f5c\u6210\u3057\u3066\u3044\u304f\u3053\u3068\u3067\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u304c\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u7ba1\u7406\u3059\u308b\u3002\n\u3057\u304b\u3057\u3001\u3053\u308c\u3060\u3051\u3067\u306f\u64cd\u4f5c\u3092\u8aa4\u3063\u3066\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u3092\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u4f9d\u7136\u6b8b\u308b\u3002<\/p>\n<h2 id=\"jj-push-\u30a8\u30a4\u30ea\u30a2\u30b9\">jj push \u30a8\u30a4\u30ea\u30a2\u30b9<\/h2>\n<p>Jujutsu \u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u30a8\u30a4\u30ea\u30a2\u30b9\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:3\">3<\/a><\/sup> \u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3002\u4efb\u610f\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u306b <code>jj<\/code> \u306e\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u3068\u5f15\u6570\u3092\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u3002\n\u307e\u305f\u3001 <code>jj util exec<\/code> \u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:4\">4<\/a><\/sup> \u3092\u7528\u3044\u308b\u3068\u4efb\u610f\u306e\u5916\u90e8\u30b3\u30de\u30f3\u30c9\u3092 <code>jj<\/code> \u7d4c\u7531\u3067\u5b9f\u884c\u3067\u304d\u308b\u3002\n\u3053\u308c\u3089\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001 \u30ea\u30e2\u30fc\u30c8\u3078\u306e\u30d7\u30c3\u30b7\u30e5\u7528\u306b <code>jj push<\/code> \u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<p><code>jj push<\/code> \u306e\u6a5f\u80fd\u306f\u6b21\u306e\u3068\u304a\u308a\u3002<\/p>\n<ul>\n<li>\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u304f\u306a\u3044\u5909\u66f4\u304c\u30d7\u30c3\u30b7\u30e5\u5bfe\u8c61\u306b\u542b\u307e\u308c\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<li><code>jj git push<\/code> \u3092\u5b9f\u884c\u3057\u3066\u5909\u66f4\u3092\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5<\/li>\n<\/ul>\n<p><code>jj git push<\/code> \u306e\u4ee3\u308f\u308a\u306b <code>jj push<\/code> \u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u5229\u7528\u3059\u308b\u3088\u3046\u306b\u3059\u308c\u3070\u3001\u64cd\u4f5c\u3092\u8aa4\u3063\u305f\u3068\u3057\u3066\u3082\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u3092\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3059\u308b\u3053\u3068\u304c\u306a\u3044\u3088\u3046\u306b\u3067\u304d\u308b\u3002\n\u8aa4\u3063\u3066 Megamerge \u306e\u30de\u30fc\u30b8\u30b3\u30df\u30c3\u30c8\u3092\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u30a8\u30e9\u30fc\u3067\u5f3e\u304b\u308c\u308b\u3002<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_aborting_push.png\" alt=\"\" \/>\n  \n<\/figure>\n<h3 id=\"revset-aliases\">revset-aliases<\/h3>\n<p>\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u305f\u304f\u306a\u3044\u5909\u66f4\u3092\u8b58\u5225\u3059\u308b\u305f\u3081\u3001 revset aliases \u3092\u5229\u7528\u3059\u308b\u3002<\/p>\n<p>\u79c1\u306f\u3001\u5909\u66f4\u306e Description (\u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8) \u306e\u63a5\u982d\u8f9e (\"private:\", \"wip:\", \"todo:\", \"mega\" \u306a\u3069) \u306b\u3088\u308a\u5909\u66f4\u306e\u7a2e\u985e\u3092\u7ba1\u7406\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002\n\u3053\u3053\u3067\u3082\u3001\u5909\u66f4\u306e Description \u304c \"private\" \u304b\u3089\u306f\u3058\u307e\u308b\u3082\u306e\u3092\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u3068\u3057\u3066\u6271\u3046\u3053\u3068\u306b\u3059\u308b\u3002\u3053\u306e\u30eb\u30fc\u30eb\u306b\u5bfe\u5fdc\u3059\u308b\u3088\u3046\u306b\u3001\u6b21\u306e\u3068\u304a\u308a\u306b revset alias \u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>revset-aliases<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;private()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;private*&quot;)&#39;<\/span><\/span><\/code><\/pre>\n<p><code>private()<\/code> \u3092\u53c2\u7167\u3059\u308b\u3068\u3001\u610f\u56f3\u3057\u305f\u3068\u304a\u308a \"private\" \u304b\u3089\u306f\u3058\u307e\u308b Description \u3092\u6301\u3064\u5909\u66f4\u306e\u307f\u304c\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u308b\u3002<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_private_changes.png\" alt=\"\" \/>\n  \n<\/figure>\n<p>\u3053\u3053\u3067\u306f\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4 (<code>private<\/code>) \u4ee5\u5916\u306b\u3082 <code>wip<\/code> (\u4f5c\u696d\u4e2d), <code>todo<\/code> (\u672a\u5b8c\u4e86), <code>mega<\/code> (Megamerge \u7528\u306e\u5f62\u5f0f\u7684\u306a\u5909\u66f4) \u3082 revset aliases \u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>revset-aliases<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;wip()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;wip*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;todo()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;todo*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;private()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;private*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;mega()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;description(glob:&quot;mega*&quot;)&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span>&#39;local()&#39;<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;wip() | todo() | private() | mega()&#39;<\/span><\/span><\/code><\/pre>\n<p>\u3053\u308c\u3089\u306b\u3042\u3066\u306f\u307e\u308b\u3082\u306e\u3092\u307e\u3068\u3081\u3066\u6271\u3048\u308b\u3088\u3046\u306b <code>local()<\/code> \u3068\u3044\u3046 revset alias \u3082\u5b9a\u7fa9\u3057\u3066\u304a\u304f\u3002<\/p>\n<p><code>jj log -r \"$target_revset &amp; mutable() &amp; local()\"<\/code> \u306e\u3088\u3046\u306b\u30d7\u30c3\u30b7\u30e5\u5bfe\u8c61\u306e revset \u3068\u7d44\u307f\u5408\u308f\u305b\u3066 <code>jj log<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u300c\u30d7\u30c3\u30b7\u30e5\u5bfe\u8c61\u300d\u304b\u3064\u300c\u672a\u30d7\u30c3\u30b7\u30e5\u306e\u5909\u66f4 (<code>mutable()<\/code>)\u300d (\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u6e08\u307f\u306e\u5909\u66f4\u306f\u30c1\u30a7\u30c3\u30af\u5bfe\u8c61\u5916\u3068\u3059\u308b) \u304b\u3064\u300c <code>local()<\/code> \u306b\u8a72\u5f53\u300d\u3059\u308b\u5909\u66f4\u306e\u307f\u3092\u62bd\u51fa\u3067\u304d\u308b\u3002\n\u3053\u306e\u5b9f\u884c\u7d50\u679c\u304c\u7a7a\u3067\u3042\u308c\u3070 <code>local()<\/code> \u306b\u8a72\u5f53\u3059\u308b\u5909\u66f4\u304c\u30d7\u30c3\u30b7\u30e5\u5bfe\u8c61\u306b\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3068\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n<h3 id=\"pre-commit\">pre-commit<\/h3>\n<p>Jujutsu \u3092\u5229\u7528\u3059\u308b\u4e0a\u3067\u5c11\u3057\u56f0\u308b\u306e\u304c\u3001 <a rel=\"external\" href=\"https:\/\/pre-commit.com\/\">pre-commit<\/a> \u3092\u306f\u3058\u3081\u3068\u3057\u305f Git hooks \u3092\u3046\u307e\u304f\u6271\u3048\u306a\u3044\u3053\u3068\u3060\u3002\n\u305d\u3053\u3067\u79c1\u306f\u3001 <code>jj push<\/code> \u30a8\u30a4\u30ea\u30a2\u30b9\u306e\u4e2d\u3067 <code>pre-commit<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3082\u3064\u3044\u3067\u306b\u7d39\u4ecb\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u672c\u8cea\u7684\u306b\u306f \"Pre commit\" \u3067\u306f\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u304c\u3001 \"Pre push\" \u306a\u30c1\u30a7\u30c3\u30af\u3068\u3057\u3066 <code>pre-commit<\/code> \u30c4\u30fc\u30eb\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002\n<code>pre-commit<\/code> \u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u7d50\u679c\u304c\u5931\u6557\u306a\u3089\u30d7\u30c3\u30b7\u30e5\u3092\u6b62\u3081\u3001\u6210\u529f\u306a\u3089\u30d7\u30c3\u30b7\u30e5\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304f\u3002<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20261006_jj_pre_commit.png\" alt=\"\" \/>\n  \n<\/figure>\n<h3 id=\"jj-push-\u30a8\u30a4\u30ea\u30a2\u30b9\u4f8b\">jj push \u30a8\u30a4\u30ea\u30a2\u30b9\u4f8b<\/h3>\n<p>\u4ee5\u4e0a\u306e\u5185\u5bb9\u3092\u8e0f\u307e\u3048\u3066\u3001\u79c1\u306f <code>jj push<\/code> \u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3002<\/p>\n<p><a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/d1033370a8cb2142a2c506d3131da5cb28633f6d\/jjconfig.toml#L45-L81\">https:\/\/github.com\/rinx\/dotfiles\/blob\/d1033370a8cb2142a2c506d3131da5cb28633f6d\/jjconfig.toml#L45-L81<\/a><\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>aliases<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>push<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #9399B2;\"> [<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;util&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;exec&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;--&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;bash&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;-c&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;&#39;&#39;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## pre-commit \u304c\u5229\u7528\u3067\u304d\u308b\u3068\u304d\u306f\u30c1\u30a7\u30c3\u30af\u3092\u5b9f\u884c<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">if type pre-commit &gt;\/dev\/null 2&gt;&amp;1; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    echo &quot;==&gt; Running pre-commit before push...&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    pre-commit run --all-files<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    if [ $? -ne 0 ]; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">        echo &quot;\u274c pre-commit failed. Aborting push.&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">        exit 1<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    fi<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">else<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    echo &quot;\u26a0\ufe0f  pre-commit not found. Skipping checks.&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">fi<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u304b\u3089\u30d7\u30c3\u30b7\u30e5\u5bfe\u8c61\u306e Revset \u3092\u62bd\u51fa\u3002\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u304d\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30c3\u30b7\u30e5\u5bfe\u8c61\u306e `::@` \u3092\u4f7f\u7528<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">echo &quot;==&gt; Checking for forbidden markers in pushable commits...&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">targets=$(echo &quot;$@&quot; | grep -oP &#39;(?&lt;=(-b|--bookmark|-c|--change|-r|--revision)\\s)[^ ]+&#39;)<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">if [ -z &quot;$targets&quot; ]; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  target_revset=&quot;::@&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">else<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  target_revset=&quot;::(${targets\/\/$&#39;\\n&#39;\/|})&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">fi<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## \u30d7\u30c3\u30b7\u30e5\u5bfe\u8c61\u306b\u610f\u56f3\u3057\u306a\u3044\u5909\u66f4\u304c\u542b\u307e\u308c\u306a\u3044\u304b\u3092\u78ba\u8a8d<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">if [ -n &quot;$(jj log -r &quot;$target_revset &amp; mutable() &amp; local()&quot; --no-graph --ignore-working-copy -T &#39;commit_id&#39;)&quot; ]; then<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    echo &quot;\u274c Commits to be pushed contain wip\/todo\/private\/mega markers. Aborting push.&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">    exit 1<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">fi<\/span><\/span>\n<span class=\"giallo-l\"><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">## \u30ea\u30e2\u30fc\u30c8\u3078\u306e\u30d7\u30c3\u30b7\u30e5\u3092\u5b9f\u884c<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">echo &quot;==&gt; Pushing changes to remote...&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">echo &quot;==&gt; jj git push $@&quot;<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">jj git push $@<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">&#39;&#39;&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #A6E3A1;\">  &#39;&#39;<\/span><span style=\"color: #9399B2;\">,<\/span><\/span>\n<span class=\"giallo-l\"><span style=\"color: #9399B2;\">]<\/span><\/span><\/code><\/pre>\n<p>\u30a8\u30a4\u30ea\u30a2\u30b9\u3068\u3057\u3066\u7c21\u5358\u306a\u30ac\u30fc\u30c9\u30ec\u30fc\u30eb\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u5b89\u5fc3\u3057\u3066 Jujutsu \u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002\n\u81ea\u8eab\u306e\u4f7f\u3044\u65b9\u306b\u5408\u308f\u305b\u3066\u6700\u9069\u306a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3084\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u69cb\u7bc9\u3057\u3066\u307f\u3066\u307b\u3057\u3044\u3002<\/p>\n<h2 id=\"\u8ffd\u8a18\">\u8ffd\u8a18<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u516c\u958b\u3057\u305f\u5f8c\u306b\u6c17\u4ed8\u3044\u305f\u304c\u3001 Jujutsu \u81ea\u4f53\u306b <code>git.private-commits<\/code>\u00a0<sup class=\"footnote-reference\"><a href=\"#fn:5\">5<\/a><\/sup> \u3068\u3044\u3046\u8a2d\u5b9a\u9805\u76ee\u304c\u3042\u3063\u305f\u3002\n\u300c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u5909\u66f4\u3092\u30ea\u30e2\u30fc\u30c8\u306b\u30d7\u30c3\u30b7\u30e5\u3057\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u300d\u3068\u3044\u3046\u76ee\u7684\u306e\u305f\u3081\u306b\u306f\u3001\u516c\u5f0f\u306b\u7528\u610f\u3055\u308c\u305f\u3053\u306e\u4ed5\u7d44\u307f\u3092\u5229\u7528\u3059\u308b\u65b9\u304c\u7b4b\u304c\u826f\u3044\u3002\n\u672c\u7a3f\u306e\u8a2d\u5b9a\u4f8b\u306b\u3042\u308f\u305b\u3066\u66f8\u304f\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"toml\"><span class=\"giallo-l\"><span style=\"color: #9399B2;\">[<\/span><span>git<\/span><span style=\"color: #9399B2;\">]<\/span><\/span>\n<span class=\"giallo-l\"><span>private-commits<\/span><span style=\"color: #94E2D5;\"> =<\/span><span style=\"color: #A6E3A1;\"> &#39;local()&#39;<\/span><\/span><\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001 <code>local()<\/code> \u306b\u8a72\u5f53\u3059\u308b\u5909\u66f4\u3068\u305d\u306e\u5b50\u5b6b\u306b\u3042\u305f\u308b\u5909\u66f4\u306e\u30d7\u30c3\u30b7\u30e5\u3092\u9632\u6b62\u3067\u304d\u308b\u3002<\/p>\n<p><code>jj push<\/code> \u30a8\u30a4\u30ea\u30a2\u30b9\u65b9\u5f0f\u306f pre-commit \u306e\u3088\u3046\u306b\u30d7\u30c3\u30b7\u30e5\u64cd\u4f5c\u306b\u30d5\u30c3\u30af\u3057\u3066\u4f55\u304b\u3057\u3089\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5b9f\u65bd\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u4f9d\u7136\u6709\u52b9\u306a\u306e\u3067\u3001\u3053\u308c\u306f\u3053\u308c\u3067\u6b8b\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3046\u3002<\/p>\n<div class=\"footnote-definition\" id=\"fn:1\"><sup class=\"footnote-definition-label\">1<\/sup>\n<p><a href=\"https:\/\/rinx.fyi\/posts\/20260922-jujutsu-workflow\/\">Jujutsu \u3092\u7528\u3044\u305f\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc: Squash Workflow \u3068 Megamerge Workflow<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:2\"><sup class=\"footnote-definition-label\">2<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/zenn.dev\/asa1984\/books\/nix-hands-on\/viewer\/ch01-03-flakes#git%E3%81%A8flake\">Git\u3068Flake - Nix\u5165\u9580: \u30cf\u30f3\u30ba\u30aa\u30f3\u7de8<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:3\"><sup class=\"footnote-definition-label\">3<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/docs.jj-vcs.dev\/latest\/config\/#aliases\">Aliases - Jujutsu docs<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:4\"><sup class=\"footnote-definition-label\">4<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/docs.jj-vcs.dev\/latest\/cli-reference\/#jj-util-exec\">jj util exec<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:5\"><sup class=\"footnote-definition-label\">5<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/docs.jj-vcs.dev\/latest\/config\/#set-of-private-commits\">Set of private commits - Jujutsu docs<\/a><\/p>\n<\/div>\n"},{"title":"Jujutsu \u3092\u7528\u3044\u305f\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc: Squash Workflow \u3068 Megamerge Workflow","published":"2026-09-22T00:00:00+00:00","updated":"2026-09-22T00:00:00+00:00","author":{"name":"\n            \n              rinx\n            \n          "},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/rinx.fyi\/posts\/20260922-jujutsu-workflow\/"}},"id":"https:\/\/rinx.fyi\/posts\/20260922-jujutsu-workflow\/","content":"<p>\u696d\u52d9\u3092\u542b\u3081\u305f\u958b\u767a\u30d5\u30ed\u30fc\u5168\u822c\u3067 <a rel=\"external\" href=\"https:\/\/github.com\/jj-vcs\/jj\">Jujutsu (jj-vcs\/jj, <code>jj<\/code>)<\/a> \u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u304b\u3089\u3082\u3046\u3059\u3050\u534a\u5e74\u306b\u306a\u308b\u3002\n\u73fe\u5728\u306e\u500b\u4eba\u7684\u306a <code>jj<\/code> \u5229\u7528\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3068\u3001 <code>jj<\/code> \u306b\u3064\u3044\u3066\u4fbf\u5229\u3060\u3068\u611f\u3058\u3066\u3044\u308b\u90e8\u5206\u3092\u307e\u3068\u3081\u3066\u304a\u3053\u3046\u3068\u601d\u3046\u3002<\/p>\n<h2 id=\"jujutsu-\u306b\u3064\u3044\u3066\">Jujutsu \u306b\u3064\u3044\u3066<\/h2>\n<p>\u3042\u3089\u305f\u3081\u3066\u7d39\u4ecb\u3059\u308b\u5fc5\u8981\u3082\u306a\u3044\u304c\u3001 <code>jj<\/code> \u306f Git \u4e92\u63db\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3060\u3002<\/p>\n<ul>\n<li><a rel=\"external\" href=\"https:\/\/github.com\/jj-vcs\/jj\">jj-vcs\/jj<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/docs.jj-vcs.dev\/latest\/\">Jujutsu docs<\/a><\/li>\n<\/ul>\n<p>Git \u3067\u3067\u304d\u308b\u3053\u3068\u306e\u307b\u3068\u3093\u3069\u306f <code>jj<\/code> \u3067\u3082\u3067\u304d\u308b\u3002 <code>jj<\/code> \u3067\u3067\u304d\u308b\u3053\u3068\u3082\u5927\u62b5\u306f Git \u3067\u3067\u304d\u308b\u3002\n\u3057\u304b\u3057\u3001\u540c\u3058\u3053\u3068\u3092\u3084\u308d\u3046\u3068\u3057\u3066\u3082 <code>jj<\/code> \u306e\u307b\u3046\u304c\u5727\u5012\u7684\u306b\u7c21\u5358\u306b\u3067\u304d\u308b\u5834\u5408\u304c\u591a\u3044\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u904e\u53bb\u306e\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3060\u3051\u3092\u4fee\u6b63\u3057\u305f\u3044\u3068\u304d\u306b Git \u306a\u3089 <code>git rebase -i<\/code> \u3092\u5229\u7528\u3057\u3001\u8a72\u5f53\u306e\u30b3\u30df\u30c3\u30c8\u306b <code>edit<\/code> \u30d5\u30e9\u30b0\u3092\u7acb\u3066\u3066\u7de8\u96c6\u30e2\u30fc\u30c9\u306b\u5165\u308a\u2026\u3068\u8907\u96d1\u306a\u624b\u9806\u3092\u8e0f\u3080\u5fc5\u8981\u304c\u3042\u308b\u304c\u3001 <code>jj<\/code> \u306e\u5834\u5408\u306f <code>jj edit &lt;rev&gt;<\/code> \u3067\u8a72\u5f53\u306e\u5909\u66f4\u3092\u9078\u629e\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b\u3060\u3051\u3067\u7c21\u5358\u306b\u4fee\u6b63\u3067\u304d\u308b\u3002<\/p>\n<p>Rebase \u64cd\u4f5c\u3092\u4f8b\u306b\u3068\u3063\u3066\u3082\u3001 <code>jj rebase --before &lt;before&gt; --after &lt;after&gt; --revision &lt;rev&gt;<\/code> \u306e\u3088\u3046\u306b\u3001\u3069\u306e\u5909\u66f4\u3092\u3069\u306e\u4f4d\u7f6e\u306b Rebase \u3059\u308b\u304b\u304c\u76f4\u611f\u7684\u306b\u308f\u304b\u308b\u5f62\u3067\u64cd\u4f5c\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u305d\u308c\u3089\u306b\u52a0\u3048\u3066 <code>jj undo<\/code>, <code>jj redo<\/code> \u306b\u3088\u308a\u64cd\u4f5c\u306e Undo \/ Redo \u304c\u3067\u304d\u308b\u305f\u3081\u3001\u5909\u66f4\u5c65\u6b74\u306e\u64cd\u4f5c\u3092\u884c\u3046\u3053\u3068\u3078\u306e\u30cf\u30fc\u30c9\u30eb\u304c\u975e\u5e38\u306b\u4f4e\u3044\u3002\n\u3053\u306e\u64cd\u4f5c\u611f\u306b\u6163\u308c\u3066\u3057\u307e\u3046\u3068\u3001\u3082\u3046\u7d20\u306e Git \u306b\u623b\u308b\u6c17\u306f\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n<p><code>jj<\/code> \u305d\u306e\u3082\u306e\u306e\u7d39\u4ecb\u306f\u65e2\u306b\u3055\u307e\u3056\u307e\u306a\u30ea\u30bd\u30fc\u30b9\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u3053\u3067\u306f\u53c2\u8003\u6587\u732e\u3092\u7d39\u4ecb\u3059\u308b\u3060\u3051\u306b\u3068\u3069\u3081\u3066\u304a\u304f\u3002<\/p>\n<ul>\n<li><a rel=\"external\" href=\"https:\/\/steveklabnik.github.io\/jujutsu-tutorial\/introduction\/introduction.html\">Steve's Jujutsu Tutorial<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/arialdo.codeberg.page\/ju-ju-tsu\/\">Ju! Ju! Tsu!<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/zenn.dev\/zetamatta\/books\/c1e309aea68960\">\u541b\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u9818\u57df\u5c55\u958b - \u6b21\u4e16\u4ee3\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0 Jujutsu (jj-vcs\/jj)\u306e\u4e16\u754c<\/a><\/li>\n<\/ul>\n<h2 id=\"squash-workflow\">Squash Workflow<\/h2>\n<p><code>jj<\/code> \u3092\u7528\u3044\u305f\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u4e2d\u3067\u3082\u7279\u306b Git \u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u99b4\u67d3\u307f\u3084\u3059\u3044\u306e\u304c Squash Workflow \u3060\u3002\n\u79c1\u3082\u57fa\u672c\u7684\u306b\u306f\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u5247\u3063\u3066\u4f5c\u696d\u3092\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>Git \u3067\u306f\u30b3\u30df\u30c3\u30c8\u306b\u542b\u3081\u305f\u3044\u5909\u66f4\u5185\u5bb9\u3092 index \u306b\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0 (<code>git add<\/code>) \u3057\u3066\u304b\u3089\u30b3\u30df\u30c3\u30c8 (<code>git commit<\/code>) \u3059\u308b\u304c\u3001 <code>jj<\/code> \u306e Squash Workflow \u3067\u306f\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306b\u3042\u308b\u5909\u66f4\u5185\u5bb9\u3092 <code>jj squash<\/code> \u306b\u3088\u308a\u904e\u53bb\u306e\u5909\u66f4\u306b\u79fb\u52d5\u3055\u305b\u308b\u3002 <code>jj<\/code> \u306b\u306f Git \u306e index \u306b\u5bfe\u5fdc\u3059\u308b\u30a8\u30ea\u30a2\u306f\u306a\u3044\u304c\u3001\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u304a\u3044\u3066\u306f\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306b\u3042\u308b\u5909\u66f4\u304c\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3055\u308c\u305f\u5909\u66f4\u306b\u8a72\u5f53\u3059\u308b\u3068\u6349\u3048\u308b\u3068\u7406\u89e3\u3057\u3084\u3059\u3044\u3002<\/p>\n<p>\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u3064\u3044\u3066\u306f\u6b21\u306e\u30da\u30fc\u30b8\u306e\u89e3\u8aac\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u3002<\/p>\n<ul>\n<li><a rel=\"external\" href=\"https:\/\/steveklabnik.github.io\/jujutsu-tutorial\/real-world-workflows\/the-squash-workflow.html\">The Squash Workflow - Steve's Jujutsu Tutorial<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/arialdo.codeberg.page\/ju-ju-tsu\/tutorial\/moving\/squash-workflow.html\">The Squash Workflow - Ju! Ju! Tsu!<\/a><\/li>\n<\/ul>\n<p>\u5192\u982d\u3067\u904e\u53bb\u306e\u30b3\u30df\u30c3\u30c8\u306e\u4fee\u6b63\u3092 <code>jj edit &lt;rev&gt;<\/code> \u3067\u884c\u3046\u4f8b\u3092\u6319\u3052\u305f\u304c\u3001 Squash Workflow \u3092\u7528\u3044\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<ul>\n<li><code>jj new &lt;rev&gt;<\/code> \u3067\u4fee\u6b63\u3057\u305f\u3044\u5909\u66f4\u304b\u3089\u65b0\u3057\u3044\u5909\u66f4\u3092\u4f5c\u6210\u3059\u308b<\/li>\n<li>\u4fee\u6b63\u5185\u5bb9\u3092\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306b\u53cd\u6620\u3059\u308b<\/li>\n<li><code>jj squash<\/code> \u306b\u3088\u308a\u3001\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306e\u5909\u66f4\u3092\u5143\u306e <code>&lt;rev&gt;<\/code> \u306b\u79fb\u52d5\u3055\u305b\u308b<\/li>\n<\/ul>\n<p>\u5bfe\u8c61\u306e\u5909\u66f4\u306b\u76f4\u63a5 <code>jj edit<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3088\u308a\u3082\u3001\u3053\u306e\u3088\u3046\u306b Squash Workflow \u3092\u7528\u3044\u305f\u307b\u3046\u304c\u3001\u5143\u306e\u5909\u66f4\u306b\u5bfe\u3057\u3066\u3069\u306e\u3088\u3046\u306a\u4fee\u6b63\u3092\u3057\u305f\u304b\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u53cd\u6620\u3067\u304d\u308b\u305f\u3081\u597d\u307e\u3057\u3044\u3002\n\u3053\u306e\u3042\u305f\u308a\u306f <a rel=\"external\" href=\"https:\/\/arialdo.codeberg.page\/ju-ju-tsu\/tutorial\/moving\/dont-edit.html\">Don\u2019t Edit - Ju! Ju! Tsu!<\/a> \u3067\u89e3\u8aac\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<h2 id=\"megamerge-workflow\">Megamerge Workflow<\/h2>\n<p>\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306f\u3001\u3042\u308b\u610f\u5473\u3067\u306f Squash Workflow \u306e\u6d3e\u751f\u7248\u3068\u3082\u8a00\u3048\u308b\u3002\n\u8a73\u3057\u304f\u306f\u53c2\u8003\u30da\u30fc\u30b8\u3092\u8aad\u3093\u3067\u3082\u3089\u3048\u308b\u3068\u826f\u3044\u304c\u3001\u540c\u3058\u30ea\u30dd\u30b8\u30c8\u30ea\u4e0a\u3067\u8907\u6570\u306e\u4f5c\u696d\u3092\u884c\u3046\u3068\u304d\u3001\u30d6\u30e9\u30f3\u30c1\u3092\u5207\u308a\u66ff\u3048\u308b\u5fc5\u8981\u306a\u304f\u540c\u3058\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u4e0a\u3067\u3059\u3079\u3066\u306e\u5909\u66f4\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<ul>\n<li><a rel=\"external\" href=\"https:\/\/isaaccorbrey.com\/notes\/jujutsu-megamerges-for-fun-and-profit\">Jujutsu megamerges for fun and profit - Isaac Corbrey<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/v5.chriskrycho.com\/journal\/jujutsu-megamerges-and-jj-absorb\/\">Jujutsu Megamerges and jj absorb - Sym\u00b7poly\u00b7mathesy<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/steveklabnik.github.io\/jujutsu-tutorial\/advanced\/simultaneous-edits.html\">Working on all of your branches simultaneously - Steve's Jujutsu Tutorial<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/arialdo.codeberg.page\/ju-ju-tsu\/tutorial\/moving\/absorbing.html\">Dispatching Edits from Megamerges - Ju! Ju! Tsu!<\/a><\/li>\n<\/ul>\n<p>\u30e2\u30ce\u30ea\u30dd\u69cb\u6210\u3067\u8907\u6570\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u5bfe\u3059\u308b\u5909\u66f4\u3092\u4e26\u884c\u3067\u9032\u3081\u308b\u5834\u5408\u306a\u3069\u306f\u7279\u306b\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u30d5\u30a3\u30c3\u30c8\u3059\u308b\u3002\u79c1\u3082\u696d\u52d9\u3067\u89e6\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3060\u3044\u305f\u3044\u3053\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u3042\u3066\u306f\u307e\u308b\u305f\u3081\u3001\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u3088\u304f\u5229\u7528\u3057\u3066\u3044\u308b\u3002\n\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u5909\u66f4\u3092\u7a4d\u3093\u3060\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8003\u3048\u3066\u307f\u308b\u3002<\/p>\n<figure>\n  <img src=\"\/images\/posts\/20260922_jujutsu_workflow_megamerge.png\" alt=\"\" \/>\n  \n<\/figure>\n<p>\u5909\u66f4\u30b0\u30e9\u30d5\u306e\u3059\u3050\u53f3\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b8\u6841\u306e\u6587\u5b57\u5217\u304c Change-ID (\u5909\u66f4ID) \u3092\u8868\u3057\u3066\u3044\u308b\u3002 Change-ID \u306f\u592a\u5b57\u306b\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u307e\u3067\u3067\u30e6\u30cb\u30fc\u30af\u306b\u6271\u308f\u308c\u308b\u3002\n\u3053\u306e\u4f8b\u3067\u306f\u3001 ID \u304c <code>r<\/code> \u306e\u5909\u66f4\u304b\u30894\u3064\u306e\u5909\u66f4 (<code>u<\/code>, <code>v<\/code>, <code>sx<\/code>, <code>sr<\/code>) \u306b\u6d3e\u751f\u3057\u3066\u3001\u305d\u308c\u3089\u3092 <code>n<\/code> \u3067\u30de\u30fc\u30b8 (megamerge) \u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u306e\u4eee\u60f3\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u306f\u3001 Server \u5074\u306e\u5909\u66f4\u3068 Client \u5074\u306e\u5909\u66f4\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u540c\u671f\u3055\u305b\u306a\u304c\u3089\u3001\u30ea\u30e2\u30fc\u30c8\u5074\u306b\u306f\u5225\u30d6\u30e9\u30f3\u30c1\u3068\u3057\u3066 Push \u3057\u3066\u305d\u308c\u305e\u308c\u5225\u306e Pull Request \u3068\u3057\u3066\u5909\u66f4\u3092\u63d0\u51fa\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u3002\n\u307e\u305f\u3001\u4ed6\u30e1\u30f3\u30d0\u30fc\u306b\u5171\u6709\u3059\u308b\u5fc5\u8981\u306e\u306a\u3044 <code>flake.nix<\/code>, <code>flake.lock<\/code> \u3084 <code>.harper-dictionary<\/code> \u3092\u542b\u3080\u5909\u66f4\u3092 Private \u306a\u5909\u66f4\u3068\u3057\u3066\u6271\u3044\u3001\u30ea\u30e2\u30fc\u30c8\u306b\u306f Push \u3057\u306a\u3044\u65b9\u91dd\u3068\u3057\u3066\u3044\u308b\u3002 (\u79c1\u306e\u5834\u5408\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3067 Nix \u3084 Harper \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u4eba\u306f\u3044\u306a\u3044\u306e\u3067\u3001\u624b\u5143\u306b\u7f6e\u3044\u3066\u304a\u3051\u3070\u5341\u5206)\n<code>jj<\/code> \u306b\u306f\u30d6\u30e9\u30f3\u30c1\u304c\u306a\u304f\u3001\u4ee3\u308f\u308a\u306b\u30b3\u30df\u30c3\u30c8\u306b\u5bfe\u3059\u308b\u30d6\u30c3\u30af\u30de\u30fc\u30af (bookmark) \u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u305d\u306e\u305f\u3081\u3001 <code>sx<\/code>, <code>sr<\/code> \u306e\u307f\u306b bookmark \u3092\u6307\u5b9a\u3057\u3066 Push \u3059\u308b\u3053\u3068\u3067\u3001\u30ea\u30e2\u30fc\u30c8\u306b\u306f\u4e0d\u8981\u306a\u5909\u66f4\u3092 Push \u305b\u305a\u306b\u6e08\u3080\u3002<\/p>\n<p>\u5404\u30d6\u30e9\u30f3\u30c1\u306b\u5909\u66f4\u3092\u52a0\u3048\u305f\u3044\u3068\u304d\u306f\u3001Squash Workflow \u3068\u540c\u3058\u304f\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u4e0a\u3067\u5909\u66f4\u5185\u5bb9\u3092\u4f5c\u6210\u3057\u3001 <code>jj squash<\/code> \u3067\u8a72\u5f53\u3059\u308b\u5909\u66f4\u306b\u79fb\u52d5\u3055\u305b\u308c\u3070\u826f\u3044\u3002\n\u3055\u3089\u306b\u3001 <code>jj squash<\/code> \u306e\u4ee3\u308f\u308a\u306b <code>jj absorb<\/code> \u3092\u5229\u7528\u3059\u308c\u3070\u3001\u591a\u304f\u306e\u5834\u5408\u3067\u5909\u66f4\u5185\u5bb9\u3092\u81ea\u52d5\u7684\u306b\u9069\u5207\u306a\u5909\u66f4\u306b Squash \u3057\u3066\u304f\u308c\u308b\u3002\u5148\u306e\u4f8b\u3067\u306f\u3001 <code>.harper-dictionary<\/code> \u306b\u95a2\u3059\u308b\u5909\u66f4\u3084 <code>flake.nix<\/code> \u306b\u95a2\u3059\u308b\u5909\u66f4\u304c\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306b\u4e00\u7dd2\u306b\u542b\u307e\u308c\u3066\u3044\u305f\u3068\u3057\u3066\u3082\u3001 <code>jj absorb<\/code> \u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u81ea\u52d5\u7684\u306b <code>v<\/code> \u3084 <code>u<\/code> \u306e\u5909\u66f4\u306b\u53d6\u308a\u8fbc\u3093\u3067\u304f\u308c\u308b\u3002\u7de8\u96c6\u3057\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3084\u7de8\u96c6\u7b87\u6240\u3092\u3082\u3068\u306b\u9069\u5207\u306a\u53d6\u308a\u8fbc\u307f\u5148\u3092\u5224\u5225\u3057\u3066\u3044\u308b\u306e\u3060\u3002 Megamerge Workflow \u3092\u5229\u7528\u3059\u308b\u969b\u306f\u3053\u308c\u304c\u975e\u5e38\u306b\u4fbf\u5229\u306a\u306e\u3067\u3001\u899a\u3048\u3066\u304a\u304f\u3068\u826f\u3044\u3002<\/p>\n"},{"title":"\u4ed5\u4e8b\u3092\u4f9d\u983c\u3059\u308b\u3053\u3068\u306e\u672c\u8cea\u306b\u3064\u3044\u3066","published":"2026-08-15T00:00:00+00:00","updated":"2026-08-15T00:00:00+00:00","author":{"name":"\n            \n              rinx\n            \n          "},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/rinx.fyi\/posts\/20260815-request-a-job\/"}},"id":"https:\/\/rinx.fyi\/posts\/20260815-request-a-job\/","content":"<h2 id=\"\u306f\u3058\u3081\u306b\">\u306f\u3058\u3081\u306b<\/h2>\n<p>\u5148\u65e5\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u3001\u6570\u5343\u884c\u306b\u308f\u305f\u308b(\u304a\u305d\u3089\u304f\u306fAI\u751f\u6210\u306b\u3088\u308b)\u5909\u66f4\u306e\u542b\u307e\u308c\u308b Pull Request \u306e\u30ec\u30d3\u30e5\u30fc\u4f9d\u983c\u304c\u3001\u4f55\u306e\u524d\u89e6\u308c\u3082\u306a\u3057\u306b\u7a81\u7136\u98db\u3093\u3067\u304d\u305f\u3002\n\u305d\u306e Pull Request \u306b\u306f\u305f\u3063\u305f\u4e00\u884c\u306e Description \u304c\u66f8\u304b\u308c\u3066\u3044\u305f\u3060\u3051\u3067\u3001\u306a\u305c\u3053\u306e\u5909\u66f4\u304c\u5fc5\u8981\u306a\u306e\u304b\u3001\u306a\u305c\u79c1\u306b\u30ec\u30d3\u30e5\u30fc\u3092\u4f9d\u983c\u3057\u305f\u306e\u304b\u3001\u306a\u306b\u3092\u78ba\u8a8d\u3057\u3066\u307b\u3057\u3044\u306e\u304b\u306a\u3069\u306e\u60c5\u5831\u306f\u4e00\u5207\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u3002\n\u5f8c\u306b Author \u306b\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u305d\u306e\u5909\u66f4\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u305f\u3081\u3001\u5358\u306b\u5f62\u5f0f\u4e0a\u306e Approve \u304c\u6b32\u3057\u304b\u3063\u305f\u3060\u3051\u3060\u3063\u305f\u305d\u3046\u3060\u3002<\/p>\n<p>\u79c1\u500b\u4eba\u3068\u3057\u3066\u306f\u3001\u3053\u306e\u30ec\u30d3\u30e5\u30fc\u4f9d\u983c\u306e\u4ed5\u65b9\u306b\u3068\u3066\u3082\u9055\u548c\u611f\u3092\u611f\u3058\u305f\u3002\n\u554f\u984c\u70b9\u3068\u3057\u3066\u306f\u6b21\u306e\u3088\u3046\u306a\u70b9\u304c\u6319\u3052\u3089\u308c\u308b\u3002<\/p>\n<ul>\n<li>\u6570\u5343\u884c\u306e\u5909\u66f4\u3092\u3059\u3079\u3066\u78ba\u8a8d\u3057\u3088\u3046\u3068\u3059\u308c\u3070\u975e\u5e38\u306b\u6642\u9593\u304c\u304b\u304b\u308b<\/li>\n<li>\u5909\u66f4\u306e\u610f\u56f3\u3084\u80cc\u666f\u3001\u8ab2\u984c\u304c\u308f\u304b\u3089\u306a\u3044<\/li>\n<li>\u30ec\u30d3\u30e5\u30fc\u306b\u4f55\u3092\u671f\u5f85\u3057\u3066\u3044\u308b\u306e\u304b\u304c\u308f\u304b\u3089\u306a\u3044<\/li>\n<\/ul>\n<p>\u7dcf\u3058\u3066\u3001\u30ec\u30d3\u30e5\u30a2\u30fc\u306b\u5bfe\u3059\u308b\u914d\u616e\u304c\u6b20\u3051\u3066\u3044\u308b\u4f9d\u983c\u3067\u3042\u308b\u3068\u611f\u3058\u305f\u3002\n(\u307e\u305f\u3001\u30ec\u30d3\u30e5\u30fc\u306b\u5272\u3051\u308b\u6642\u9593\u3082\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3053\u306e\u4f9d\u983c\u306b\u3064\u3044\u3066\u306f\u304a\u65ad\u308a\u3057\u305f\u3002)<\/p>\n<p>\u3053\u306e\u4ef6\u3092\u3068\u304a\u3057\u3066\u3001\u3042\u3089\u305f\u3081\u3066 Pull Request \u306e\u30ec\u30d3\u30e5\u30fc\u3068\u306f\u4f55\u304b\u3001\u4ed5\u4e8b\u306b\u304a\u3051\u308b\u4f9d\u983c\u3068\u306f\u4f55\u306a\u306e\u304b\u306b\u3064\u3044\u3066\u8003\u3048\u3066\u307f\u305f\u3002<\/p>\n<h2 id=\"\u30ec\u30d3\u30e5\u30fc\u3092\u4f9d\u983c\u3059\u308b\u3053\u3068\">\u30ec\u30d3\u30e5\u30fc\u3092\u4f9d\u983c\u3059\u308b\u3053\u3068<\/h2>\n<p>\u4e00\u822c\u7684\u306b\u306f\u30ec\u30d3\u30e5\u30fc\u3092\u4f9d\u983c\u3059\u308b\u3068\u304d\u3001\u4f9d\u983c\u8005\u306f\u30ec\u30d3\u30e5\u30a2\u30fc\u306b\u5bfe\u3057\u3066\u4f55\u3089\u304b\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u671f\u5f85\u3057\u3001\u6700\u7d42\u7684\u306b\u306f Approval \u3092\u3082\u3089\u3046\u3053\u3068\u3092\u76ee\u6307\u3059\u3053\u3068\u304c\u307b\u3068\u3093\u3069\u3060\u3068\u601d\u3046\u3002\n\u66f8\u7c4d\u300cLooks Good To Me\u300d<sup class=\"footnote-reference\"><a href=\"#fn:1\">1<\/a><\/sup>\u3067\u3082\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001 Pull Request \u306b Approve \u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u30ec\u30d3\u30e5\u30a2\u30fc\u3082\u305d\u306e\u5909\u66f4\u306b\u8cac\u4efb\u3092\u6301\u3064\u3068\u3044\u3046\u3053\u3068\u3060\u3002\n\u5358\u306b\u5f62\u5f0f\u7684\u306a Approve \u304c\u6b32\u3057\u304b\u3063\u305f\u3060\u3051\u3060\u3068\u3057\u3066\u3082\u3001\u5909\u66f4\u306b\u8cac\u4efb\u3092\u6301\u3064\u3053\u3068\u306b\u306f\u5909\u308f\u308a\u306f\u306a\u3044\u3002<\/p>\n<p>\u305d\u306e\u610f\u5473\u3067\u3001\u30ec\u30d3\u30e5\u30fc\u3092\u4f9d\u983c\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u300c\u30ec\u30d3\u30e5\u30a2\u30fc\u306b\u3082\u3053\u306e\u5909\u66f4\u306b\u8cac\u4efb\u3092\u6301\u3063\u3066\u3082\u3089\u3046\u300d\u305f\u3081\u306e\u4f9d\u983c\u3067\u3042\u308b\u3068\u6349\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u307e\u305f\u3001\u65e5\u9803\u5fd8\u308c\u304c\u3061\u306a\u3053\u3068\u3060\u304c\u3001\u300c\u30ec\u30d3\u30e5\u30fc\u3092\u3059\u308b\u306e\u306b\u3082\u6642\u9593\u3084\u52b4\u529b\u306f\u304b\u304b\u308b\u300d\u3068\u3044\u3046\u70b9\u3060\u3002\n\u30ec\u30d3\u30e5\u30fc\u3092\u4f9d\u983c\u3059\u308b\u5074\u306e\u7acb\u5834\u304b\u3089\u3059\u308b\u3068\u3001\u30ec\u30d3\u30e5\u30fc\u4f9d\u983c\u306b\u306f\u7121\u511f\u3067\u5fdc\u3048\u3066\u3082\u3089\u3048\u308b\u3068\u601d\u3044\u304c\u3061<sup class=\"footnote-reference\"><a href=\"#fn:2\">2<\/a><\/sup>\u3060\u304c\u3001\u30ec\u30d3\u30e5\u30a2\u30fc\u306f\u305d\u306e\u5909\u66f4\u306e\u80cc\u666f\u3084\u8ab2\u984c\u3001\u610f\u56f3\u3084\u65b9\u91dd\u3001\u305d\u3057\u3066\u5b9f\u88c5\u306b\u3064\u3044\u3066\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u6642\u9593\u3082\u52b4\u529b\u3082\u5272\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\u3042\u308b\u610f\u5473\u3067\u306f\u30ec\u30d3\u30e5\u30a2\u30fc\u306f\u30b3\u30b9\u30c8\u3092\u304b\u3051\u3066\u307e\u3067\u305d\u306e Pull Request \u306b\u5411\u304d\u5408\u3063\u3066\u3044\u308b\u306e\u3060\u3002<\/p>\n<p>\u79c1\u81ea\u8eab\u3001\u7279\u306b\u3053\u3053\u6570\u5e74 Pull Request \u306e\u30ec\u30d3\u30e5\u30fc\u3092\u591a\u304f\u62c5\u3046\u7acb\u5834\u3068\u306a\u3063\u3066\u3001\u3053\u306e\u3053\u3068\u306b\u6c17\u4ed8\u304b\u3055\u308c\u305f\u3002<\/p>\n<p>\u305d\u306e\u3088\u3046\u306a\u3053\u3068\u3092\u8e0f\u307e\u3048\u308b\u3068\u3001\u3053\u308c\u3082\u5f53\u305f\u308a\u524d\u306e\u8a71\u3067\u306f\u3042\u308b\u304c\u3001Pull Request \u306e Author \u306f\u3001\u30ec\u30d3\u30e5\u30a2\u30fc\u304c\u30ec\u30d3\u30e5\u30fc\u3057\u3084\u3059\u3044\u72b6\u614b\u3092\u3067\u304d\u308b\u9650\u308a\u6574\u3048\u305f\u4e0a\u3067\u30ec\u30d3\u30e5\u30fc\u3092\u4f9d\u983c\u3059\u308b\u3079\u304d\u3060\u3068\u3044\u3046\u8a71\u306b\u306a\u308b\u3002<\/p>\n<p>\u30ec\u30d3\u30e5\u30fc\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u77e5\u3063\u3066\u304a\u304f\u3079\u304d\u60c5\u5831\u3084\u3001\u7591\u554f\u304c\u751f\u3058\u305d\u3046\u306a\u7b87\u6240\u306b\u3042\u3089\u304b\u3058\u3081\u7b54\u3048\u308b\u3088\u3046\u306a Pull Request \u306e Title \/ Description \u3092\u7528\u610f\u3057\u3066\u304a\u304f\u3002<\/p>\n<ul>\n<li>\u4f55\u304c\u3069\u3046\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\u304b (\u6982\u8981)<\/li>\n<li>\u306a\u305c\u3053\u306e\u5909\u66f4\u304c\u5fc5\u8981\u306a\u306e\u304b (\u80cc\u666f\u30fb\u8ab2\u984c)<\/li>\n<li>\u3069\u3046\u3044\u3046\u610f\u56f3\u306e\u5909\u66f4\u306a\u306e\u304b (\u65b9\u91dd)<\/li>\n<li>\u4f55\u3092\u78ba\u8a8d\u3057\u3066\u307b\u3057\u3044\u306e\u304b (\u30ec\u30d3\u30e5\u30fc\u306b\u5bfe\u3059\u308b\u671f\u5f85)<\/li>\n<li>etc...<\/li>\n<\/ul>\n<p>\u9805\u76ee\u3092\u6319\u3052\u308b\u3068\u3053\u3093\u306a\u3068\u3053\u308d\u3060\u304c\u3001\u500b\u4eba\u7684\u306b\u306fAI\u751f\u6210\u306e\u3042\u306e\u5197\u9577\u3067\u308f\u304b\u308a\u3065\u3089\u3044\u6587\u7ae0\u3082\u907f\u3051\u305f\u307b\u3046\u304c\u7121\u96e3\u3060\u3068\u601d\u3046\u3002\n\u3053\u3046\u3044\u3063\u305f\u90e8\u5206\u306f\u8981\u70b9\u3092\u7d5e\u3063\u3066\u7c21\u6f54\u306b\u4f1d\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u307b\u3046\u304c\u3001\u8aad\u307f\u624b\u306b\u3068\u3063\u3066\u306f\u7406\u89e3\u306b\u5272\u304f\u52b4\u529b\u304c\u8efd\u304f\u6e08\u3080\u3002\n\u3053\u308c\u306b\u3064\u3044\u3066\u306f <a rel=\"external\" href=\"https:\/\/newsletter.vickiboykis.com\/archive\/write-for-people\/\">Write for people - Normcore Tech<\/a> \u3067\u3082\u4f3c\u305f\u3088\u3046\u306a\u8ab2\u984c\u611f\u304c\u5171\u6709\u3055\u308c\u3066\u3044\u308b\u3002\u4eba\u9593\u304c\u7406\u89e3\u3057\u3084\u3059\u3044\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u8868\u73fe\u304c\u6c42\u3081\u3089\u308c\u3066\u3044\u308b\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u306b\u306f\u3001\u3053\u308c\u306f\u79c1\u500b\u4eba\u306e\u5fc3\u304c\u3051\u306e\u8a71\u306b\u306a\u308b\u304c\u3001\u300c\u3053\u306e\u4eba\u306e Pull Request \u306a\u3089\u307e\u305f\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u3082\u3044\u3044\u306a\u300d\u3068\u601d\u308f\u308c\u308b\u305f\u3081\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u826f\u3044\u304b\u3092\u8003\u3048\u3066\u3044\u308b\u3002\u305f\u3068\u3048\u3070\u3001\u30ec\u30d3\u30e5\u30fc\u4f9d\u983c\u3092\u3059\u308b\u3068\u304d\u3001\u30ec\u30d3\u30e5\u30fc\u306b\u3088\u308b\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3084 Approve \u3092\u3082\u3089\u3063\u305f\u3068\u304d\u306b\u306f\u3001\u5fc5\u305a\u611f\u8b1d\u306e\u610f\u3092\u4f1d\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002\u6642\u9593\u3084\u52b4\u529b\u3092\u5272\u3044\u3066\u30ec\u30d3\u30e5\u30fc\u3057\u3066\u3082\u3089\u3063\u3066\u3044\u308b\u306e\u3060\u304b\u3089\u3002<\/p>\n<h2 id=\"\u4ed5\u4e8b\u3092\u4f9d\u983c\u3059\u308b\u3053\u3068\">\u4ed5\u4e8b\u3092\u4f9d\u983c\u3059\u308b\u3053\u3068<\/h2>\n<p>\u79c1\u305f\u3061 SWE \u306f Pull Request \u306b\u9650\u3089\u305a\u3001\u666e\u6bb5\u4ed5\u4e8b\u3092\u3057\u3066\u3044\u308b\u4e0a\u3067\u307b\u3068\u3093\u3069\u5fc5\u305a\u3068\u3044\u3063\u3066\u3044\u3044\u304f\u3089\u3044\u3001\u6bce\u65e5\u4ed6\u306e\u4eba\u306b\u4ed5\u4e8b\u3092\u4f9d\u983c\u3057\u3066\u3044\u308b\u3002\nPull Request\u3001 JIRA \u306e\u30c1\u30b1\u30c3\u30c8\u3001 GitHub \u306e Issue \u306a\u3069\u306e\u5f62\u5f0f\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u30f3\u30b0\u3055\u308c\u305f\u4f9d\u983c\u306f\u3001\u610f\u8b58\u3057\u306a\u3051\u308c\u3070\u81ea\u7136\u306b\u3001\u305d\u306e\u4ed5\u4e8b\u3092\u4f9d\u983c\u3055\u308c\u308b\u76f8\u624b\u306b\u5bfe\u3059\u308b\u656c\u610f\u3092\u5fd8\u308c\u3055\u305b\u3066\u3057\u307e\u3046\u3002\u3042\u305f\u304b\u3082 Queue \u306b Job \u3092\u7a4d\u3081\u3070\u3001\u305d\u306e\u88cf\u3067 Worker \u304c\u81ea\u52d5\u7684\u306b\u305d\u308c\u3092\u51e6\u7406\u3057\u3066\u304f\u308c\u308b\u304b\u306e\u3088\u3046\u306b\u6349\u3048\u304c\u3061\u3060\u304c\u3001\u79c1\u305f\u3061\u306f\u305d\u308c\u3092\u5b9f\u969b\u306b\u51e6\u7406\u3059\u308b\u4eba\u306e\u30b3\u30b9\u30c8\u3084\u5fc3\u7406\u7684\u306a\u8ca0\u8377\u3092\u60f3\u50cf\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n<p>\u81ea\u5206\u306e\u6642\u9593\u3068\u52b4\u529b\u3092\u5272\u3044\u3066\u5411\u304d\u5408\u3063\u3066\u304f\u308c\u308b\u306e\u306f\u300c\u4eba\u9593\u300d\u3067\u3042\u3063\u3066\u3001 Worker \u3067\u306f\u306a\u3044\u3002\nAI \u306e\u666e\u53ca\u306b\u3068\u3082\u306a\u3063\u3066\u4ed5\u4e8b\u306e\u30b9\u30d4\u30fc\u30c9\u304c\u7206\u767a\u7684\u306b\u5909\u308f\u3063\u3066\u304d\u305f\u4eca\u3060\u3053\u3089\u3053\u305d\u3001\u4ed5\u4e8b\u3092\u4f9d\u983c\u3059\u308b\u76f8\u624b\u3078\u306e\u656c\u610f\u3068\u30d7\u30ed\u30d5\u30a7\u30c3\u30b7\u30e7\u30ca\u30eb\u3068\u3057\u3066\u306e\u914d\u616e\u3092\u5fd8\u308c\u3066\u306f\u306a\u3089\u306a\u3044\u3002<\/p>\n<div class=\"footnote-definition\" id=\"fn:1\"><sup class=\"footnote-definition-label\">1<\/sup>\n<p><a rel=\"external\" href=\"https:\/\/www.manning.com\/books\/looks-good-to-me\">Looks Good To Me - Adrienne Braganza<\/a><\/p>\n<\/div>\n<div class=\"footnote-definition\" id=\"fn:2\"><sup class=\"footnote-definition-label\">2<\/sup>\n<p>\u3053\u3053\u306b\u306f\u300c\u305d\u3082\u305d\u3082\u79c1\u304c\u5b9f\u88c5\u3057\u3066\u3084\u3063\u3066\u3044\u308b\u306e\u3060\u304b\u3089\u3001\u305d\u308c\u306b\u5bfe\u3057\u3066\u30ec\u30d3\u30e5\u30fc\u3059\u308b\u306e\u306f\u5f53\u7136\u3060\u308d\u3046\u300d\u3068\u3044\u3046\u5fc3\u7406\u304c\u6f5c\u3093\u3067\u3044\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n<\/div>\n"},{"title":"ghtkn\u3092\u958b\u767a\u30d5\u30ed\u30fc\u306b\u7d44\u307f\u8fbc\u3093\u3067\u307f\u3066","published":"2026-07-26T00:00:00+00:00","updated":"2026-07-26T00:00:00+00:00","author":{"name":"\n            \n              rinx\n            \n          "},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/rinx.fyi\/posts\/20260726-ghtkn\/"}},"id":"https:\/\/rinx.fyi\/posts\/20260726-ghtkn\/","content":"<h2 id=\"\u306f\u3058\u3081\u306b\">\u306f\u3058\u3081\u306b<\/h2>\n<p><a rel=\"external\" href=\"https:\/\/github.com\/suzuki-shunsuke\/ghtkn\">ghtkn<\/a>\u3068\u3044\u3046\u7d20\u6674\u3089\u3057\u3044\u30c4\u30fc\u30eb\u304c\u3042\u308b\u3002\n\u3053\u308c\u306f\u3001GitHub App\u306b\u3088\u308a\u767a\u884c\u3067\u304d\u308bUser Access Token\u3092CLI\u3067\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u308c\u308b\u30c4\u30fc\u30eb\u3060\u3002\u4f55\u304c\u3046\u308c\u3057\u3044\u304b\u3068\u3044\u3046\u3068\u3001\u7279\u5b9a\u306eGitHub Org\u3084\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u307f\u306b\u30a2\u30af\u30bb\u30b9\u3092\u7d5e\u308c\u3066\u3001\u5fc5\u8981\u306a\u6a29\u9650\u306e\u307f\u306b\u9650\u5b9a\u3057\u3066\u3001\u6709\u52b9\u671f\u9650\u304c8\u6642\u9593\u4ee5\u5185\u306e\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u6255\u3044\u51fa\u305b\u308b\u3053\u3068\u3060\u3002<\/p>\n<p>\u6628\u5e74\u3001<a rel=\"external\" href=\"https:\/\/zenn.dev\/shunsuke_suzuki\/articles\/ghtkn-secure-github-token\">\u4f5c\u8005\u306esuzuki-shunsuke\u3055\u3093\u306e\u8a18\u4e8b<\/a>\u3092\u898b\u3066\u5b58\u5728\u306f\u8a8d\u8b58\u3057\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u5f53\u6642\u306f\u305d\u306e\u30e1\u30ea\u30c3\u30c8\u306b\u3042\u307e\u308a\u30d4\u30f3\u3068\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u3002\n\u6628\u4eca\u4e16\u9593\u3092\u9a12\u304c\u305b\u3066\u3044\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u4e8b\u4f8b\u306e\u4e2d\u306b\u306f\u4fb5\u5bb3\u3055\u308c\u305f\u7aef\u672b\u4e0a\u306eGitHub\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u7a83\u53d6\u3059\u308b\u4f8b\u3082\u3042\u308b\u3053\u3068\u3092\u77e5\u3063\u3066\u306f\u3058\u3081\u3066\u3001ghtkn\u306e\u6709\u7528\u6027\u306b\u6c17\u304c\u3064\u3044\u305f\u3002<\/p>\n<p>\u305d\u308c\u4ee5\u6765\u3001\u3053\u30533\u30f6\u6708\u307b\u3069\u958b\u767a\u30d5\u30ed\u30fc\u306bghtkn\u3092\u53d6\u308a\u5165\u308c\u3066\u5229\u7528\u3057\u3066\u304d\u305f\u3002\u3053\u308c\u306b\u95a2\u3057\u3066\u3044\u308d\u3044\u308d\u3068\u601d\u3046\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u66f8\u304d\u7559\u3081\u3066\u304a\u304d\u305f\u3044\u3002<\/p>\n<h2 id=\"ghtkn\u306e\u6d3b\u7528\u30b7\u30fc\u30f3\">ghtkn\u306e\u6d3b\u7528\u30b7\u30fc\u30f3<\/h2>\n<p>\u524d\u304a\u304d\u3068\u3057\u3066\u3001\u79c1\u304cghtkn\u3092\u3069\u306e\u3088\u3046\u306b\u5229\u7528\u3057\u3066\u3044\u308b\u304b\u3082\u7d39\u4ecb\u3057\u3066\u304a\u304f\u3002\nghtkn\u3092\u5229\u7528\u3057\u306f\u3058\u3081\u3066\u4ee5\u6765\u3001GitHub\u306b\u5bfe\u3059\u308bCLI\u4e0a\u306e\u30a2\u30af\u30bb\u30b9(<code>gh<\/code> cli\u3084 <code>git<\/code> \u30b3\u30de\u30f3\u30c9\u306b\u3088\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u30a2\u30af\u30bb\u30b9)\u5168\u3066\u306bghtkn\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3002\nghtkn\u3067\u6255\u3044\u51fa\u3057\u305f\u30c8\u30fc\u30af\u30f3\u3092\u74b0\u5883\u5909\u6570 <code>GH_TOKEN<\/code> \u306b\u6307\u5b9a\u3057\u3066 <code>gh<\/code> \u3092\u5229\u7528\u3057\u3001ghtkn\u3092Git credential helper\u306b\u8a2d\u5b9a\u3057\u3066 <code>git<\/code> \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<h3 id=\"\u79c1\u7528-\u793e\u7528\u30c8\u30fc\u30af\u30f3\u306e\u4f7f\u3044\u5206\u3051\">\u79c1\u7528\u30fb\u793e\u7528\u30c8\u30fc\u30af\u30f3\u306e\u4f7f\u3044\u5206\u3051<\/h3>\n<p>\u79c1\u304c\u6700\u3082\u52b9\u679c\u3092\u611f\u3058\u3066\u3044\u308b\u306e\u304c\u3001\u79c1\u7528\u30fb\u793e\u7528\u30c8\u30fc\u30af\u30f3\u306e\u4f7f\u3044\u5206\u3051\u3060\u3002\n\u79c1\u306e\u6240\u5c5e\u3059\u308b\u7d44\u7e54\u3067\u306f\u3001GitHub Enterprise Cloud\u3092\u5229\u7528\u3057\u3066\u304a\u308a\u3001GitHub\u30a2\u30ab\u30a6\u30f3\u30c8\u306f\u79c1\u7528\u30fb\u793e\u7528\u3067\u540c\u3058\u3082\u306e\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002(GitHub\u306e\u898f\u7d04\u3067\u306f1\u4eba1\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u539f\u5247\u3060\u3063\u305f\u3068\u601d\u3046\u306e\u3067\u3001\u5f53\u7136\u305d\u3046\u306a\u308b\u304c)<\/p>\n<p>\u3088\u3063\u3066\u3001\u79c1\u7528\u7aef\u672b\u304b\u3089\u7d44\u7e54\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3057\u307e\u3046\u3057\u3001\u4f1a\u793e\u306e\u8cb8\u4e0e\u7aef\u672b\u304b\u3089\u3082\u79c1\u7528\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3057\u307e\u3046\u3002\n\u79c1\u7528\u7aef\u672b\u304b\u3089\u306e\u60c5\u5831\u6f0f\u6d29\u304c\u6016\u3044\u306e\u3082\u3068\u3082\u304b\u304f\u3001\u793e\u7528\u7aef\u672b\u304b\u3089\u30c8\u30fc\u30af\u30f3\u304c\u6f0f\u6d29\u3057\u3001\u79c1\u7528\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3084OSS\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u4fb5\u5bb3\u3055\u308c\u308b\u306e\u3082\u907f\u3051\u305f\u3044\u3002\u306a\u3093\u306a\u3089\u3053\u3061\u3089\u306e\u307b\u3046\u304c\u500b\u4eba\u3068\u3057\u3066\u306e\u4fe1\u7528\u306b\u76f4\u63a5\u95a2\u308f\u3063\u3066\u304f\u308b\u307e\u3067\u3042\u308b\u3002<\/p>\n<p>ghtkn\u3092\u4f7f\u3048\u3070\u3001\u7d44\u7e54\u306eOrg\u306b\u30a2\u30af\u30bb\u30b9\u3092\u9650\u5b9a\u3057\u305f\u30c8\u30fc\u30af\u30f3\u3084\u3001\u500b\u4eba\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3092\u9650\u5b9a\u3057\u305f\u30c8\u30fc\u30af\u30f3\u3092\u767a\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5c11\u306a\u304f\u3068\u3082\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u306e\u4f5c\u696d\u3067\u306f\u79c1\u7528\u3068\u793e\u7528\u306e\u5b8c\u5168\u306a\u5206\u96e2\u304c\u5b9f\u73fe\u3067\u304d\u308b\u3002<\/p>\n<h3 id=\"\u8aad\u307f\u53d6\u308a\u5c02\u7528\u30c8\u30fc\u30af\u30f3\">\u8aad\u307f\u53d6\u308a\u5c02\u7528\u30c8\u30fc\u30af\u30f3<\/h3>\n<p>ghtkn\u3067\u306f\u3001\u30c8\u30fc\u30af\u30f3\u767a\u884c\u306b\u5229\u7528\u3059\u308bGitHub App\u306e\u6301\u3064\u6a29\u9650\u7bc4\u56f2\u306b\u3088\u308a\u3001\u767a\u884c\u3055\u308c\u308b\u6a29\u9650\u30b9\u30b3\u30fc\u30d7\u304c\u7d5e\u3089\u308c\u308b\u3002\n\u3064\u307e\u308a\u3001\u8aad\u307f\u53d6\u308a\u6a29\u9650\u3057\u304b\u6301\u305f\u306a\u3044App\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u767a\u884c\u3055\u308c\u308b\u30c8\u30fc\u30af\u30f3\u3082\u307e\u305f\u8aad\u307f\u53d6\u308a\u6a29\u9650\u3057\u304b\u6301\u305f\u306a\u3044\u3002<\/p>\n<p>\u3053\u308c\u304c\u4f55\u306e\u5f79\u306b\u7acb\u3064\u304b\u3068\u3044\u3046\u3068\u3001Claude Code\u306a\u3069\u306eAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u8abf\u67fb\u30bf\u30b9\u30af\u306a\u3069\u3092\u3084\u3089\u305b\u308b\u3068\u304d\u306b\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5bfe\u3059\u308b\u610f\u56f3\u3057\u306a\u3044\u5909\u66f4\u3092\u9632\u3050\u305f\u3081\u306b\u5f79\u7acb\u3064\u3002\n<code>--permission-mode auto<\/code> \u3092\u6307\u5b9a\u3057\u3066Claude\u306b\u8abf\u67fb\u30bf\u30b9\u30af\u3084\u3089\u305b\u308b\u3068\u3001\u6c17\u3092\u304d\u304b\u305b\u3066\u8abf\u67fb\u7d50\u679c\u3092Issue\u306e\u30b3\u30e1\u30f3\u30c8\u306b\u66f8\u304d\u8fbc\u3093\u3060\u308a\u3001\u4fee\u6b63\u306e\u305f\u3081\u306ePull Request\u3092\u4f5c\u3063\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002\u6b63\u76f4\u3053\u308c\u3089\u306f\u3042\u308a\u304c\u305f\u8ff7\u60d1\u306a\u306e\u3067\u3001\u305d\u3082\u305d\u3082\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u306a\u3057\u306e\u6a29\u9650\u3060\u3051\u6e21\u3057\u3066\u304a\u3051\u3070\u3088\u3044\u3060\u308d\u3046\u3068\u3044\u3046\u8003\u3048\u3060\u3002\nAI\u306b\u5bfe\u3057\u3066\u9069\u5207\u306a\u6307\u793a\u3092\u4e0e\u3048\u308c\u3070\u9632\u3052\u308b\u3053\u3068\u3060\u308d\u3046\u3068\u3044\u3046\u6307\u6458\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u500b\u4eba\u7684\u306b\u306f\u6a29\u9650\u7bc4\u56f2\u3092\u7d5e\u308b\u3068\u3044\u3046\u306e\u304c\u3001\u3053\u306e\u554f\u984c\u3078\u306e\u5bfe\u7b56\u3068\u3057\u3066\u6700\u3082\u3057\u3063\u304f\u308a\u304f\u308b\u3002<\/p>\n<h2 id=\"\u7d44\u7e54\u3078\u306e\u5c0e\u5165\u3068\u8ab2\u984c\">\u7d44\u7e54\u3078\u306e\u5c0e\u5165\u3068\u8ab2\u984c<\/h2>\n<h3 id=\"\u7d44\u7e54\u3078\u306e\u5c0e\u5165\">\u7d44\u7e54\u3078\u306e\u5c0e\u5165<\/h3>\n<p>\u3055\u3066\u3001\u524d\u8ff0\u306e\u3088\u3046\u306b\u5229\u7528\u3059\u308b\u305f\u3081\u3001\u7d44\u7e54\u306eOrg\u306bGitHub App\u3092\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002\u79c1\u306f\u7d44\u7e54\u5185\u3067\u306fOrg\u3092\u7ba1\u7406\u3059\u308b\u7acb\u5834\u3067\u306f\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u95a2\u4fc2\u90e8\u7f72\u3078\u306e\u63d0\u6848\u3084\u8aac\u5f97\u3092\u884c\u3063\u305f\u3002\u305d\u306e\u969b\u306b\u610f\u8b58\u3057\u305f\u306e\u306f\u6b21\u306e\u3088\u3046\u306a\u30dd\u30a4\u30f3\u30c8\u3060\u3063\u305f\u3002<\/p>\n<ul>\n<li>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u61f8\u5ff5\u306e\u5c11\u306a\u3044\u6a29\u9650\u8a2d\u8a08<\/li>\n<li>\u5177\u4f53\u7684\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3092\u4ea4\u3048\u305f\u8aac\u660e<\/li>\n<li>\u5229\u7528\u8005\u5411\u3051\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u6574\u5099<\/li>\n<\/ul>\n<h4 id=\"\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u61f8\u5ff5\u306e\u5c11\u306a\u3044\u6a29\u9650\u8a2d\u8a08\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u61f8\u5ff5\u306e\u5c11\u306a\u3044\u6a29\u9650\u8a2d\u8a08<\/h4>\n<p>\u7d44\u7e54\u3078\u306e\u5c0e\u5165\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u3001\u500b\u5225\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u306f\u306a\u304f\u3001Org\u5168\u4f53\u306b\u5bfe\u3059\u308b\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u6301\u3064GitHub App\u3092\u4f5c\u6210\u3067\u304d\u308b\u3068\u8a71\u304c\u65e9\u3044\u3002\n\u305d\u306e\u3088\u3046\u306a\u5e83\u3044\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u6301\u3064App\u3092\u7528\u610f\u3059\u308b\u3068\u306a\u308b\u3068\u3001\u5f53\u7136\u3060\u304c\u5fc5\u8981\u6700\u5c0f\u9650\u306e\u6a29\u9650\u306e\u307f\u3092\u3064\u3051\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3002\n\u305d\u306e\u305f\u3081\u3001\u63d0\u6848\u306e\u969b\u306b\u306f\u3001 <code>gh<\/code> \u3084 <code>git<\/code> \u304b\u3089\u5177\u4f53\u7684\u306b\u5229\u7528\u304c\u60f3\u5b9a\u3055\u308c\u308b\u6a29\u9650\u306e\u4e00\u89a7\u3092\u7528\u610f\u3057\u305f\u3002\n\u5177\u4f53\u7684\u306b\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u95a2\u3059\u308b\u6a29\u9650\u306f\u3001\u4e00\u822c\u7684\u306a <code>gh<\/code>, <code>git<\/code> \u5229\u7528\u306b\u95a2\u9023\u3059\u308b\u3082\u306e \u306e\u307f\u4ed8\u4e0e\u3059\u308b\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u61f8\u5ff5\u304c\u8003\u3048\u3089\u308c\u308b\u3082\u306e\u306f\u4ed8\u4e0e\u3057\u306a\u3044\n<ul>\n<li>Administration, Secrets, Variables\u306a\u3069\u306e\u6a29\u9650\u306f\u4e0e\u3048\u306a\u3044<\/li>\n<li>Secret scanning alert, Dependabot alert\u306a\u3069\u3082\u3001AI\u304c\u8aa4\u3063\u3066\u30a2\u30e9\u30fc\u30c8\u3092\u9589\u3058\u308b\u3053\u3068\u304c\u306a\u3044\u3088\u3046\u306b\u6a29\u9650\u3092\u4e0e\u3048\u306a\u3044<\/li>\n<\/ul>\n<\/li>\n<li>Organization\u306b\u95a2\u3059\u308b\u6a29\u9650\u306f\u3001\u3088\u304f\u5229\u7528\u3055\u308c\u308bMembers, Projects\u306e\u307f\u4ed8\u4e0e\u3059\u308b<\/li>\n<\/ul>\n<p>\u7279\u306b\u30af\u30ea\u30c6\u30a3\u30ab\u30eb\u306b\u306a\u308a\u305d\u3046\u306a\u6a29\u9650\u3092\u305d\u3082\u305d\u3082\u4ed8\u4e0e\u3057\u306a\u3044\u3053\u3068\u3067\u3001\u4e07\u304c\u4e00\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u304c\u6f0f\u308c\u305f\u969b\u306b\u3082\u88ab\u5bb3\u7bc4\u56f2\u3092\u5c0f\u3055\u304f\u3068\u3069\u3081\u3089\u308c\u308b\u3088\u3046\u306b\u3057\u305f\u3002<\/p>\n<h4 id=\"\u5177\u4f53\u7684\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3092\u4ea4\u3048\u305f\u8aac\u660e\">\u5177\u4f53\u7684\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u3092\u4ea4\u3048\u305f\u8aac\u660e<\/h4>\n<p>\u3053\u306e\u4ed5\u7d44\u307f\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u4f55\u304c\u3046\u308c\u3057\u3044\u306e\u304b\u3001\u3069\u306e\u3088\u3046\u306a\u30e1\u30ea\u30c3\u30c8\u304c\u5f97\u3089\u308c\u308b\u306e\u304b\u3092\u3001\u7d44\u7e54\u8996\u70b9\u3068\u5229\u7528\u8005\u8996\u70b9\u304b\u3089\u8aac\u660e\u3057\u305f\u3002\n\u79c1\u306e\u6240\u5c5e\u3059\u308b\u7d44\u7e54\u3067\u306f\u3001\u904e\u53bb\u306bOrg\u5916\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u696d\u52d9\u30b3\u30fc\u30c9\u3092\u8aa4\u3063\u3066\u30d7\u30c3\u30b7\u30e5\u3057\u3066\u3057\u307e\u3046\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u304c\u3042\u3063\u305f\u3088\u3046\u306a\u306e\u3067\u3001\u305d\u306e\u3088\u3046\u306a\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u3082\u9632\u3052\u308b\u3053\u3068\u3092\u8a34\u3048\u305f\u3002<\/p>\n<h4 id=\"\u5229\u7528\u8005\u5411\u3051\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u6574\u5099\">\u5229\u7528\u8005\u5411\u3051\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u6574\u5099<\/h4>\n<p>\u7d44\u7e54\u3068\u3057\u3066\u8aa4\u30d7\u30c3\u30b7\u30e5\u3092\u9632\u3050\u3068\u3044\u3046\u76ee\u7684\u306e\u305f\u3081\u306b\u306f\u3001\u8aa4\u30d7\u30c3\u30b7\u30e5\u3092\u3057\u3066\u3057\u307e\u3044\u304b\u306d\u306a\u3044\u4eba\u305f\u3061\u306b\u3082\u3053\u306e\u4ed5\u7d44\u307f\u3092\u5229\u7528\u3057\u3066\u3082\u3089\u3046\u5fc5\u8981\u304c\u3042\u308b\u3002\nghtkn\u516c\u5f0f\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3082\u6c7a\u3057\u3066\u308f\u304b\u308a\u3065\u3089\u3044\u3053\u3068\u306f\u306a\u3044\u306e\u3060\u304c\u3001\u3053\u306e\u5c64\u306e\u4eba\u305f\u3061\u3067\u3082\u30cf\u30fc\u30c9\u30eb\u3092\u611f\u3058\u305a\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u3055\u3089\u306b\u565b\u307f\u7815\u3044\u305f\u5185\u5bb9\u306e\u5229\u7528\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u7528\u610f\u3057\u305f\u3002<\/p>\n<h3 id=\"\u5229\u7528\u306f\u500b\u4eba\u306e\u88c1\u91cf\u306b\u4efb\u3055\u308c\u3066\u3057\u307e\u3046\">\u5229\u7528\u306f\u500b\u4eba\u306e\u88c1\u91cf\u306b\u4efb\u3055\u308c\u3066\u3057\u307e\u3046<\/h3>\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001\u7d44\u7e54\u306b\u5c0e\u5165\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u306f\u5e83\u304f\u3044\u308d\u3044\u308d\u306a\u4eba\u306b\u4f7f\u3063\u3066\u3082\u3089\u3048\u308b\u3088\u3046\u306b\u8db3\u56de\u308a\u3092\u56fa\u3081\u305f\u306e\u3060\u304c\u3001\u5b9f\u969b\u306b\u5229\u7528\u3055\u308c\u308b\u304b\u3069\u3046\u304b\u306f\u5225\u554f\u984c\u3060\u3002\nghtkn\u306fGitHub\u306e\u516c\u5f0f\u306e\u30c4\u30fc\u30eb\u3067\u306f\u306a\u3044\u305f\u3081\u3001Org\u306e\u30dd\u30ea\u30b7\u30fc\u306a\u3069\u3067\u5229\u7528\u3092\u5f37\u5236\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u3002\n\u4e00\u90e8\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u610f\u8b58\u306e\u9ad8\u3044\u4eba\u305f\u3061\u306b\u306f\u3059\u3050\u306b\u5229\u7528\u304c\u5e83\u307e\u3063\u305f\u306e\u3060\u304c\u3001\u672c\u5f53\u306b\u5229\u7528\u3057\u3066\u3082\u3089\u3044\u305f\u3044\u5c64\u306b\u50cd\u304d\u304b\u3051\u3066\u3044\u304f\u306e\u306f\u3053\u308c\u304b\u3089\u3060\u3002\n\u7d50\u5c40\u3053\u306e\u3042\u305f\u308a\u306f\u5730\u9053\u306a\u8349\u306e\u6839\u6d3b\u52d5\u3092\u3057\u3066\u3044\u304f\u3057\u304b\u306a\u3044\u3068\u306f\u601d\u3046\u304c\u3001\u3053\u3046\u3044\u3046\u3068\u3053\u308d\u3053\u305d\u3046\u307e\u304fAI\u306a\u3093\u304b\u3092\u6d3b\u7528\u3057\u3066\u52b9\u7387\u7684\u306b\u5e83\u3081\u3089\u308c\u305f\u3089\u826f\u3044\u306a\u3068\u601d\u3046\u3002<\/p>\n<p>\u307e\u305f\u3001\u79c1\u306e\u6240\u5c5e\u3059\u308b\u7d44\u7e54\u306b\u306f\u696d\u52d9\u59d4\u8a17\u306a\u3069\u3067\u53c2\u753b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u4eba\u3082\u591a\u304f\u3001\u30c8\u30fc\u30af\u30f3\u7ba1\u7406\u3092ghtkn\u306b\u7d71\u4e00\u3059\u308b\u3053\u3068\u304c\u96e3\u3057\u3044\u5834\u5408\u304c\u3042\u308b\u306e\u3082\u8ab2\u984c\u3060\u3002\u305d\u306e\u4eba\u304cGitHub\u4e0a\u3067\u95a2\u308f\u308b\u5168\u3066\u306eOrg\u3067ghtkn\u5229\u7528\u3078\u306e\u5bfe\u5fdc\u304c\u884c\u308f\u308c\u306a\u3044\u3068\u5c0e\u5165\u306e\u610f\u5473\u306f\u8584\u304f\u3001\u5229\u7528\u8005\u306e\u8ca0\u62c5\u3082\u5927\u304d\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n<p>\u7d50\u5c40\u306e\u3068\u3053\u308d\u306f\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30c4\u30fc\u30eb\u3067\u306f\u306a\u304fGitHub\u516c\u5f0f\u304b\u3089\u3053\u306e\u3042\u305f\u308a\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u8853\u304c\u63d0\u4f9b\u3055\u308c\u308b\u306e\u304c\u6700\u5584\u3060\u3068\u601d\u3046\u3002\u95a2\u9023Issue\u306a\u3069\u3092\u898b\u308b\u9650\u308a\u306fGitHub\u5074\u306f\u3084\u308b\u6c17\u306f\u306a\u3055\u305d\u3046\u3060\u304c\u3002<\/p>\n<h2 id=\"github\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u5229\u7528\u3092\u3084\u3081\u308b\u3068\u3044\u3046\u9078\u629e\">GitHub\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u5229\u7528\u3092\u3084\u3081\u308b\u3068\u3044\u3046\u9078\u629e<\/h2>\n<p>\u6975\u7aef\u306a\u8a71\u3001\u79c1\u500b\u4eba\u306e\u4e8b\u60c5\u306b\u9650\u3063\u3066\u8a00\u3048\u3070\u3001GitHub\u306f\u4ed5\u4e8b\u5c02\u7528\u306b\u5272\u308a\u5207\u3063\u3066\u5229\u7528\u3059\u308c\u3070\u5168\u3066\u306e\u554f\u984c\u306f\u89e3\u6c7a\u3059\u308b\u3002\n\u6700\u8fd1\u3067\u306f\u5ea6\u3005\u8457\u540d\u306aOSS\u304cGitHub\u4ee5\u5916\u306eGit\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u306b\u5f15\u3063\u8d8a\u3059\u4f8b\u3082\u3042\u308b\u308f\u3051\u3060\u3057\u3001\u308f\u3056\u308f\u3056GitHub\u3092\u5229\u7528\u3057\u7d9a\u3051\u308b\u7406\u7531\u3082\u305d\u3053\u307e\u3067\u306f\u306a\u3044\u3002\n<a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\">dotfiles<\/a>\u306a\u3093\u304b\u306fGitHub Actions\u306b\u304c\u3063\u3061\u308a\u30ed\u30c3\u30af\u30a4\u30f3\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u304c\u3001\u3053\u308c\u304b\u3089\u4f5c\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u306ftangled.org\u304bSourceHut\u306b\u7c4d\u3092\u7f6e\u304f\u306e\u304c\u3088\u3055\u305d\u3046\u3060\u3068\u601d\u3063\u3066\u3044\u308b\u3002<\/p>\n<h2 id=\"\u304a\u308f\u308a\u306b\">\u304a\u308f\u308a\u306b<\/h2>\n<p>\u3053\u3053\u307e\u3067\u66f8\u3044\u305f\u3088\u3046\u306b\u3001ghtkn\u306f\u65e2\u306b\u79c1\u306e\u65e5\u3005\u306e\u958b\u767a\u30d5\u30ed\u30fc\u306e\u4e2d\u3067\u306f\u3001\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u30c4\u30fc\u30eb\u306e1\u3064\u3068\u306a\u3063\u3066\u3044\u308b\u3002\n\u3082\u3057\u3053\u3053\u306b\u66f8\u3044\u305f\u3088\u3046\u306a\u8ab2\u984c\u3092\u611f\u3058\u3066\u3044\u308b\u65b9\u306f\u3001\u305c\u3072ghtkn\u3092\u8a66\u3057\u3066\u307f\u3066\u307b\u3057\u3044\u3002\u3053\u306e\u30c4\u30fc\u30eb\u3092\u6d3b\u7528\u3057\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306a\u61f8\u5ff5\u30921\u3064\u306a\u304f\u3059\u3053\u3068\u3067\u3001\u3053\u308c\u307e\u3067\u3088\u308a\u3082\u958b\u767a\u306b\u96c6\u4e2d\u3067\u304d\u308b\u74b0\u5883\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u601d\u3046\u3002<\/p>\n"},{"title":"nixos-lima\u3092\u958b\u767a\u74b0\u5883\u3068\u3057\u3066\u4f7f\u3046","published":"2026-07-13T00:00:00+00:00","updated":"2026-07-13T00:00:00+00:00","author":{"name":"\n            \n              rinx\n            \n          "},"link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/rinx.fyi\/posts\/20260713-nixos-lima\/"}},"id":"https:\/\/rinx.fyi\/posts\/20260713-nixos-lima\/","content":"<h2 id=\"\u306f\u3058\u3081\u306b\">\u306f\u3058\u3081\u306b<\/h2>\n<p>2\u5e74\u307b\u3069\u524d\u304b\u3089\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u3067\u3082\u696d\u52d9\u3067\u3082\u3001\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u306fNix\u3092\u5229\u7528\u3057\u3066\u304d\u305f\u3002<\/p>\n<p>\u6628\u5e74\u79cb\u3054\u308d\u3001\u7a81\u5982\u964d\u3063\u3066\u304d\u305f\u3084\u3093\u3054\u3068\u306a\u304d\u4e8b\u60c5\u306b\u3088\u308a\u3001\u696d\u52d9\u7528MacBook\u3067\u306eNix\u5229\u7528\u304c\u7981\u6b62\u3055\u308c\u3066\u3057\u307e\u3063\u305f\u3002\n\u305d\u308c\u307e\u3067\u306f\u4f55\u306e\u554f\u984c\u3082\u306a\u304f\u4f7f\u3048\u3066\u3044\u305f\u3057\u3001\u793e\u5185\u306b\u3082flake.nix\u3092\u914d\u7f6e\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u591a\u6570\u3042\u3063\u305f\u306b\u3082\u95a2\u308f\u3089\u305a\u3001\u3067\u3042\u308b\u3002\n\u4e00\u6642\u671f\u306f\u3053\u306e\u3042\u305f\u308a\u306e\u6c7a\u5b9a\u6a29\u3092\u6301\u3064\u4eba\u305f\u3061\u3092\u8aac\u5f97\u3059\u308b\u305f\u3081\u3001\u3044\u308d\u3044\u308d\u3068\u50cd\u304d\u304b\u3051\u3066\u306f\u307f\u305f\u304c\u3001\u8b70\u8ad6\u304c\u9032\u3080\u6c17\u914d\u306f\u306a\u304f\u3001\u3053\u3093\u306a\u3053\u3068\u306b\u6642\u9593\u3084\u52b4\u529b\u3092\u5272\u304f\u306e\u3082\u3070\u304b\u3070\u304b\u3057\u3044\u3068\u601d\u3046\u306b\u81f3\u308b\u307e\u3067\u305d\u3046\u6642\u9593\u306f\u304b\u304b\u3089\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>\u3068\u306f\u3044\u3048\u3001\u4f7f\u3044\u6163\u308c\u305f\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u306a\u3044\u74b0\u5883\u3067\u6210\u679c\u3092\u51fa\u305b\u3068\u8a00\u308f\u308c\u3066\u3082\u7121\u7406\u306a\u8a71\u3060\u3002\u3069\u3046\u306b\u304b\u3057\u3066\u696d\u52d9\u7aef\u672b\u4e0a\u3067Nix\u3092\u5229\u7528\u3057\u3066\u958b\u767a\u74b0\u5883\u3092\u7528\u610f\u3059\u308b\u65b9\u6cd5\u306f\u306a\u3044\u304b\u3068\u8003\u3048\u3066\u307f\u305f\u3002\n\u307e\u305a\u601d\u3044\u3064\u3044\u305f\u306e\u306fDocker\u30b3\u30f3\u30c6\u30ca\u5185\u3067\u958b\u767a\u3092\u5b8c\u7d50\u3055\u305b\u308b\u65b9\u6cd5\u3060\u3002\u30b3\u30f3\u30c6\u30ca\u306e\u4e2d\u3067\u306a\u3089Nix\u3092\u4f7f\u3063\u3066\u3082\u554f\u984c\u306a\u3044\u3060\u308d\u3046\u3002\n\u305f\u3060\u3001MacBook\u3001\u305d\u308c\u3082\u79c1\u306e\u8cb8\u4e0e\u3055\u308c\u3066\u3044\u308bMacBook Air\u306f\u3042\u307e\u308a\u30e1\u30e2\u30ea\u306b\u4f59\u529b\u306f\u306a\u3044\u3002Docker Desktop\u3092\u5e38\u6642\u8d70\u3089\u305b\u3066\u305d\u306e\u4e0a\u3067\u958b\u767a\u7528\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u52d5\u304b\u3059\u306e\u306f\u82e5\u5e72\u5fc3\u7d30\u3044\u3002\n\u3067\u3042\u308c\u3070\u3001\u305d\u3082\u305d\u3082\u30b3\u30f3\u30c6\u30ca\u3067\u306f\u306a\u304f\u4eee\u60f3\u30de\u30b7\u30f3\u306a\u3089\u3069\u3046\u304b\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u8003\u3048\u305f\u306e\u304c\u3001Lima\u3067NixOS\u306eVM\u3092\u7acb\u3066\u3001\u305d\u306e\u4e2d\u3067\u958b\u767a\u3092\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3067\u3042\u308b\u3002<\/p>\n<h2 id=\"nixos-on-lima\">NixOS on Lima<\/h2>\n<p>Lima\u4e0a\u306bNixOS\u306eVM\u3092\u7acb\u3066\u308b\u8a66\u307f\u306f\u3001\u65e2\u306b\u524d\u4f8b\u304c\u305f\u304f\u3055\u3093\u3042\u3063\u305f\u306e\u3067\u53c2\u8003\u306b\u3055\u305b\u3066\u3082\u3089\u3063\u305f\u3002<\/p>\n<ul>\n<li><a rel=\"external\" href=\"https:\/\/www.joshkasuboski.com\/posts\/nix-dev-environment\/\">NixOS Dev Environment on Mac<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/zenn.dev\/eiel\/articles\/8bb659a9c54f81\">lima\u3067NixOS\u3092\u5c0e\u5165\u3059\u308b<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/zenn.dev\/holidayworking\/scraps\/38c8f09bc113ca\">NixOS on Lima<\/a><\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u8a18\u4e8b\u3067\u3082\u53c2\u7167\u3055\u308c\u3066\u3044\u308b <a rel=\"external\" href=\"https:\/\/github.com\/nixos-lima\">nixos-lima<\/a> \u306e\u6210\u679c\u7269\u3092\u5229\u7528\u3057\u305f\u3002<\/p>\n<p>\u69cb\u7bc9\u306b\u3042\u305f\u3063\u3066\u3064\u307e\u3065\u3044\u305f\u30dd\u30a4\u30f3\u30c8\u306f\u591a\u3005\u3042\u3063\u305f\u304c\u3001\u6700\u7d42\u7684\u306b\u306fLima\u7528\u306e\u6b21\u306e\u3088\u3046\u306aYAML\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3002\n<a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/8d77fc6628d4455db77394dedf9e24618e64cb57\/macos\/lima\/nixos.yaml\">https:\/\/github.com\/rinx\/dotfiles\/blob\/8d77fc6628d4455db77394dedf9e24618e64cb57\/macos\/lima\/nixos.yaml<\/a><\/p>\n<p><code>limactl start<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u6b21\u306e\u3088\u3046\u306b\u5b9f\u884c\u3059\u308c\u3070Lima VM\u304c\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre class=\"giallo\" style=\"color: #CDD6F4; background-color: #1E1E2E;\"><code data-lang=\"shellscript\"><span class=\"giallo-l\"><span style=\"color: #89B4FA;font-style: italic;\">\u276f<\/span><span style=\"color: #A6E3A1;\"> limactl start github:rinx\/dotfiles<\/span><\/span><\/code><\/pre>\n<p>\u958b\u767a\u74b0\u5883\u3068\u3057\u3066\u3053\u306eLima VM\u3092\u5229\u7528\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u3001\u8981\u70b9\u306f\u6b21\u306e\u3068\u304a\u308a\u3002<\/p>\n<ol>\n<li><a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/8d77fc6628d4455db77394dedf9e24618e64cb57\/macos\/lima\/nixos.yaml#L60\">SSH Agent Forwarding\u3092\u8a2d\u5b9a<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/8d77fc6628d4455db77394dedf9e24618e64cb57\/macos\/lima\/nixos.yaml#L45-L48\">GPG Agent Forwarding\u3092\u8a2d\u5b9a<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/8d77fc6628d4455db77394dedf9e24618e64cb57\/macos\/lima\/nixos.yaml#L49-L52\">VM\u5185\u304b\u3089xdg-open\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308bUnix Domain Socket\u3092Forwarding<\/a><\/li>\n<li><a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/8d77fc6628d4455db77394dedf9e24618e64cb57\/macos\/lima\/nixos.yaml#L70\">VM\u8d77\u52d5\u5f8c\u306e\u521d\u671f\u8a2d\u5b9a\u306e\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6848\u5185\u3059\u308bmessage<\/a><\/li>\n<\/ol>\n<p>1\u30842\u306f\u3088\u304f\u3042\u308b\u8a2d\u5b9a\u306a\u306e\u3067\u3001\u898b\u305f\u901a\u308a\u8a2d\u5b9a\u3059\u308c\u3070\u826f\u3044\u3002<\/p>\n<p>3\u306fVM\u5185\u3067 <code>xdg-open<\/code> \u30b3\u30de\u30f3\u30c9\u306b\u898b\u305b\u304b\u3051\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Unix Domain Socket\u7d4c\u7531\u3067\u30db\u30b9\u30c8\u5074\u306e <code>open<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u53e9\u304f\u4ed5\u7d44\u307f\u306e\u305f\u3081\u306b\u7528\u610f\u3057\u3066\u3042\u308b\u3002\n\u3053\u308c\u306f\u3001VM\u5185\u306eNeovim\u304b\u3089\u4f55\u304b\u3057\u3089\u306eURL\u3092\u30db\u30b9\u30c8\u5074\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u304d\u305f\u3044\u3053\u3068\u304c\u591a\u3005\u3042\u3063\u305f\u305f\u3081\u81ea\u4f5c\u3057\u305f\u3002(<a rel=\"external\" href=\"https:\/\/tangled.org\/rinx.tngl.sh\/xsr\">https:\/\/tangled.org\/rinx.tngl.sh\/xsr<\/a>)\n\u540c\u3058\u4ed5\u7d44\u307f\u306f\u5272\u3068\u3088\u304f\u3042\u308b\u3082\u306e\u306a\u306e\u3067\u3001 <a rel=\"external\" href=\"https:\/\/carlosbecker.com\/posts\/pbcopy-pbpaste-open-ssh\/\">Using open, pbcopy and pbpaste over SSH<\/a> \u306a\u3069\u3092\u53c2\u8003\u306b\u3059\u308b\u3068\u826f\u3044\u3002<\/p>\n<p>4\u306f <code>limactl start<\/code> \u5b9f\u884c\u6642\u306b\u8868\u793a\u3055\u308c\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u3002\nGPG pubkey\u3084ownertrust\u306eimport\u306a\u3069\u3001\u5fc5\u305a\u5b9f\u884c\u3057\u3066\u304a\u304f\u3079\u304d\u3082\u308d\u3082\u308d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u3053\u3053\u306b\u66f8\u3044\u3066\u304a\u304f\u3068\u3001\u5b9f\u969b\u306b\u958b\u767a\u4f5c\u696d\u3092\u3059\u308b\u3068\u304d\u306b\u8a2d\u5b9a\u4e0d\u5099\u3067\u6642\u9593\u3092\u596a\u308f\u308c\u308b\u3053\u3068\u304c\u306a\u3044\u306e\u3067\u52a9\u304b\u308b\u3002<\/p>\n<h2 id=\"nixos\u30a4\u30e1\u30fc\u30b8\u306eci\u4e0a\u3067\u306e\u30d3\u30eb\u30c9\">NixOS\u30a4\u30e1\u30fc\u30b8\u306eCI\u4e0a\u3067\u306e\u30d3\u30eb\u30c9<\/h2>\n<p>Lima\u7528\u306eYAML\u4e0a\u3067\u53c2\u7167\u3059\u308bVM\u7528\u30a4\u30e1\u30fc\u30b8\u306f\u3001\u81ea\u5206\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306eGitHub Actions\u4e0a\u3067\u30d3\u30eb\u30c9\u3057\u3001Release Assets\u3068\u3057\u3066Publish\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u4f8b: <a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/releases\/tag\/2026.06.20\">https:\/\/github.com\/rinx\/dotfiles\/releases\/tag\/2026.06.20<\/a><\/p>\n<p>\u81ea\u52d5\u30d3\u30eb\u30c9\u306e\u4ed5\u7d44\u307f\u81ea\u4f53\u306f\u307b\u3068\u3093\u3069nixos-lima\u306e\u3082\u306e\u3092\u6d41\u7528\u3057\u3066\u69cb\u7bc9\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u3068\u306f\u3044\u3048\u3001\u79c1\u3082\u5b9f\u969b\u306b\u5c0e\u5165\u3057\u3066\u3044\u308b\u30ab\u30b9\u30bf\u30e0\u90e8\u5206\u306f\u305d\u3046\u591a\u304f\u306f\u306a\u3044\u3002\u4e3b\u8981\u306a\u3068\u3053\u308d\u306f\u6b21\u306e2\u70b9\u304f\u3089\u3044\u3060\u3002<\/p>\n<ul>\n<li><code>dockerd<\/code> \u3092\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u8d77\u52d5\u3059\u308b<\/li>\n<li>Kitty\u7528\u306eterminfo\u3092\u4e8b\u524d\u306b\u5c0e\u5165\u3057\u3066\u304a\u304f<\/li>\n<\/ul>\n<h2 id=\"\u5b9f\u969b\u5229\u7528\u3057\u3066\u307f\u3066\">\u5b9f\u969b\u5229\u7528\u3057\u3066\u307f\u3066<\/h2>\n<p>\u3053\u306e\u958b\u767a\u74b0\u5883\u3092\u5b9f\u969b\u306b\u5229\u7528\u3057\u306f\u3058\u3081\u305f\u306e\u306f\u4eca\u5e74\u306e4\u6708\u3054\u308d\u304b\u3089\u3067\u3001\u304a\u304a\u3088\u305d3\u30f6\u6708\u9593\u904b\u7528\u3057\u3066\u304d\u305f\u308f\u3051\u3060\u304c\u3001\u500b\u4eba\u7684\u306a\u611f\u89e6\u3068\u3057\u3066\u306f\u304b\u306a\u308a\u826f\u3044\u3002\n\u307e\u305a\u3001\u30db\u30b9\u30c8OS\u4e0a\u306b\u4f59\u8a08\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u3002Lima\u3060\u3051\u5165\u308c\u3066\u304a\u3051\u3070\u958b\u767a\u74b0\u5883\u3092VM\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u8d77\u52d5\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u3068\u3066\u3082\u885b\u751f\u7684\u306b\u611f\u3058\u308b\u3002\n\u3082\u3057\u5229\u7528\u3057\u3066\u3044\u308b\u3046\u3061\u306bVM\u4e0a\u306b\u4f55\u304b\u554f\u984c\u304c\u751f\u3058\u305f\u3068\u3057\u3066\u3082\u3001VM\u3092\u6d88\u3057\u3066\u8d77\u52d5\u3057\u76f4\u305b\u3070\u826f\u3044\u3001\u3068\u3044\u3046\u524d\u63d0\u304c\u3042\u308b\u306e\u306f\u6c17\u6301\u3061\u306e\u9762\u3067\u3082\u975e\u5e38\u306b\u697d\u3060\u3002<\/p>\n<p>\u307e\u305f\u3001\u540c\u69d8\u306e\u4ed5\u7d44\u307f\u3067<a rel=\"external\" href=\"https:\/\/github.com\/rinx\/dotfiles\/blob\/8d77fc6628d4455db77394dedf9e24618e64cb57\/macos\/lima\/sandbox.yaml\">sandbox.yaml<\/a>\u3068\u3044\u3046Lima\u7528\u306eYAML\u3082\u7528\u610f\u3057\u3066\u3042\u308b\u3002\n\u3053\u308c\u306f\u3001Claude Code\u306a\u3069\u306eAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u81ea\u7531\u306b\u89e6\u3089\u305b\u308b\u7528\u306eVM\u3092\u7acb\u3066\u308b\u305f\u3081\u306b\u5229\u7528\u3057\u3066\u3044\u308b\u3002\u81ea\u5206\u304c\u89e6\u308b\u306e\u3068\u307b\u307c\u540c\u3058\u74b0\u5883\u3092AI\u304c\u81ea\u7531\u306b\u89e6\u308c\u308b\u3088\u3046\u306b\u3057\u3066(\u6700\u60aa\u58ca\u3057\u3066\u3082\u3044\u3044\u3088\u3046\u306b)\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u958b\u767a\u52b9\u7387\u3092\u9ad8\u3081\u3088\u3046\u3068\u3044\u3046\u8a66\u307f\u3060\u3002\n\u3053\u3061\u3089\u3082\u4eca\u306e\u3068\u3053\u308d\u3046\u307e\u304f\u6d3b\u7528\u3067\u304d\u3066\u3044\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u611f\u3058\u3066\u3044\u308b\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u3001\u552f\u4e00\u61f8\u5ff5\u3055\u308c\u308b\u70b9\u3068\u3057\u3066\u306f\u3001nixos-lima\u306fLima\u516c\u5f0f\u304b\u3089\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30a4\u30e1\u30fc\u30b8\u3067\u306f\u306a\u3044\u70b9\u3060\u3002\u305d\u306e\u305f\u3081\u3001Lima\u5074\u306b\u7834\u58ca\u7684\u5909\u66f4\u304c\u3042\u308b\u3068\u7a00\u306b\u30a4\u30e1\u30fc\u30b8\u304c\u8d77\u52d5\u3067\u304d\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002\n\u5b9f\u969b\u3001Lima\u304cv2.1.0\u3067\u5c0e\u5165\u3057\u305f\u5909\u66f4\u306b\u3088\u308a\u3001\u305d\u308c\u307e\u3067\u8d77\u52d5\u3067\u304d\u3066\u3044\u305f\u3082\u306e\u304c\u8d77\u52d5\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002\u3053\u306e\u3068\u304d\u306fnixos-lima\u306b<a rel=\"external\" href=\"https:\/\/github.com\/nixos-lima\/nixos-lima\/pull\/52\">\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u3066<\/a>\u554f\u984c\u3092\u89e3\u6c7a\u3057\u305f\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u300cVM\u4e0a\u3067NixOS\u3092\u958b\u767a\u74b0\u5883\u3068\u3057\u3066\u5229\u7528\u3059\u308b\u300d\u3068\u3044\u3046\u306e\u306f <a rel=\"external\" href=\"https:\/\/github.com\/mitchellh\/nixos-config\">mitchellh\/nixos-config<\/a> \u3067\u3082\u7d39\u4ecb\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u3001\u305d\u308c\u306a\u308a\u306b\u6b74\u53f2\u3068\u5b9f\u7e3e\u306e\u3042\u308b\u65b9\u6cd5\u3068\u8a00\u3048\u308b\u3002\n\u4e07\u4eba\u306b\u53d7\u3051\u308b\u65b9\u6cd5\u3067\u306f\u306a\u3044\u304c\u3001\u30cf\u30de\u308b\u3068\u3053\u308d\u306b\u306f\u30cf\u30de\u308b\u30bf\u30a4\u30d7\u306e\u624b\u6cd5\u306a\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3046\u3002<\/p>\n"}]}