You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev/developers/git/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,4 +15,4 @@
15
15
changes on master
16
16
=======
17
17
changes on your branch
18
-
>>>>>>> mybranch</code></pre><p>and choose the changes that should be kept. Then you should <code>git add</code> the conflicting files, run <code>git rebase --continue</code>. See <ahref="https://docs.github.com/en/github/using-git/resolving-merge-conflicts-after-a-git-rebase">here</a> for more information on this. In case you have may conflicting commits, the rebase can be tedious, you will even have to resolve conflicts for some changes in some earlier commit even if you reverted these changes in a later commit. To avoid this issue, it is recommended to first squash your commits into a single one. To do that, use</p><pre><codeclass="language-sh hljs">$ git rebase -i master</code></pre><p>and replace <code>pick</code> by <code>s</code> for all commits except the top one and then follow the instructions, see <ahref="https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History">here</a> for more details.</p><h2id="Switch-branches"><aclass="docs-heading-anchor" href="#Switch-branches">Switch branches</a><aid="Switch-branches-1"></a><aclass="docs-heading-anchor-permalink" href="#Switch-branches" title="Permalink"></a></h2><p>To switch to the branch <code>mybranch</code>, do the following.</p><h3id="VSCode-7"><aclass="docs-heading-anchor" href="#VSCode-7">VSCode</a><aclass="docs-heading-anchor-permalink" href="#VSCode-7" title="Permalink"></a></h3><p>On the bottom left, you should see a sort of "Y" symbol with empty circles at the three leaves. On the right, you see the current branch. Click on it and then write or select <code>mybranch</code>.</p><h3id="Git-bash-7"><aclass="docs-heading-anchor" href="#Git-bash-7">Git bash</a><aclass="docs-heading-anchor-permalink" href="#Git-bash-7" title="Permalink"></a></h3><p>First <ahref="../setup/#Start-Git-bash">Start Git bash</a>.</p><pre><codeclass="language-sh hljs">$ git checkout mybranch</code></pre><h2id="Format-your-code"><aclass="docs-heading-anchor" href="#Format-your-code">Format your code</a><aid="Format-your-code-1"></a><aclass="docs-heading-anchor-permalink" href="#Format-your-code" title="Permalink"></a></h2><p>To format your code, run the following in your Julia REPL. Make sure you have added <ahref="https://github.com/domluna/JuliaFormatter.jl">JuliaFormatter.jl</a> before. </p><pre><codeclass="language-julia hljs">julia> using JuliaFormatter; format(".")</code></pre></article><navclass="docs-footer"><aclass="docs-footer-prevpage" href="../setup/">« Set up</a><divclass="flexbox-break"></div><pclass="footer-message">Powered by <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <ahref="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><divclass="modal" id="documenter-settings"><divclass="modal-background"></div><divclass="modal-card"><headerclass="modal-card-head"><pclass="modal-card-title">Settings</p><buttonclass="delete"></button></header><sectionclass="modal-card-body"><p><labelclass="label">Theme</label><divclass="select"><selectid="documenter-themepicker"><optionvalue="auto">Automatic (OS)</option><optionvalue="documenter-light">documenter-light</option><optionvalue="documenter-dark">documenter-dark</option><optionvalue="catppuccin-latte">catppuccin-latte</option><optionvalue="catppuccin-frappe">catppuccin-frappe</option><optionvalue="catppuccin-macchiato">catppuccin-macchiato</option><optionvalue="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <spanclass="colophon-date" title="Wednesday 30 October 2024 17:17">Wednesday 30 October 2024</span>. Using Julia version 1.11.1.</p></section><footerclass="modal-card-foot"></footer></div></div></div></body></html>
18
+
>>>>>>> mybranch</code></pre><p>and choose the changes that should be kept. Then you should <code>git add</code> the conflicting files, run <code>git rebase --continue</code>. See <ahref="https://docs.github.com/en/github/using-git/resolving-merge-conflicts-after-a-git-rebase">here</a> for more information on this. In case you have may conflicting commits, the rebase can be tedious, you will even have to resolve conflicts for some changes in some earlier commit even if you reverted these changes in a later commit. To avoid this issue, it is recommended to first squash your commits into a single one. To do that, use</p><pre><codeclass="language-sh hljs">$ git rebase -i master</code></pre><p>and replace <code>pick</code> by <code>s</code> for all commits except the top one and then follow the instructions, see <ahref="https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History">here</a> for more details.</p><h2id="Switch-branches"><aclass="docs-heading-anchor" href="#Switch-branches">Switch branches</a><aid="Switch-branches-1"></a><aclass="docs-heading-anchor-permalink" href="#Switch-branches" title="Permalink"></a></h2><p>To switch to the branch <code>mybranch</code>, do the following.</p><h3id="VSCode-7"><aclass="docs-heading-anchor" href="#VSCode-7">VSCode</a><aclass="docs-heading-anchor-permalink" href="#VSCode-7" title="Permalink"></a></h3><p>On the bottom left, you should see a sort of "Y" symbol with empty circles at the three leaves. On the right, you see the current branch. Click on it and then write or select <code>mybranch</code>.</p><h3id="Git-bash-7"><aclass="docs-heading-anchor" href="#Git-bash-7">Git bash</a><aclass="docs-heading-anchor-permalink" href="#Git-bash-7" title="Permalink"></a></h3><p>First <ahref="../setup/#Start-Git-bash">Start Git bash</a>.</p><pre><codeclass="language-sh hljs">$ git checkout mybranch</code></pre><h2id="Format-your-code"><aclass="docs-heading-anchor" href="#Format-your-code">Format your code</a><aid="Format-your-code-1"></a><aclass="docs-heading-anchor-permalink" href="#Format-your-code" title="Permalink"></a></h2><p>To format your code, run the following in your Julia REPL. Make sure you have added <ahref="https://github.com/domluna/JuliaFormatter.jl">JuliaFormatter.jl</a> before. </p><pre><codeclass="language-julia hljs">julia> using JuliaFormatter; format(".")</code></pre></article><navclass="docs-footer"><aclass="docs-footer-prevpage" href="../setup/">« Set up</a><divclass="flexbox-break"></div><pclass="footer-message">Powered by <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <ahref="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><divclass="modal" id="documenter-settings"><divclass="modal-background"></div><divclass="modal-card"><headerclass="modal-card-head"><pclass="modal-card-title">Settings</p><buttonclass="delete"></button></header><sectionclass="modal-card-body"><p><labelclass="label">Theme</label><divclass="select"><selectid="documenter-themepicker"><optionvalue="auto">Automatic (OS)</option><optionvalue="documenter-light">documenter-light</option><optionvalue="documenter-dark">documenter-dark</option><optionvalue="catppuccin-latte">catppuccin-latte</option><optionvalue="catppuccin-frappe">catppuccin-frappe</option><optionvalue="catppuccin-macchiato">catppuccin-macchiato</option><optionvalue="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <spanclass="colophon-date" title="Wednesday 30 October 2024 18:44">Wednesday 30 October 2024</span>. Using Julia version 1.11.1.</p></section><footerclass="modal-card-foot"></footer></div></div></div></body></html>
26 # literate_actions(joinpath(@__DIR__, "src", "Getting Started.jl"), OUTPUT_DIR)</code></pre><p>This will speed up building the documentation quite a lot.</p><p>Now, build the documentation with:</p><pre><codeclass="language-julia hljs">julia> include("docs/make.jl")</code></pre><p>To view it, open the file <code>docs/build/index.html</code> with your web browser.</p></article><navclass="docs-footer"><aclass="docs-footer-prevpage" href="../../reference/Utils/">« Utils</a><aclass="docs-footer-nextpage" href="../git/">Git »</a><divclass="flexbox-break"></div><pclass="footer-message">Powered by <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <ahref="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><divclass="modal" id="documenter-settings"><divclass="modal-background"></div><divclass="modal-card"><headerclass="modal-card-head"><pclass="modal-card-title">Settings</p><buttonclass="delete"></button></header><sectionclass="modal-card-body"><p><labelclass="label">Theme</label><divclass="select"><selectid="documenter-themepicker"><optionvalue="auto">Automatic (OS)</option><optionvalue="documenter-light">documenter-light</option><optionvalue="documenter-dark">documenter-dark</option><optionvalue="catppuccin-latte">catppuccin-latte</option><optionvalue="catppuccin-frappe">catppuccin-frappe</option><optionvalue="catppuccin-macchiato">catppuccin-macchiato</option><optionvalue="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <spanclass="colophon-date" title="Wednesday 30 October 2024 17:17">Wednesday 30 October 2024</span>. Using Julia version 1.11.1.</p></section><footerclass="modal-card-foot"></footer></div></div></div></body></html>
19
+
26 # literate_actions(joinpath(@__DIR__, "src", "Getting Started.jl"), OUTPUT_DIR)</code></pre><p>This will speed up building the documentation quite a lot.</p><p>Now, build the documentation with:</p><pre><codeclass="language-julia hljs">julia> include("docs/make.jl")</code></pre><p>To view it, open the file <code>docs/build/index.html</code> with your web browser.</p></article><navclass="docs-footer"><aclass="docs-footer-prevpage" href="../../reference/Utils/">« Utils</a><aclass="docs-footer-nextpage" href="../git/">Git »</a><divclass="flexbox-break"></div><pclass="footer-message">Powered by <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <ahref="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><divclass="modal" id="documenter-settings"><divclass="modal-background"></div><divclass="modal-card"><headerclass="modal-card-head"><pclass="modal-card-title">Settings</p><buttonclass="delete"></button></header><sectionclass="modal-card-body"><p><labelclass="label">Theme</label><divclass="select"><selectid="documenter-themepicker"><optionvalue="auto">Automatic (OS)</option><optionvalue="documenter-light">documenter-light</option><optionvalue="documenter-dark">documenter-dark</option><optionvalue="catppuccin-latte">catppuccin-latte</option><optionvalue="catppuccin-frappe">catppuccin-frappe</option><optionvalue="catppuccin-macchiato">catppuccin-macchiato</option><optionvalue="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <ahref="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <spanclass="colophon-date" title="Wednesday 30 October 2024 18:44">Wednesday 30 October 2024</span>. Using Julia version 1.11.1.</p></section><footerclass="modal-card-foot"></footer></div></div></div></body></html>
0 commit comments