[{"data":1,"prerenderedAt":179},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Fcli\u002Ffork":3},{"id":4,"title":5,"body":6,"description":16,"extension":172,"meta":173,"navigation":174,"path":175,"seo":176,"stem":177,"__hash__":178},"docs\u002Fdocs\u002Fv2\u002Fcli\u002Ffork.md","axon fork",{"type":7,"value":8,"toc":169},"minimark",[9,13,17,67,78,83,98,107,148,165],[10,11,5],"h1",{"id":12},"axon-fork",[14,15,16],"p",{},"Clone a published artifact under a name you own, ready to change and publish.",[18,19,24],"pre",{"className":20,"code":21,"language":22,"meta":23,"style":23},"language-bash shiki shiki-themes dark-plus","axon fork @axon\u002Fgithub --as @me\u002Fgithub\naxon fork @axon\u002Fgithub --as @me\u002Fgithub .\u002Ftools\n","bash","",[25,26,27,50],"code",{"__ignoreMap":23},[28,29,32,36,40,43,47],"span",{"class":30,"line":31},"line",1,[28,33,35],{"class":34},"sCudf","axon",[28,37,39],{"class":38},"sKc5r"," fork",[28,41,42],{"class":38}," @axon\u002Fgithub",[28,44,46],{"class":45},"scz_3"," --as",[28,48,49],{"class":38}," @me\u002Fgithub\n",[28,51,53,55,57,59,61,64],{"class":30,"line":52},2,[28,54,35],{"class":34},[28,56,39],{"class":38},[28,58,42],{"class":38},[28,60,46],{"class":45},[28,62,63],{"class":38}," @me\u002Fgithub",[28,65,66],{"class":38}," .\u002Ftools\n",[14,68,69,70,73,74,77],{},"Downloads the source, rewrites its package identity to the name you gave, and leaves you a\nproject you can ",[25,71,72],{},"prepare"," and ",[25,75,76],{},"publish"," as your own.",[79,80,82],"h2",{"id":81},"fork-vs-clone","fork vs clone",[14,84,85,92,93,97],{},[86,87,89],"a",{"href":88},"\u002Fdocs\u002Fv2\u002Fcli\u002Fclone",[25,90,91],{},"axon clone"," gives you the artifact ",[94,95,96],"strong",{},"as it is"," — same name, same\nscope. It is for reading the source, or for running a modified copy locally.",[14,99,100,92,103,106],{},[25,101,102],{},"fork",[94,104,105],{},"as yours",". The rename is the whole difference, and it is\nthe part that is tedious and easy to half-finish by hand: publishing a clone would fail on\na scope you do not own, and fixing that means editing the manifest, the config and every\ninternal reference.",[18,108,110],{"className":20,"code":109,"language":22,"meta":23,"style":23},"axon fork @axon\u002Fgithub --as @me\u002Fgithub\ncd github\naxon prepare\naxon publish\n",[25,111,112,124,132,140],{"__ignoreMap":23},[28,113,114,116,118,120,122],{"class":30,"line":31},[28,115,35],{"class":34},[28,117,39],{"class":38},[28,119,42],{"class":38},[28,121,46],{"class":45},[28,123,49],{"class":38},[28,125,126,129],{"class":30,"line":52},[28,127,128],{"class":34},"cd",[28,130,131],{"class":38}," github\n",[28,133,135,137],{"class":30,"line":134},3,[28,136,35],{"class":34},[28,138,139],{"class":38}," prepare\n",[28,141,143,145],{"class":30,"line":142},4,[28,144,35],{"class":34},[28,146,147],{"class":38}," publish\n",[14,149,150,153,154,160,161,164],{},[25,151,152],{},"--as"," must be a scope you own — the same one ",[86,155,157],{"href":156},"\u002Fdocs\u002Fv2\u002Fcli\u002Flogin",[25,158,159],{},"axon login","\nauthenticated. A second positional argument, or ",[25,162,163],{},"--dir",", sets where it lands; the default\nis a folder named after the artifact in your current directory.",[166,167,168],"style",{},"html pre.shiki code .sCudf, html code.shiki .sCudf{--shiki-default:#DCDCAA}html pre.shiki code .sKc5r, html code.shiki .sKc5r{--shiki-default:#CE9178}html pre.shiki code .scz_3, html code.shiki .scz_3{--shiki-default:#569CD6}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":23,"searchDepth":52,"depth":52,"links":170},[171],{"id":81,"depth":52,"text":82},"md",{},true,"\u002Fdocs\u002Fv2\u002Fcli\u002Ffork",{"title":5,"description":16},"docs\u002Fv2\u002Fcli\u002Ffork","LSLRr90yhjLz9G1N94R8zpXKWnXTzZwIvuGxP9M27IY",1786899561217]