git_elic.html 111 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. <!DOCTYPE html><html lang="en-US"><head><title>Version control with git for scientists</title><meta property="og:title" content="Version control with git for scientists"><meta name="author" content="P.Y. Barriat"><meta property="article:author" content="P.Y. Barriat"><meta name="description" content="https://dev.to/nikolab/complete-list-of-github-markdown-emoji-markup-5aia"><meta property="og:description" content="https://dev.to/nikolab/complete-list-of-github-markdown-emoji-markup-5aia"><meta charset="UTF-8"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"><meta name="apple-mobile-web-app-capable" content="yes"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta property="og:type" content="website"><meta name="twitter:card" content="summary"><style>@media screen{body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button{-webkit-tap-highlight-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;color:inherit;cursor:pointer;font-size:inherit;opacity:.8;outline:none;padding:0;transition:opacity .2s linear}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:disabled,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:disabled,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:disabled,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:disabled{cursor:not-allowed;opacity:.15!important}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:hover,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:hover,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:hover,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:hover{opacity:1}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:active,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:active,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:hover:active,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:hover:active{opacity:.6}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:not(:disabled),body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:not(:disabled),body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:hover:not(:disabled),body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:hover:not(:disabled){transition:none}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev],body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button.bespoke-marp-presenter-info-page-prev{background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNNjggOTAgMjggNTBsNDAtNDAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button.bespoke-marp-presenter-info-page-next{background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJtMzIgOTAgNDAtNDAtNDAtNDAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen]{background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDpub25lO3N0cm9rZTojZmZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6NXB4fTwvc3R5bGU+PC9kZWZzPjxyZWN0IGNsYXNzPSJhIiB4PSIxMCIgeT0iMjAiIHdpZHRoPSI4MCIgaGVpZ2h0PSI2MCIgcng9IjUuNjciLz48cGF0aCBjbGFzcz0iYSIgZD0iTTQwIDcwSDIwVjUwbTIwIDBMMjAgNzBtNDAtNDBoMjB2MjBtLTIwIDAgMjAtMjAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button.exit[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button.exit[data-bespoke-marp-osc=fullscreen]{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDpub25lO3N0cm9rZTojZmZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6NXB4fTwvc3R5bGU+PC9kZWZzPjxyZWN0IGNsYXNzPSJhIiB4PSIxMCIgeT0iMjAiIHdpZHRoPSI4MCIgaGVpZ2h0PSI2MCIgcng9IjUuNjciLz48cGF0aCBjbGFzcz0iYSIgZD0iTTIwIDUwaDIwdjIwbS0yMCAwIDIwLTIwbTQwIDBINjBWMzBtMjAgMEw2MCA1MCIvPjwvc3ZnPg==")}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter]{background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNODcuOCA0Ny41Qzg5IDUwIDg3LjcgNTIgODUgNTJIMzVhOC43IDguNyAwIDAgMS03LjItNC41bC0xNS42LTMxQzExIDE0IDEyLjIgMTIgMTUgMTJoNTBhOC44IDguOCAwIDAgMSA3LjIgNC41ek02MCA1MnYzNm0tMTAgMGgyME00NSA0MmgyMCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iNSIvPjwvc3ZnPg==") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button.bespoke-marp-presenter-note-bigger{background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNMTIgNTBoODBNNTIgOTBWMTAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjUiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button.bespoke-marp-presenter-note-smaller{background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNMTIgNTBoODAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjUiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}}.bespoke-marp-note,.bespoke-marp-osc,.bespoke-progress-parent{display:none;transition:none}@media screen{body,html{height:100%;margin:0}body{background:#000;overflow:hidden}svg.bespoke-marp-slide{content-visibility:hidden;opacity:0;pointer-events:none;z-index:-1}svg.bespoke-marp-slide.bespoke-marp-active{content-visibility:visible;opacity:1;pointer-events:auto;z-index:0}svg.bespoke-marp-slide.bespoke-marp-active.bespoke-marp-active-ready *{-webkit-animation-name:__bespoke_marp__!important;animation-name:__bespoke_marp__!important}@supports not (content-visibility:hidden){svg.bespoke-marp-slide[data-bespoke-marp-load=hideable]{display:none}svg.bespoke-marp-slide[data-bespoke-marp-load=hideable].bespoke-marp-active{display:block}}[data-bespoke-marp-fragment=inactive]{visibility:hidden}body[data-bespoke-view=""] .bespoke-marp-parent,body[data-bespoke-view=next] .bespoke-marp-parent{bottom:0;left:0;position:absolute;right:0;top:0}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc{background:rgba(0,0,0,.65);border-radius:7px;bottom:50px;color:#fff;contain:paint;display:block;font-family:Helvetica,Arial,sans-serif;font-size:16px;left:50%;line-height:0;opacity:1;padding:12px;position:absolute;touch-action:manipulation;transform:translateX(-50%);transition:opacity .2s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;will-change:transform;z-index:1}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>*,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>*{margin-left:6px}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>:first-child,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>:first-child{margin-left:0}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>span,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>span{opacity:.8}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>span[data-bespoke-marp-osc=page],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>span[data-bespoke-marp-osc=page]{display:inline-block;min-width:140px;text-align:center}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter],body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev]{height:32px;line-height:32px;width:32px}body[data-bespoke-view=""] .bespoke-marp-parent.bespoke-marp-inactive,body[data-bespoke-view=next] .bespoke-marp-parent.bespoke-marp-inactive{cursor:none}body[data-bespoke-view=""] .bespoke-marp-parent.bespoke-marp-inactive>.bespoke-marp-osc,body[data-bespoke-view=next] .bespoke-marp-parent.bespoke-marp-inactive>.bespoke-marp-osc{opacity:0;pointer-events:none}body[data-bespoke-view=""] svg.bespoke-marp-slide,body[data-bespoke-view=next] svg.bespoke-marp-slide{height:100%;left:0;position:absolute;top:0;width:100%}body[data-bespoke-view=""] .bespoke-progress-parent{background:#222;display:flex;height:5px;width:100%}body[data-bespoke-view=""] .bespoke-progress-parent+.bespoke-marp-parent{top:5px}body[data-bespoke-view=""] .bespoke-progress-parent .bespoke-progress-bar{background:#0288d1;flex:0 0 0;transition:flex-basis .2s cubic-bezier(0,1,1,1)}body[data-bespoke-view=next]{background:transparent}body[data-bespoke-view=presenter]{background:#161616}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container{display:grid;font-family:Helvetica,Arial,sans-serif;grid-template:"current dragbar next" minmax(140px,1fr) "current dragbar note" 2fr "info dragbar note" 3em;grid-template-columns:minmax(3px,var(--bespoke-marp-presenter-split-ratio,66%)) 0 minmax(3px,1fr);height:100%;left:0;position:absolute;top:0;width:100%}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-parent{grid-area:current;overflow:hidden;position:relative}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-parent svg.bespoke-marp-slide{height:calc(100% - 40px);left:20px;pointer-events:none;position:absolute;top:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:calc(100% - 40px)}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-parent svg.bespoke-marp-slide.bespoke-marp-active{filter:drop-shadow(0 3px 10px rgba(0,0,0,.5))}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-dragbar-container{background:#0288d1;cursor:col-resize;grid-area:dragbar;margin-left:-3px;opacity:0;position:relative;transition:opacity .4s linear .1s;width:6px;z-index:10}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-dragbar-container:hover{opacity:1}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-dragbar-container.active{opacity:1;transition-delay:0s}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-next-container{background:#222;cursor:pointer;display:none;grid-area:next;overflow:hidden;position:relative}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-next-container.active{display:block}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-next-container iframe.bespoke-marp-presenter-next{background:transparent;border:0;display:block;filter:drop-shadow(0 3px 10px rgba(0,0,0,.5));height:calc(100% - 40px);left:20px;pointer-events:none;position:absolute;top:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:calc(100% - 40px)}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container{background:#222;color:#eee;grid-area:note;position:relative;z-index:1}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button{height:1.5em;line-height:1.5em;width:1.5em}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-wrapper{bottom:0;display:block;left:0;position:absolute;right:0;top:0}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-buttons{background:rgba(0,0,0,.65);border-radius:4px;bottom:0;display:flex;gap:4px;margin:12px;opacity:0;padding:6px;pointer-events:none;position:absolute;right:0;transition:opacity .2s linear}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-buttons:focus-within,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-wrapper:focus-within+.bespoke-marp-presenter-note-buttons,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container:hover .bespoke-marp-presenter-note-buttons{opacity:1;pointer-events:auto}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note{word-wrap:break-word;box-sizing:border-box;font-size:calc(1.1em*var(--bespoke-marp-note-font-scale, 1));height:calc(100% - 40px);margin:20px;overflow:auto;padding-right:3px;scrollbar-color:hsla(0,0%,93%,.5) transparent;scrollbar-width:thin;white-space:pre-wrap;width:calc(100% - 40px)}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note::-webkit-scrollbar{width:6px}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note::-webkit-scrollbar-track{background:transparent}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note::-webkit-scrollbar-thumb{background:hsla(0,0%,93%,.5);border-radius:6px}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note:empty{pointer-events:none}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note.active{display:block}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note p:first-child{margin-top:0}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note p:last-child{margin-bottom:0}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container{align-items:center;box-sizing:border-box;color:#eee;display:flex;flex-wrap:nowrap;grid-area:info;justify-content:center;overflow:hidden;padding:0 10px}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-page,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-time,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-timer{box-sizing:border-box;display:block;padding:0 10px;white-space:nowrap;width:100%}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button{height:1.5em;line-height:1.5em;width:1.5em}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-page{order:2;text-align:center}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-page .bespoke-marp-presenter-info-page-text{display:inline-block;min-width:120px;text-align:center}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-time{color:#999;order:1;text-align:left}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-timer{color:#999;order:3;text-align:right}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-timer:hover{cursor:pointer}}@media print{.bespoke-marp-presenter-info-container,.bespoke-marp-presenter-next-container,.bespoke-marp-presenter-note-container{display:none}}</style><style>div#p>svg>foreignObject>section{width:1280px;height:720px;box-sizing:border-box;overflow:hidden;position:relative;scroll-snap-align:center center}div#p>svg>foreignObject>section:after{bottom:0;content:attr(data-marpit-pagination);padding:inherit;pointer-events:none;position:absolute;right:0}div#p>svg>foreignObject>section:not([data-marpit-pagination]):after{display:none}/* Normalization */div#p>svg>foreignObject>section h1{font-size:2em;margin:0.67em 0}div#p>svg>foreignObject>section video::-webkit-media-controls{will-change:transform}@page{size:1280px 720px;margin:0}@media print{body,html{background-color:#fff;margin:0;page-break-inside:avoid;break-inside:avoid-page}div#p>svg>foreignObject>section{page-break-before:always;break-before:page}div#p>svg>foreignObject>section,div#p>svg>foreignObject>section *{-webkit-print-color-adjust:exact!important;animation-delay:0s!important;animation-duration:0s!important;color-adjust:exact!important;transition:none!important}div#p>svg[data-marpit-svg]{display:block;height:100vh;width:100vw}}
  2. /*!
  3. * Marp default theme.
  4. *
  5. * @theme default
  6. * @author Yuki Hattori
  7. *
  8. * @auto-scaling true
  9. * @size 16:9 1280px 720px
  10. * @size 4:3 960px 720px
  11. */div#p>svg>foreignObject>section{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;word-wrap:break-word;background-color:#fff;color:#24292f;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;font-size:16px;line-height:1.5;margin:0}div#p>svg>foreignObject>section{--marpit-root-font-size:16px}div#p>svg>foreignObject>section h1:hover .anchor .octicon-link:before,div#p>svg>foreignObject>section h2:hover .anchor .octicon-link:before,div#p>svg>foreignObject>section h3:hover .anchor .octicon-link:before,div#p>svg>foreignObject>section h4:hover .anchor .octicon-link:before,div#p>svg>foreignObject>section h5:hover .anchor .octicon-link:before,div#p>svg>foreignObject>section h6:hover .anchor .octicon-link:before{background-color:currentColor;content:" ";display:inline-block;height:16px;-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 0 0 1.06 1.06l1.25-1.25a2 2 0 1 1 2.83 2.83l-2.5 2.5a2 2 0 0 1-2.83 0 .75.75 0 0 0-1.06 1.06 3.5 3.5 0 0 0 4.95 0l2.5-2.5a3.5 3.5 0 0 0-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 0 1 0-2.83l2.5-2.5a2 2 0 0 1 2.83 0 .75.75 0 0 0 1.06-1.06 3.5 3.5 0 0 0-4.95 0l-2.5 2.5a3.5 3.5 0 0 0 4.95 4.95l1.25-1.25a.75.75 0 0 0-1.06-1.06l-1.25 1.25a2 2 0 0 1-2.83 0z"/></svg>');mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 0 0 1.06 1.06l1.25-1.25a2 2 0 1 1 2.83 2.83l-2.5 2.5a2 2 0 0 1-2.83 0 .75.75 0 0 0-1.06 1.06 3.5 3.5 0 0 0 4.95 0l2.5-2.5a3.5 3.5 0 0 0-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 0 1 0-2.83l2.5-2.5a2 2 0 0 1 2.83 0 .75.75 0 0 0 1.06-1.06 3.5 3.5 0 0 0-4.95 0l-2.5 2.5a3.5 3.5 0 0 0 4.95 4.95l1.25-1.25a.75.75 0 0 0-1.06-1.06l-1.25 1.25a2 2 0 0 1-2.83 0z"/></svg>');width:16px}div#p>svg>foreignObject>section details,div#p>svg>foreignObject>section figcaption,div#p>svg>foreignObject>section figure{display:block}div#p>svg>foreignObject>section summary{display:list-item}div#p>svg>foreignObject>section [hidden]{display:none!important}div#p>svg>foreignObject>section a{background-color:transparent;color:#0969da;text-decoration:none}div#p>svg>foreignObject>section a:active,div#p>svg>foreignObject>section a:hover{outline-width:0}div#p>svg>foreignObject>section abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}div#p>svg>foreignObject>section b,div#p>svg>foreignObject>section strong{font-weight:600}div#p>svg>foreignObject>section dfn{font-style:italic}div#p>svg>foreignObject>section h1{border-bottom:1px solid #d8dee4;font-size:2em;font-weight:600;margin:.67em 0;padding-bottom:.3em}div#p>svg>foreignObject>section mark{background-color:#fff8c5;color:#24292f}div#p>svg>foreignObject>section small{font-size:90%}div#p>svg>foreignObject>section sub,div#p>svg>foreignObject>section sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}div#p>svg>foreignObject>section sub{bottom:-.25em}div#p>svg>foreignObject>section sup{top:-.5em}div#p>svg>foreignObject>section img{background-color:#fff;border-style:none;box-sizing:content-box;max-width:100%}div#p>svg>foreignObject>section code,div#p>svg>foreignObject>section kbd,div#p>svg>foreignObject>section pre,div#p>svg>foreignObject>section samp{font-family:monospace,monospace;font-size:1em}div#p>svg>foreignObject>section figure{margin:1em 40px}div#p>svg>foreignObject>section hr{background:transparent;background-color:#d0d7de;border:0;box-sizing:content-box;height:.25em;margin:24px 0;overflow:hidden;padding:0}div#p>svg>foreignObject>section input{font:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible}div#p>svg>foreignObject>section [type=button],div#p>svg>foreignObject>section [type=reset],div#p>svg>foreignObject>section [type=submit]{-webkit-appearance:button}div#p>svg>foreignObject>section [type=button]::-moz-focus-inner,div#p>svg>foreignObject>section [type=reset]::-moz-focus-inner,div#p>svg>foreignObject>section [type=submit]::-moz-focus-inner{border-style:none;padding:0}div#p>svg>foreignObject>section [type=button]:-moz-focusring,div#p>svg>foreignObject>section [type=reset]:-moz-focusring,div#p>svg>foreignObject>section [type=submit]:-moz-focusring{outline:1px dotted ButtonText}div#p>svg>foreignObject>section [type=checkbox],div#p>svg>foreignObject>section [type=radio]{box-sizing:border-box;padding:0}div#p>svg>foreignObject>section [type=number]::-webkit-inner-spin-button,div#p>svg>foreignObject>section [type=number]::-webkit-outer-spin-button{height:auto}div#p>svg>foreignObject>section [type=search]{-webkit-appearance:textfield;outline-offset:-2px}div#p>svg>foreignObject>section [type=search]::-webkit-search-cancel-button,div#p>svg>foreignObject>section [type=search]::-webkit-search-decoration{-webkit-appearance:none}div#p>svg>foreignObject>section ::-webkit-input-placeholder{color:inherit;opacity:.54}div#p>svg>foreignObject>section ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}div#p>svg>foreignObject>section a:hover{text-decoration:underline}div#p>svg>foreignObject>section hr:after,div#p>svg>foreignObject>section hr:before{content:"";display:table}div#p>svg>foreignObject>section hr:after{clear:both}div#p>svg>foreignObject>section table{border-collapse:collapse;border-spacing:0;display:block;max-width:100%;overflow:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content}div#p>svg>foreignObject>section td,div#p>svg>foreignObject>section th{padding:0}div#p>svg>foreignObject>section details summary{cursor:pointer}div#p>svg>foreignObject>section details:not([open])>:not(summary){display:none!important}div#p>svg>foreignObject>section kbd{background-color:#f6f8fa;border:1px solid rgba(175,184,193,.2);border-radius:6px;box-shadow:inset 0 -1px 0 rgba(175,184,193,.2);color:#24292f;display:inline-block;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;padding:3px 5px;vertical-align:middle}div#p>svg>foreignObject>section h1,div#p>svg>foreignObject>section h2,div#p>svg>foreignObject>section h3,div#p>svg>foreignObject>section h4,div#p>svg>foreignObject>section h5,div#p>svg>foreignObject>section h6{font-weight:600;line-height:1.25;margin-bottom:16px;margin-top:24px}div#p>svg>foreignObject>section h2{border-bottom:1px solid #d8dee4;font-size:1.5em;font-weight:600;padding-bottom:.3em}div#p>svg>foreignObject>section h3{font-size:1.25em;font-weight:600}div#p>svg>foreignObject>section h4{font-size:1em;font-weight:600}div#p>svg>foreignObject>section h5{font-size:.875em;font-weight:600}div#p>svg>foreignObject>section h6{color:#57606a;font-size:.85em;font-weight:600}div#p>svg>foreignObject>section p{margin-bottom:10px;margin-top:0}div#p>svg>foreignObject>section blockquote{border-left:.25em solid #d0d7de;color:#57606a;margin:0;padding:0 1em}div#p>svg>foreignObject>section ol,div#p>svg>foreignObject>section ul{margin-bottom:0;margin-top:0;padding-left:2em}div#p>svg>foreignObject>section ol ol,div#p>svg>foreignObject>section ul ol{list-style-type:lower-roman}div#p>svg>foreignObject>section ol ol ol,div#p>svg>foreignObject>section ol ul ol,div#p>svg>foreignObject>section ul ol ol,div#p>svg>foreignObject>section ul ul ol{list-style-type:lower-alpha}div#p>svg>foreignObject>section dd{margin-left:0}div#p>svg>foreignObject>section code,div#p>svg>foreignObject>section pre,div#p>svg>foreignObject>section tt{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}div#p>svg>foreignObject>section pre{word-wrap:normal;margin-bottom:0;margin-top:0}div#p>svg>foreignObject>section .octicon{fill:currentColor;display:inline-block;overflow:visible!important;vertical-align:text-bottom}div#p>svg>foreignObject>section ::-moz-placeholder{color:#6e7781;opacity:1}div#p>svg>foreignObject>section :-ms-input-placeholder{color:#6e7781;opacity:1}div#p>svg>foreignObject>section ::placeholder{color:#6e7781;opacity:1}div#p>svg>foreignObject>section input::-webkit-inner-spin-button,div#p>svg>foreignObject>section input::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none;margin:0}div#p>svg>foreignObject>section .pl-c{color:#6e7781}div#p>svg>foreignObject>section .pl-c1,div#p>svg>foreignObject>section .pl-s .pl-v{color:#0550ae}div#p>svg>foreignObject>section .pl-e,div#p>svg>foreignObject>section .pl-en{color:#8250df}div#p>svg>foreignObject>section .pl-s .pl-s1,div#p>svg>foreignObject>section .pl-smi{color:#24292f}div#p>svg>foreignObject>section .pl-ent{color:#116329}div#p>svg>foreignObject>section .pl-k{color:#cf222e}div#p>svg>foreignObject>section .pl-pds,div#p>svg>foreignObject>section .pl-s,div#p>svg>foreignObject>section .pl-s .pl-pse .pl-s1,div#p>svg>foreignObject>section .pl-sr,div#p>svg>foreignObject>section .pl-sr .pl-cce,div#p>svg>foreignObject>section .pl-sr .pl-sra,div#p>svg>foreignObject>section .pl-sr .pl-sre{color:#0a3069}div#p>svg>foreignObject>section .pl-smw,div#p>svg>foreignObject>section .pl-v{color:#953800}div#p>svg>foreignObject>section .pl-bu{color:#82071e}div#p>svg>foreignObject>section .pl-ii{background-color:#82071e;color:#f6f8fa}div#p>svg>foreignObject>section .pl-c2{background-color:#cf222e;color:#f6f8fa}div#p>svg>foreignObject>section .pl-sr .pl-cce{color:#116329;font-weight:700}div#p>svg>foreignObject>section .pl-ml{color:#3b2300}div#p>svg>foreignObject>section .pl-mh,div#p>svg>foreignObject>section .pl-mh .pl-en,div#p>svg>foreignObject>section .pl-ms{color:#0550ae;font-weight:700}div#p>svg>foreignObject>section .pl-mi{color:#24292f;font-style:italic}div#p>svg>foreignObject>section .pl-mb{color:#24292f;font-weight:700}div#p>svg>foreignObject>section .pl-md{background-color:#ffebe9;color:#82071e}div#p>svg>foreignObject>section .pl-mi1{background-color:#dafbe1;color:#116329}div#p>svg>foreignObject>section .pl-mc{background-color:#ffd8b5;color:#953800}div#p>svg>foreignObject>section .pl-mi2{background-color:#0550ae;color:#eaeef2}div#p>svg>foreignObject>section .pl-mdr{color:#8250df;font-weight:700}div#p>svg>foreignObject>section .pl-ba{color:#57606a}div#p>svg>foreignObject>section .pl-sg{color:#8c959f}div#p>svg>foreignObject>section .pl-corl{color:#0a3069;text-decoration:underline}div#p>svg>foreignObject>section [data-catalyst]{display:block}div#p>svg>foreignObject>section g-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:400;line-height:1;vertical-align:-.075em}div#p>svg>foreignObject>section g-emoji img{height:1em;width:1em}div#p>svg>foreignObject>section:after,div#p>svg>foreignObject>section:before{
  12. /* content:""; */display:table}div#p>svg>foreignObject>section:after{clear:both}div#p>svg>foreignObject>section>:first-child{margin-top:0!important}div#p>svg>foreignObject>section>:last-child{margin-bottom:0!important}div#p>svg>foreignObject>section a:not([href]){color:inherit;text-decoration:none}div#p>svg>foreignObject>section .absent{color:#cf222e}div#p>svg>foreignObject>section .anchor{float:left;line-height:1;margin-left:-20px;padding-right:4px}div#p>svg>foreignObject>section .anchor:focus{outline:none}div#p>svg>foreignObject>section blockquote,div#p>svg>foreignObject>section details,div#p>svg>foreignObject>section dl,div#p>svg>foreignObject>section ol,div#p>svg>foreignObject>section p,div#p>svg>foreignObject>section pre,div#p>svg>foreignObject>section table,div#p>svg>foreignObject>section ul{margin-bottom:16px;margin-top:0}div#p>svg>foreignObject>section blockquote>:first-child{margin-top:0}div#p>svg>foreignObject>section blockquote>:last-child{margin-bottom:0}div#p>svg>foreignObject>section sup>a:before{content:"["}div#p>svg>foreignObject>section sup>a:after{content:"]"}div#p>svg>foreignObject>section h1 .octicon-link,div#p>svg>foreignObject>section h2 .octicon-link,div#p>svg>foreignObject>section h3 .octicon-link,div#p>svg>foreignObject>section h4 .octicon-link,div#p>svg>foreignObject>section h5 .octicon-link,div#p>svg>foreignObject>section h6 .octicon-link{color:#24292f;vertical-align:middle;visibility:hidden}div#p>svg>foreignObject>section h1:hover .anchor,div#p>svg>foreignObject>section h2:hover .anchor,div#p>svg>foreignObject>section h3:hover .anchor,div#p>svg>foreignObject>section h4:hover .anchor,div#p>svg>foreignObject>section h5:hover .anchor,div#p>svg>foreignObject>section h6:hover .anchor{text-decoration:none}div#p>svg>foreignObject>section h1:hover .anchor .octicon-link,div#p>svg>foreignObject>section h2:hover .anchor .octicon-link,div#p>svg>foreignObject>section h3:hover .anchor .octicon-link,div#p>svg>foreignObject>section h4:hover .anchor .octicon-link,div#p>svg>foreignObject>section h5:hover .anchor .octicon-link,div#p>svg>foreignObject>section h6:hover .anchor .octicon-link{visibility:visible}div#p>svg>foreignObject>section h1 code,div#p>svg>foreignObject>section h1 tt,div#p>svg>foreignObject>section h2 code,div#p>svg>foreignObject>section h2 tt,div#p>svg>foreignObject>section h3 code,div#p>svg>foreignObject>section h3 tt,div#p>svg>foreignObject>section h4 code,div#p>svg>foreignObject>section h4 tt,div#p>svg>foreignObject>section h5 code,div#p>svg>foreignObject>section h5 tt,div#p>svg>foreignObject>section h6 code,div#p>svg>foreignObject>section h6 tt{font-size:inherit;padding:0 .2em}div#p>svg>foreignObject>section ol.no-list,div#p>svg>foreignObject>section ul.no-list{list-style-type:none;padding:0}div#p>svg>foreignObject>section ol[type="1"]{list-style-type:decimal}div#p>svg>foreignObject>section ol[type=a]{list-style-type:lower-alpha}div#p>svg>foreignObject>section ol[type=i]{list-style-type:lower-roman}div#p>svg>foreignObject>section div>ol:not([type]){list-style-type:decimal}div#p>svg>foreignObject>section ol ol,div#p>svg>foreignObject>section ol ul,div#p>svg>foreignObject>section ul ol,div#p>svg>foreignObject>section ul ul{margin-bottom:0;margin-top:0}div#p>svg>foreignObject>section li>p{margin-top:16px}div#p>svg>foreignObject>section li+li{margin-top:.25em}div#p>svg>foreignObject>section dl{padding:0}div#p>svg>foreignObject>section dl dt{font-size:1em;font-style:italic;font-weight:600;margin-top:16px;padding:0}div#p>svg>foreignObject>section dl dd{margin-bottom:16px;padding:0 16px}div#p>svg>foreignObject>section table th{font-weight:600}div#p>svg>foreignObject>section table td,div#p>svg>foreignObject>section table th{border:1px solid #d0d7de;padding:6px 13px}div#p>svg>foreignObject>section table tr{background-color:#fff;border-top:1px solid #d8dee4}div#p>svg>foreignObject>section table tr:nth-child(2n){background-color:#f6f8fa}div#p>svg>foreignObject>section table img{background-color:transparent}div#p>svg>foreignObject>section img[align=right]{padding-left:20px}div#p>svg>foreignObject>section img[align=left]{padding-right:20px}div#p>svg>foreignObject>section .emoji{background-color:transparent;max-width:none;vertical-align:text-top}div#p>svg>foreignObject>section span.frame,div#p>svg>foreignObject>section span.frame>span{display:block;overflow:hidden}div#p>svg>foreignObject>section span.frame>span{border:1px solid #d0d7de;float:left;margin:13px 0 0;padding:7px;width:auto}div#p>svg>foreignObject>section span.frame span img{display:block;float:left}div#p>svg>foreignObject>section span.frame span span{clear:both;color:#24292f;display:block;padding:5px 0 0}div#p>svg>foreignObject>section span.align-center{clear:both;display:block;overflow:hidden}div#p>svg>foreignObject>section span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}div#p>svg>foreignObject>section span.align-center span img{margin:0 auto;text-align:center}div#p>svg>foreignObject>section span.align-right{clear:both;display:block;overflow:hidden}div#p>svg>foreignObject>section span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}div#p>svg>foreignObject>section span.align-right span img{margin:0;text-align:right}div#p>svg>foreignObject>section span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}div#p>svg>foreignObject>section span.float-left span{margin:13px 0 0}div#p>svg>foreignObject>section span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}div#p>svg>foreignObject>section span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}div#p>svg>foreignObject>section code,div#p>svg>foreignObject>section tt{background-color:rgba(175,184,193,.2);border-radius:6px;font-size:85%;margin:0;padding:.2em .4em}div#p>svg>foreignObject>section code br,div#p>svg>foreignObject>section tt br{display:none}div#p>svg>foreignObject>section del code{text-decoration:inherit}div#p>svg>foreignObject>section pre code{font-size:100%}div#p>svg>foreignObject>section pre>code{background:transparent;border:0;margin:0;padding:0;white-space:pre;word-break:normal}div#p>svg>foreignObject>section .highlight{margin-bottom:16px}div#p>svg>foreignObject>section .highlight pre{margin-bottom:0;word-break:normal}div#p>svg>foreignObject>section pre{background-color:#f6f8fa;border-radius:6px;font-size:85%;line-height:1.45;overflow:auto;padding:16px}div#p>svg>foreignObject>section pre code,div#p>svg>foreignObject>section pre tt{word-wrap:normal;background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:auto;overflow:visible;padding:0}div#p>svg>foreignObject>section .csv-data td,div#p>svg>foreignObject>section .csv-data th{font-size:12px;line-height:1;overflow:hidden;padding:5px;text-align:left;white-space:nowrap}div#p>svg>foreignObject>section .csv-data .blob-num{background:#fff;border:0;padding:10px 8px 9px;text-align:right}div#p>svg>foreignObject>section .csv-data tr{border-top:0}div#p>svg>foreignObject>section .csv-data th{background:#f6f8fa;border-top:0;font-weight:600}div#p>svg>foreignObject>section .footnotes{border-top:1px solid #d0d7de;color:#57606a;font-size:12px}div#p>svg>foreignObject>section div#p>svg>foreignObject>section section.footnotes{--marpit-root-font-size:12px}div#p>svg>foreignObject>section .footnotes ol{padding-left:16px}div#p>svg>foreignObject>section .footnotes li{position:relative}div#p>svg>foreignObject>section .footnotes li:target:before{border:2px solid #0969da;border-radius:6px;bottom:-8px;content:"";left:-24px;pointer-events:none;position:absolute;right:-8px;top:-8px}div#p>svg>foreignObject>section .footnotes li:target{color:#24292f}div#p>svg>foreignObject>section .footnotes .data-footnote-backref g-emoji{font-family:monospace}div#p>svg>foreignObject>section .task-list-item{list-style-type:none}div#p>svg>foreignObject>section .task-list-item label{font-weight:400}div#p>svg>foreignObject>section .task-list-item.enabled label{cursor:pointer}div#p>svg>foreignObject>section .task-list-item+.task-list-item{margin-top:3px}div#p>svg>foreignObject>section .task-list-item .handle{display:none}div#p>svg>foreignObject>section .task-list-item-checkbox{margin:0 .2em .25em -1.6em;vertical-align:middle}div#p>svg>foreignObject>section .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}div#p>svg>foreignObject>section ::-webkit-calendar-picker-indicator{filter:invert(50%)}div#p>svg>foreignObject>section .hljs{background:#fff;color:#333;display:block;overflow-x:auto;padding:.5em}div#p>svg>foreignObject>section .hljs-comment,div#p>svg>foreignObject>section .hljs-meta{color:#969896}div#p>svg>foreignObject>section .hljs-emphasis,div#p>svg>foreignObject>section .hljs-quote,div#p>svg>foreignObject>section .hljs-strong,div#p>svg>foreignObject>section .hljs-template-variable,div#p>svg>foreignObject>section .hljs-variable{color:#df5000}div#p>svg>foreignObject>section .hljs-keyword,div#p>svg>foreignObject>section .hljs-selector-tag,div#p>svg>foreignObject>section .hljs-type{color:#d73a49}div#p>svg>foreignObject>section .hljs-attribute,div#p>svg>foreignObject>section .hljs-bullet,div#p>svg>foreignObject>section .hljs-literal,div#p>svg>foreignObject>section .hljs-symbol{color:#0086b3}div#p>svg>foreignObject>section .hljs-name,div#p>svg>foreignObject>section .hljs-section{color:#63a35c}div#p>svg>foreignObject>section .hljs-tag{color:#333}div#p>svg>foreignObject>section .hljs-attr,div#p>svg>foreignObject>section .hljs-selector-attr,div#p>svg>foreignObject>section .hljs-selector-class,div#p>svg>foreignObject>section .hljs-selector-id,div#p>svg>foreignObject>section .hljs-selector-pseudo,div#p>svg>foreignObject>section .hljs-title{color:#6f42c1}div#p>svg>foreignObject>section .hljs-addition{background-color:#eaffea;color:#55a532}div#p>svg>foreignObject>section .hljs-deletion{background-color:#ffecec;color:#bd2c00}div#p>svg>foreignObject>section .hljs-link{text-decoration:underline}div#p>svg>foreignObject>section .hljs-number{color:#005cc5}div#p>svg>foreignObject>section .hljs-string{color:#032f62}div#p>svg>foreignObject>section svg[data-marp-fitting=svg]{max-height:563px}div#p>svg>foreignObject>section h1{color:#246;font-size:1.6em}div#p>svg>foreignObject>section h1,div#p>svg>foreignObject>section h2{border-bottom:none}div#p>svg>foreignObject>section h2{font-size:1.3em}div#p>svg>foreignObject>section h3{font-size:1.1em}div#p>svg>foreignObject>section h4{font-size:1.05em}div#p>svg>foreignObject>section h5{font-size:1em}div#p>svg>foreignObject>section h6{font-size:.9em}div#p>svg>foreignObject>section h1 strong,div#p>svg>foreignObject>section h2 strong,div#p>svg>foreignObject>section h3 strong,div#p>svg>foreignObject>section h4 strong,div#p>svg>foreignObject>section h5 strong,div#p>svg>foreignObject>section h6 strong{color:#48c;font-weight:inherit}div#p>svg>foreignObject>section hr{height:0;padding-top:.25em}div#p>svg>foreignObject>section pre{border:1px solid #999;line-height:1.15;overflow:visible}div#p>svg>foreignObject>section pre code svg[data-marp-fitting=svg]{max-height:529px}div#p>svg>foreignObject>section footer,div#p>svg>foreignObject>section header{color:hsla(0,0%,40%,.75);font-size:18px;left:30px;margin:0;position:absolute}div#p>svg>foreignObject>section header{top:21px}div#p>svg>foreignObject>section footer{bottom:21px}div#p>svg>foreignObject>section{align-items:stretch;background:#fff;display:flex;flex-flow:column nowrap;font-size:29px;height:720px;justify-content:center;padding:78.5px;width:1280px}div#p>svg>foreignObject>section{--marpit-root-font-size:29px}div#p>svg>foreignObject>section>:last-child,div#p>svg>foreignObject>section[data-footer]>:nth-last-child(2){margin-bottom:0}div#p>svg>foreignObject>section>:first-child,div#p>svg>foreignObject>section>header:first-child+*{margin-top:0}div#p>svg>foreignObject>section:after{bottom:21px;color:#777;font-size:24px;padding:0;position:absolute;right:30px}div#p>svg>foreignObject>section:after{--marpit-root-font-size:24px}div#p>svg>foreignObject>section.invert{background-color:#222;color:#e6eaf0}div#p>svg>foreignObject>section.invert:after{color:#999}div#p>svg>foreignObject>section.invert img{background-color:transparent}div#p>svg>foreignObject>section.invert a{color:#50b3ff}div#p>svg>foreignObject>section.invert h1{color:#a3c5e7}div#p>svg>foreignObject>section.invert h2,div#p>svg>foreignObject>section.invert h3,div#p>svg>foreignObject>section.invert h4,div#p>svg>foreignObject>section.invert h5{color:#ebeff5}div#p>svg>foreignObject>section.invert blockquote,div#p>svg>foreignObject>section.invert h6{border-color:#3d3f43;color:#939699}div#p>svg>foreignObject>section.invert h1 strong,div#p>svg>foreignObject>section.invert h2 strong,div#p>svg>foreignObject>section.invert h3 strong,div#p>svg>foreignObject>section.invert h4 strong,div#p>svg>foreignObject>section.invert h5 strong,div#p>svg>foreignObject>section.invert h6 strong{color:#7bf}div#p>svg>foreignObject>section.invert hr{background-color:#3d3f43}div#p>svg>foreignObject>section.invert footer,div#p>svg>foreignObject>section.invert header{color:hsla(0,0%,60%,.75)}div#p>svg>foreignObject>section.invert code,div#p>svg>foreignObject>section.invert kbd{background-color:#111}div#p>svg>foreignObject>section.invert kbd{border-color:#666;box-shadow:inset 0 -1px 0 #555;color:#e6eaf0}div#p>svg>foreignObject>section.invert table tr{background-color:#12181d;border-color:#60657b}div#p>svg>foreignObject>section.invert table tr:nth-child(2n){background-color:#1b2024}div#p>svg>foreignObject>section.invert table td,div#p>svg>foreignObject>section.invert table th{border-color:#5b5e61}div#p>svg>foreignObject>section.invert pre{background-color:#0a0e12;border-color:#777}div#p>svg>foreignObject>section.invert pre code{background-color:transparent}div#p>svg>foreignObject>section[data-color] h1,div#p>svg>foreignObject>section[data-color] h2,div#p>svg>foreignObject>section[data-color] h3,div#p>svg>foreignObject>section[data-color] h4,div#p>svg>foreignObject>section[data-color] h5,div#p>svg>foreignObject>section[data-color] h6{color:currentcolor}div#p>svg>foreignObject>section svg[data-marp-fitting=svg]{display:block;height:auto;width:100%}@supports (-ms-ime-align:auto){div#p>svg>foreignObject>section svg[data-marp-fitting=svg]{position:static}}div#p>svg>foreignObject>section svg[data-marp-fitting=svg].__reflow__{content:""}@supports (-ms-ime-align:auto){div#p>svg>foreignObject>section svg[data-marp-fitting=svg].__reflow__{position:relative}}div#p>svg>foreignObject>section [data-marp-fitting-svg-content]{display:table;white-space:nowrap;width:-webkit-max-content;width:-moz-max-content;width:max-content}div#p>svg>foreignObject>section [data-marp-fitting-svg-content-wrap]{white-space:pre}div#p>svg>foreignObject>section img[data-marp-twemoji]{background:transparent;height:1em;margin:0 .05em 0 .1em;vertical-align:-.1em;width:1em}
  13. /* @theme tum */div#p>svg>foreignObject>section{
  14. /*background-color: #fff;
  15. color: #000;
  16. background-image: url('images/TUM_Logo_blau_rgb_s.svg');
  17. background-repeat: no-repeat;
  18. background-position: right 40px top 40px;
  19. background-size: 8%;*/}div#p>svg>foreignObject>section.lead{
  20. /*background-image: url('images/TUM_Uhrenturm.png');
  21. background-position: right;
  22. background-size: 45%;*/}div#p>svg>foreignObject>section h1,div#p>svg>foreignObject>section h2{color:#1f315c}div#p>svg>foreignObject>section a{color:#5fb2e6}div#p>svg>foreignObject>section footer,div#p>svg>foreignObject>section:after{color:#9cb7d4}div#p>svg>foreignObject>section.invert{background-color:#003359;color:#fff
  23. /*background-image: url('images/TUM_Logo_weiss_rgb_s.svg');*/}div#p>svg>foreignObject>section.lead.invert{
  24. /*background-image: url('images/TUM_Uhrenturm_w.png');*/}div#p>svg>foreignObject>section.invert footer,div#p>svg>foreignObject>section.invert h1,div#p>svg>foreignObject>section.invert:after{color:#fff}div#p>svg>foreignObject>section.invert a{color:#e37222}
  25. /* Add "Page" prefix and total page number */div#p>svg>foreignObject>section:after{content:attr(data-marpit-pagination) ' / ' attr(data-marpit-pagination-total)}
  26. /* @theme wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu */div#p>svg>foreignObject>section[data-marpit-advanced-background=background]{columns:initial!important;display:block!important;padding:0!important}div#p>svg>foreignObject>section[data-marpit-advanced-background=background]:after,div#p>svg>foreignObject>section[data-marpit-advanced-background=background]:before,div#p>svg>foreignObject>section[data-marpit-advanced-background=content]:after,div#p>svg>foreignObject>section[data-marpit-advanced-background=content]:before{display:none!important}div#p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]{all:initial;display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%}div#p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container][data-marpit-advanced-background-direction=vertical]{flex-direction:column}div#p>svg>foreignObject>section[data-marpit-advanced-background=background][data-marpit-advanced-background-split]>div[data-marpit-advanced-background-container]{width:var(--marpit-advanced-background-split,50%)}div#p>svg>foreignObject>section[data-marpit-advanced-background=background][data-marpit-advanced-background-split=right]>div[data-marpit-advanced-background-container]{margin-left:calc(100% - var(--marpit-advanced-background-split, 50%))}div#p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]>figure{all:initial;background-position:center;background-repeat:no-repeat;background-size:cover;flex:auto;margin:0}div#p>svg>foreignObject>section[data-marpit-advanced-background=content],div#p>svg>foreignObject>section[data-marpit-advanced-background=pseudo]{background:transparent!important}div#p>svg>foreignObject>section[data-marpit-advanced-background=pseudo],div#p>svg[data-marpit-svg]>foreignObject[data-marpit-advanced-background=pseudo]{pointer-events:none!important}div#p>svg>foreignObject>section[data-marpit-advanced-background-split]{width:100%;height:100%}</style></head><body><div class="bespoke-progress-parent"><div class="bespoke-progress-bar"></div></div><div class="bespoke-marp-osc"><button data-bespoke-marp-osc="prev" tabindex="-1" title="Previous slide">Previous slide</button><span data-bespoke-marp-osc="page"></span><button data-bespoke-marp-osc="next" tabindex="-1" title="Next slide">Next slide</button><button data-bespoke-marp-osc="fullscreen" tabindex="-1" title="Toggle fullscreen (f)">Toggle fullscreen</button><button data-bespoke-marp-osc="presenter" tabindex="-1" title="Open presenter view (p)">Open presenter view</button></div><div id="p"><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="1" data-background-image="url('assets/garde.png')" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" style="--background-image:url('assets/garde.png');--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/garde.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  27. <h1><svg data-marp-fitting="svg"><foreignObject><span data-marp-fitting-svg-content>Version control with <code>git</code> for scientists </span></foreignObject></svg></h1>
  28. <p><img src="assets/git.png" alt="" style="height:150px;" /></p>
  29. <h3>PY Barriat &amp; F. Massonnet</h3>
  30. <h5>May 05, 2022</h5>
  31. <h6>some parts inspired on slides from CISM</h6>
  32. </section>
  33. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="2" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="2" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  34. <h1>Discuss <img class="emoji" draggable="false" alt="💬" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f4ac.svg" data-marp-twemoji=""/></h1>
  35. <h3>How do you manage different file versions <img class="emoji" draggable="false" alt="❓" src="https://twemoji.maxcdn.com/v/14.0.2/svg/2753.svg" data-marp-twemoji=""/></h3>
  36. <h3>How do you work with collaborators on the same files <img class="emoji" draggable="false" alt="❓" src="https://twemoji.maxcdn.com/v/14.0.2/svg/2753.svg" data-marp-twemoji=""/></h3>
  37. <h3></h3>
  38. <p><img src="assets/01.png" alt="" style="height:250px;" /></p>
  39. <footer>05/05/2022 | Version control with Git</footer>
  40. </section>
  41. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="3" data-marpit-fragments="2" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="3" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  42. <h1>Notions of code versioning</h1>
  43. <h2>Track the history and evolution of the project</h2>
  44. <p>think of it as a series of snapshots (<strong>commits</strong>) of your code</p>
  45. <h3>Benefits</h3>
  46. <ul>
  47. <li data-marpit-fragment="1">possibility to go back in time <img class="emoji" draggable="false" alt="📆" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f4c6.svg" data-marp-twemoji=""/>
  48. <blockquote>
  49. <p>tracking bugs<br />
  50. recovering from mistakes</p>
  51. </blockquote>
  52. </li>
  53. <li data-marpit-fragment="2">Information about the modification <img class="emoji" draggable="false" alt="📋" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f4cb.svg" data-marp-twemoji=""/>
  54. <blockquote>
  55. <p>who, when, why</p>
  56. </blockquote>
  57. </li>
  58. </ul>
  59. <footer>05/05/2022 | Version control with Git</footer>
  60. </section>
  61. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="4" data-marpit-fragments="5" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="4" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  62. <ul>
  63. <li>team work <img class="emoji" draggable="false" alt="👥" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f465.svg" data-marp-twemoji=""/>
  64. <ul>
  65. <li data-marpit-fragment="1"><strong>Simultaneous</strong> work on a project
  66. <blockquote>
  67. <p>No need to send email to say &quot;I'm working on that file&quot; (dropbox organization)</p>
  68. </blockquote>
  69. </li>
  70. <li data-marpit-fragment="2"><strong>Asynchronous</strong> synchronisation
  71. <blockquote>
  72. <p>Allow work Offline (opposite to overleaf project)<br />
  73. Need conflict resolution</p>
  74. </blockquote>
  75. </li>
  76. </ul>
  77. </li>
  78. </ul>
  79. <h3>Different usage</h3>
  80. <ul>
  81. <li data-marpit-fragment="3">local</li>
  82. <li data-marpit-fragment="4">client-server (Subversion)</li>
  83. <li data-marpit-fragment="5">distributed (Git)</li>
  84. </ul>
  85. <footer>05/05/2022 | Version control with Git</footer>
  86. </section>
  87. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="5" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="5" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  88. <h2>Workflow</h2>
  89. <p><strong>Testing new idea</strong> (and easy way to throw them out) <img class="emoji" draggable="false" alt="🚧" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f6a7.svg" data-marp-twemoji=""/></p>
  90. <p><strong>Multiple version</strong> of the code</p>
  91. <ul>
  92. <li>Stable (1.x.y)</li>
  93. <li>Debug (1.x.y+1)</li>
  94. <li>Next &quot;feature&quot; release (1.x+1.0)</li>
  95. <li>Next &quot;huge&quot; release (2.0.0)</li>
  96. </ul>
  97. <footer>05/05/2022 | Version control with Git</footer>
  98. </section>
  99. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section data-background-image="url('assets/back.png')" data-footer="https://www.openhub.net/repositories/compare" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="6" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:https://www.openhub.net/repositories/compare;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;--marpit-advanced-background-split:50%;" data-marpit-advanced-background="background" data-marpit-advanced-background-split="left"><div data-marpit-advanced-background-container="true" data-marpit-advanced-background-direction="horizontal"><figure style="background-image:url(&quot;assets/open_source_code.png&quot;);background-size:100%;"></figure></div></section></foreignObject><foreignObject width="50%" height="720" x="50%"><section id="6" data-background-image="url('assets/back.png')" data-footer="https://www.openhub.net/repositories/compare" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="6" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:https://www.openhub.net/repositories/compare;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;--marpit-advanced-background-split:50%;" data-marpit-advanced-background="content" data-marpit-advanced-background-split="left">
  100. <h1>Open-Source Code</h1>
  101. <h3>Compare Repositories</h3>
  102. <footer><a href="https://www.openhub.net/repositories/compare">https://www.openhub.net/repositories/compare</a></footer>
  103. </section>
  104. </foreignObject><foreignObject width="1280" height="720" data-marpit-advanced-background="pseudo"><section data-background-image="url('assets/back.png')" data-footer="https://www.openhub.net/repositories/compare" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="6" data-marpit-pagination-total="31" style="" data-marpit-advanced-background="pseudo" data-marpit-advanced-background-split="left"></section></foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="7" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="7" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  105. <h1>What is <code>git</code> ?</h1>
  106. <h4>Version control system</h4>
  107. <ul>
  108. <li>Manage different versions of files</li>
  109. <li>Collaborate with yourself</li>
  110. <li>Collaborate with other people</li>
  111. </ul>
  112. <h4>Why use <code>git</code></h4>
  113. <blockquote>
  114. <p><em>&quot;Always remember your first collaborator is your future self, and your past self doesn't answer emails&quot;</em><br />
  115. Christie Balhai <img class="emoji" draggable="false" alt="😉" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f609.svg" data-marp-twemoji=""/></p>
  116. </blockquote>
  117. <footer>05/05/2022 | Version control with Git</footer>
  118. </section>
  119. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="8" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="8" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  120. <h1><code>git</code> workflow</h1>
  121. <p>Your local repository consists of <strong>three areas</strong> maintained by <code>git</code></p>
  122. <ul>
  123. <li>the first one is your <strong>Working Directory</strong> which holds the actual files</li>
  124. <li>the second one is the <strong>INDEX</strong> which acts as a staging area</li>
  125. <li>and finally the <strong>HEAD</strong> which points to the last commit you've made</li>
  126. </ul>
  127. <p><img src="assets/06.png" alt="" style="height:250px;" /></p>
  128. <footer>05/05/2022 | Version control with Git</footer>
  129. </section>
  130. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="9" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;" data-marpit-advanced-background="background"><div data-marpit-advanced-background-container="true" data-marpit-advanced-background-direction="horizontal"><figure style="background-image:url(&quot;assets/git_workflow.png&quot;);background-size:65%;"></figure></div></section></foreignObject><foreignObject width="1280" height="720"><section id="9" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="9" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;" data-marpit-advanced-background="content"><footer>05/05/2022 | Version control with Git</footer>
  131. </section>
  132. </foreignObject><foreignObject width="1280" height="720" data-marpit-advanced-background="pseudo"><section data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="9" data-marpit-pagination-total="31" style="" data-marpit-advanced-background="pseudo"></section></foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="10" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="10" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  133. <h1>Getting started with <code>git</code></h1>
  134. <p><strong>checkout</strong> a remote repository</p>
  135. <blockquote>
  136. <p>create a local working copy of a remote repository</p>
  137. </blockquote>
  138. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git <span class="hljs-built_in">clone</span> https://gogs.elic.ucl.ac.be/TECLIM/Git_Training.git
  139. </span></span></foreignObject></svg></code></pre>
  140. <p><strong>add</strong> &amp; <strong>commit</strong></p>
  141. <blockquote>
  142. <p>you can propose changes (add it to the <strong>INDEX</strong>)</p>
  143. </blockquote>
  144. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git add &lt;filename&gt;
  145. </span></span></foreignObject></svg></code></pre>
  146. <blockquote>
  147. <p>you can commit these changes (to the <strong>HEAD</strong>)</p>
  148. </blockquote>
  149. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git commit -m <span class="hljs-string">&quot;Commit message&quot;</span>
  150. </span></span></foreignObject></svg></code></pre>
  151. <footer>05/05/2022 | Version control with Git</footer>
  152. </section>
  153. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="11" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="11" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  154. <h1>commit</h1>
  155. <p><code>git</code> versioning is a succession of snapshot of your files at key time of their development</p>
  156. <p>each snapshot is called <strong>commit</strong> which is :</p>
  157. <ul>
  158. <li>all the files at a given time</li>
  159. <li>a unique name (SLHA1)</li>
  160. <li>metadata
  161. <blockquote>
  162. <p>who created, when, info</p>
  163. </blockquote>
  164. </li>
  165. <li>pointer to previous(es) commit(s)</li>
  166. </ul>
  167. <footer>05/05/2022 | Version control with Git</footer>
  168. </section>
  169. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="12" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="12" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  170. <p>Your changes are now in the <strong>HEAD</strong> of your local working copy.</p>
  171. <p><strong>push</strong></p>
  172. <blockquote>
  173. <p>to send those changes to your remote repository</p>
  174. </blockquote>
  175. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git push
  176. </span></span></foreignObject></svg></code></pre>
  177. <p><strong>pull</strong></p>
  178. <blockquote>
  179. <p>to update your local working directory to the newest commit, to fetch and merge remote changes</p>
  180. </blockquote>
  181. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git pull
  182. </span></span></foreignObject></svg></code></pre>
  183. <footer>05/05/2022 | Version control with Git</footer>
  184. </section>
  185. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="13" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="13" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  186. <h1><code>git</code> diff</h1>
  187. <p><marp-auto-scaling data-downscale-only><img src="https://kroki.io/mermaid/svg/eJxljDEOwjAMRfecwkvGXKADElIrwdIJCVaTOqmFmoTUkXp8QgYqUW__v-e_0rtQsNQz-oyL0hqLxFCWJ2UF9RJmYcsJg8A95tea0NKBXMd-eLRW6zEKQWY_C0S3_3Rwo02AA4QqNPfHjDm1hQ48C0zsXOOtq-wynPsdgTEW7UzTYePP-0b1AX8uRoE"/></marp-auto-scaling></p><footer>05/05/2022 | Version control with Git</footer>
  188. </section>
  189. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="14" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="14" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  190. <h1><code>git</code> undo</h1>
  191. <p>In case you did something wrong (which for sure never happens <img class="emoji" draggable="false" alt="😉" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f609.svg" data-marp-twemoji=""/>)</p>
  192. <p><marp-auto-scaling data-downscale-only><img src="https://kroki.io/mermaid/svg/eJyNjzFvwkAMhXd-hZdsPdhRdVKlIJWFFVZzOMGiOQfHB-2_L7HaUoSQ8Gg_v_e9gY6FcqKasVXsJlWFxSSXbks6gcv0qMaJe8wGa9HD0GOiu8tyVS82vl2JEciJ9Kp-8escziq5hU523HBCY8kgDSA0_EHwutVZ5AxfUhTON0H-HmL8M5xDywZpT-kgxSAEt3BtVb0v3uoQ_oun7v2Qbnx4Bs72aCMe9JfMX1LOO_p0a8-N8afrCKg0kPn-yvdsl2_S_IRM"/></marp-auto-scaling></p><footer>05/05/2022 | Version control with Git</footer>
  193. </section>
  194. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="15" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="15" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  195. <h1>Windows users</h1>
  196. <blockquote>
  197. <p>How commonly do programmers use Git GUIs instead of the command line ?</p>
  198. </blockquote>
  199. <p>Use programs like <code>SourceTree</code> or <code>TortoiseGit</code></p>
  200. <p><img src="assets/07.png" alt="" style="height:250px;" /></p>
  201. <p>But, <strong>to be familiar with Git</strong>, try the command line</p>
  202. <blockquote>
  203. <p>clone, push/pull, merge, rebase, log, tag, format-patch/am, bisect, blame, etc</p>
  204. </blockquote>
  205. <footer>05/05/2022 | Version control with Git</footer>
  206. </section>
  207. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="16" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="16" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  208. <h1>Simple Git Exercices</h1>
  209. <p>First, configure your environment (just once) <img class="emoji" draggable="false" alt="🚧" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f6a7.svg" data-marp-twemoji=""/></p>
  210. <blockquote>
  211. <p>on your laptop, on your ELIC account, etc</p>
  212. </blockquote>
  213. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git config --global user.name <span class="hljs-string">&quot;Your Name&quot;</span>
  214. git config --global user.email <span class="hljs-string">&quot;foo@bar.be&quot;</span>
  215. git config --global color.ui auto
  216. git config --global core.editor <span class="hljs-string">&quot;vim&quot;</span>
  217. git config --list
  218. </span></span></foreignObject></svg></code></pre>
  219. <p>Now, clone <a href="https://gogs.elic.ucl.ac.be/TECLIM/Git_Training.git">https://gogs.elic.ucl.ac.be/TECLIM/Git_Training.git</a></p>
  220. <blockquote>
  221. <p>Theses are very simple exercices to learn to manipulate git.<br />
  222. In each folder, simply run <code>./create.sh</code> and follow the guide <img class="emoji" draggable="false" alt="😎" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f60e.svg" data-marp-twemoji=""/></p>
  223. </blockquote>
  224. <footer>05/05/2022 | Version control with Git</footer>
  225. </section>
  226. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="17" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="17" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  227. <h1><code>git</code> branches</h1>
  228. <ul>
  229. <li>a <strong>branch</strong> is pointer to a commit (represent an history)</li>
  230. <li>a <strong>branch</strong> can point at other commit
  231. <blockquote>
  232. <p>it can move !</p>
  233. </blockquote>
  234. </li>
  235. <li>a <strong>branch</strong> is a way to organize your work and working histories</li>
  236. <li>since commit know which commits they are based on, <strong>branch</strong> represents a commit and what came before it</li>
  237. <li>a branch is cheap, you can have multiple <strong>branch</strong> in the same repository and switch your working dir from one <strong>branch</strong> state to another</li>
  238. </ul>
  239. <footer>05/05/2022 | Version control with Git</footer>
  240. </section>
  241. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="18" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="18" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  242. <h1>branches demo</h1>
  243. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git commit
  244. git checkout -b newbranch
  245. git checkout newbranch
  246. git commit
  247. git commit
  248. git checkout master
  249. git commit
  250. git commit
  251. </span></span></foreignObject></svg></code></pre>
  252. <blockquote>
  253. <p>default branch: <strong>master</strong></p>
  254. </blockquote>
  255. <p><marp-auto-scaling data-downscale-only><img src="https://kroki.io/mermaid/svg/eJxLL0osyFDwCbLmUgACx-i0tLRkS-OkWAVdXbua5Pzc3MySGgUnjbRk8zQLwzRNsConFEkXDbO0FMNE00SIpAuKpGt0Xmp5UlFiXnKGgk1Skb6doYV5qllikkIs3CRk5VFAs9JMko1SIWZFoZgVGZ2bWFySWgQxKNkgzdTAKA1oEACGlzh9"/></marp-auto-scaling></p><footer>05/05/2022 | Version control with Git</footer>
  256. </section>
  257. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="19" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="19" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  258. <ul>
  259. <li>create a new branch : <code>git checkout -b newbranch</code></li>
  260. <li>switch to a branch : <code>git checkout newbranch</code></li>
  261. <li>delete a branch : <code>git branch -d newbranch</code></li>
  262. <li>list all branches : <code>git branch</code></li>
  263. </ul>
  264. <h3>branch is cheap : do it often <img class="emoji" draggable="false" alt="👍" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f44d.svg" data-marp-twemoji=""/></h3>
  265. <blockquote>
  266. <p>branch allow to have short/long term parallel development</p>
  267. </blockquote>
  268. <footer>05/05/2022 | Version control with Git</footer>
  269. </section>
  270. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="20" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="20" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  271. <h1>merging branches</h1>
  272. <p>the interest of branch is that you can <strong>merge</strong> them</p>
  273. <blockquote>
  274. <p>include in one (branch) file the modification done somewhere else</p>
  275. </blockquote>
  276. <pre><code class="language-bash"><svg data-marp-fitting="svg" data-marp-fitting-code><foreignObject><span data-marp-fitting-svg-content><span data-marp-fitting-svg-content-wrap>git merge bx
  277. git branch -d bx
  278. git commit
  279. </span></span></foreignObject></svg></code></pre>
  280. <p><marp-auto-scaling data-downscale-only><img src="https://kroki.io/mermaid/svg/eJxLL0osyFDwCbLmUgACR420tLRkS-Mkm6Qifbuk-ApNBV1dO9doQwvzVLNEuKhCbmpRemqKApifmaeQFF8ZqwA2wCXaLC3FMNE0EaoUKA4yACznCmLWJOfn5maW1ChERicbpJkaGKXBVCrEcgEAQpEong"/></marp-auto-scaling></p><footer>05/05/2022 | Version control with Git</footer>
  281. </section>
  282. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="21" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="21" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  283. <h1>Difference between <code>git</code> &amp; <code>GitHub</code> ?</h1>
  284. <p><code>git</code> is the version control system <strong>service</strong></p>
  285. <blockquote>
  286. <p>git runs local if you don't use GitHub</p>
  287. </blockquote>
  288. <p><code>GitHub</code> is the hosting service : <strong>website</strong></p>
  289. <blockquote>
  290. <p>on which you can publish (push) your git repositories and collaborate with other people</p>
  291. </blockquote>
  292. <footer>05/05/2022 | Version control with Git</footer>
  293. </section>
  294. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="22" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="22" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  295. <h1><code>Github</code></h1>
  296. <ul>
  297. <li>It provides a backup of your files</li>
  298. <li>It gives you a visual interface for navigating your repos</li>
  299. <li>It gives other people a way to navigate your repos</li>
  300. <li>It makes repo collaboration easy (e.g., multiple people contributing to the same project)</li>
  301. <li>It provides a lightweight issue tracking system</li>
  302. </ul>
  303. <footer>05/05/2022 | Version control with Git</footer>
  304. </section>
  305. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="23" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="23" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  306. <h1>... and <code>GitLab</code> vs <code>GitHub</code> vs others</h1>
  307. <p><code>GitLab</code> is an alternative to <code>GitHub</code></p>
  308. <blockquote>
  309. <p><code>GitLab</code> is free for unlimited private projects. <code>GitHub</code> doesn't provide private projects for free</p>
  310. </blockquote>
  311. <p>And for <strong>ELIC</strong>, <code>Gogs</code> does the job: <a href="https://gogs.elic.ucl.ac.be/">https://gogs.elic.ucl.ac.be/</a></p>
  312. <ul>
  313. <li>shares the same features
  314. <blockquote>
  315. <p>dashboard, file browser, issue tracking, groups support, webhooks, etc</p>
  316. </blockquote>
  317. </li>
  318. <li>easy to install, cross-platform friendly</li>
  319. <li>uses little memory, uses little CPU power</li>
  320. <li>... and 100% free <img class="emoji" draggable="false" alt="😄" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f604.svg" data-marp-twemoji=""/></li>
  321. </ul>
  322. <footer>05/05/2022 | Version control with Git</footer>
  323. </section>
  324. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="24" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="24" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  325. <h1>What is <code>git</code> good for ?</h1>
  326. <h4>Local</h4>
  327. <blockquote>
  328. <p>Backup, reproducibility</p>
  329. </blockquote>
  330. <p><img src="assets/02.png" alt="" style="height:300px;" /></p>
  331. <footer>05/05/2022 | Version control with Git</footer>
  332. </section>
  333. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="25" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="25" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  334. <h4>Client-Server</h4>
  335. <blockquote>
  336. <p>Backup, reproducibility, collaboration</p>
  337. </blockquote>
  338. <p><img src="assets/03.png" alt="" style="height:500px;" /></p>
  339. <footer>05/05/2022 | Version control with Git</footer>
  340. </section>
  341. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section data-background-image="url('assets/back.png')" data-footer="**Limitation**" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" style="--background-image:url('assets/back.png');--footer:**Limitation**;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;" data-marpit-advanced-background="background"><div data-marpit-advanced-background-container="true" data-marpit-advanced-background-direction="horizontal"><figure style="background-image:url(&quot;assets/04.png&quot;);background-size:95%;"></figure></div></section></foreignObject><foreignObject width="1280" height="720"><section id="26" data-background-image="url('assets/back.png')" data-footer="**Limitation**" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" style="--background-image:url('assets/back.png');--footer:**Limitation**;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;" data-marpit-advanced-background="content"><footer><strong>Limitation</strong></footer>
  342. </section>
  343. </foreignObject><foreignObject width="1280" height="720" data-marpit-advanced-background="pseudo"><section data-background-image="url('assets/back.png')" data-footer="**Limitation**" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" style="" data-marpit-advanced-background="pseudo"></section></foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="27" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="27" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  344. <h1><code>git</code> conflict <img class="emoji" draggable="false" alt="💥" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f4a5.svg" data-marp-twemoji=""/></h1>
  345. <h3>multiple version of files are great</h3>
  346. <ul>
  347. <li>not always easy to know how to merge them</li>
  348. <li>conflict will happen (same line modify by both user)</li>
  349. </ul>
  350. <h3>conflict need to be resolved manually ! <img class="emoji" draggable="false" alt="😨" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f628.svg" data-marp-twemoji=""/></h3>
  351. <ul>
  352. <li>boring task</li>
  353. <li>need to understand why a conflict is present !</li>
  354. <li><strong>do not be afraid of conflict !</strong> <img class="emoji" draggable="false" alt="💪" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f4aa.svg" data-marp-twemoji=""/>
  355. <blockquote>
  356. <p>Do not try to avoid them at all cost !</p>
  357. </blockquote>
  358. </li>
  359. <li>stay in sync as most as possible and keep line short</li>
  360. </ul>
  361. <footer>05/05/2022 | Version control with Git</footer>
  362. </section>
  363. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="28" data-background-image="url('assets/back.png')" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="28" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  364. <h4>Distributed</h4>
  365. <blockquote>
  366. <p>Backup, reproducibility, collaboration, transparency</p>
  367. </blockquote>
  368. <p><img src="assets/05.png" alt="" style="height:500px;" /></p>
  369. </section>
  370. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="29" data-background-image="url('assets/back.png')" data-footer="Summary of operations" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="29" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:Summary of operations;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  371. <p><marp-auto-scaling data-downscale-only><img src="https://kroki.io/mermaid/svg/eJyVT0EOgjAQvPOKhoST-gESSUwg0QsHL3qtZYUG2q2lNfH3lmJAU4mxl2ZndmZnerhZkAxyTmtNRUStQWnFBXRE3FNUG864otKQE-q2V5RBwBzKvDgH6L7Y5QF4BIEG3Kew5wb1w28E6CbLBnlKWIdyPDjMDp5SOK4B1qI1nk6ScrDAO-g56TowTknsLWOyHb3J6tNn0rpbvldKaFV5yo9zMhSCmx_xr2BYsxBfgK5hUf-2qGzX_ddxULiC_rorOF96pfgq6ZvoCXuYqx8"/></marp-auto-scaling></p><footer>Summary of operations</footer>
  372. </section>
  373. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="30" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="30" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  374. <h1>Conclusion</h1>
  375. <ul>
  376. <li><strong>versioning</strong> is crucial both for small/large project <img class="emoji" draggable="false" alt="❗" src="https://twemoji.maxcdn.com/v/14.0.2/svg/2757.svg" data-marp-twemoji=""/></li>
  377. <li>avoid dropbox for paper / project <img class="emoji" draggable="false" alt="😖" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f616.svg" data-marp-twemoji=""/></li>
  378. <li>do meaningful commit</li>
  379. <li>do meaningful message</li>
  380. <li><code>git</code> more complicated but the standard <img class="emoji" draggable="false" alt="😃" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f603.svg" data-marp-twemoji=""/></li>
  381. </ul>
  382. <footer>05/05/2022 | Version control with Git</footer>
  383. </section>
  384. </foreignObject></svg><svg data-marpit-svg="" viewBox="0 0 1280 720"><foreignObject width="1280" height="720"><section id="31" data-background-image="url('assets/back.png')" data-footer="05/05/2022 | Version control with Git" data-paginate="true" data-theme="wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu" data-marpit-pagination="31" data-marpit-pagination-total="31" style="--background-image:url('assets/back.png');--footer:05/05/2022 | Version control with Git;--paginate:true;--theme:wir0o89ro7kyzfz1ywgdibnkfdihuwuiavp8z3rggbu;background-image:url('assets/back.png');background-position:center;background-repeat:no-repeat;background-size:cover;">
  385. <h1>Version control with Git for scientists <img class="emoji" draggable="false" alt="📈" src="https://twemoji.maxcdn.com/v/14.0.2/svg/1f4c8.svg" data-marp-twemoji=""/></h1>
  386. <footer>05/05/2022 | Version control with Git</footer>
  387. </section>
  388. <script>!function(){"use strict";const t="marpitSVGPolyfill:setZoomFactor,",e=Symbol();let r,o;function n(n){const i="object"==typeof n&&n.target||document,a="object"==typeof n?n.zoom:n;window[e]||(Object.defineProperty(window,e,{configurable:!0,value:!0}),window.addEventListener("message",(({data:e,origin:r})=>{if(r===window.origin)try{if(e&&"string"==typeof e&&e.startsWith(t)){const[,t]=e.split(","),r=Number.parseFloat(t);Number.isNaN(r)||(o=r)}}catch(t){console.error(t)}})));let l=!1;Array.from(i.querySelectorAll("svg[data-marpit-svg]"),(t=>{var e,n,i,s;t.style.transform||(t.style.transform="translateZ(0)");const c=a||o||t.currentScale||1;r!==c&&(r=c,l=c);const d=t.getBoundingClientRect(),{length:f}=t.children;for(let r=0;r<f;r+=1){const o=t.children[r];if(o.getScreenCTM){const t=o.getScreenCTM();if(t){const r=null!==(n=null===(e=o.x)||void 0===e?void 0:e.baseVal.value)&&void 0!==n?n:0,a=null!==(s=null===(i=o.y)||void 0===i?void 0:i.baseVal.value)&&void 0!==s?s:0,l=o.children.length;for(let e=0;e<l;e+=1){const n=o.children[e];if("SECTION"===n.tagName){const{style:e}=n;e.transformOrigin||(e.transformOrigin=`${-r}px ${-a}px`),e.transform=`scale(${c}) matrix(${t.a}, ${t.b}, ${t.c}, ${t.d}, ${t.e-d.left}, ${t.f-d.top}) translateZ(0.0001px)`;break}}}}}})),!1!==l&&Array.from(i.querySelectorAll("iframe"),(({contentWindow:e})=>{null==e||e.postMessage(`${t}${l}`,"null"===window.origin?"*":window.origin)}))}r=1,o=void 0;const i=(t,e,r)=>{if(t.getAttribute(e)!==r)return t.setAttribute(e,r),!0};function a({once:t=!1,target:e=document}={}){const r="Apple Computer, Inc."===navigator.vendor?[n]:[];let o=!t;const a=()=>{for(const t of r)t({target:e});!function(t=document){Array.from(t.querySelectorAll('svg[data-marp-fitting="svg"]'),(t=>{var e;const r=t.firstChild,o=r.firstChild,{scrollWidth:n,scrollHeight:a}=o;let l,s=1;if(t.hasAttribute("data-marp-fitting-code")&&(l=null===(e=t.parentElement)||void 0===e?void 0:e.parentElement),t.hasAttribute("data-marp-fitting-math")&&(l=t.parentElement),l){const t=getComputedStyle(l),e=Math.ceil(l.clientWidth-parseFloat(t.paddingLeft||"0")-parseFloat(t.paddingRight||"0"));e&&(s=e)}const c=Math.max(n,s),d=Math.max(a,1),f=`0 0 ${c} ${d}`;i(r,"width",`${c}`),i(r,"height",`${d}`),i(t,"preserveAspectRatio",getComputedStyle(t).getPropertyValue("--preserve-aspect-ratio")||"xMinYMin meet"),i(t,"viewBox",f)&&t.classList.toggle("__reflow__")}))}(e),o&&window.requestAnimationFrame(a)};return a(),()=>{o=!1}}const l=Symbol(),s=document.currentScript;((t=document)=>{if("undefined"==typeof window)throw new Error("Marp Core's browser script is valid only in browser context.");if(t[l])return t[l];const e=a({target:t}),r=()=>{e(),delete t[l]};Object.defineProperty(t,l,{configurable:!0,value:r})})(s?s.getRootNode():document)}();
  389. </script></foreignObject></svg></div><div class="bespoke-marp-note" data-index="1" tabindex="0"><p>Notes for presenter.</p><p>Discussion sur l'intérêt du versioning</p></div><div class="bespoke-marp-note" data-index="5" tabindex="0"><p>```mermaid
  390. pie
  391. &quot;Git&quot; : 73
  392. &quot;Mercurial&quot; : 1
  393. &quot;Subversion (SVN)&quot; : 22
  394. &quot;Bazaar&quot; : 0
  395. &quot;CVS&quot; : 1
  396. ```</p></div><div class="bespoke-marp-note" data-index="8" tabindex="0"><p>Notes for presenter.</p><p>Explications</p></div><div class="bespoke-marp-note" data-index="22" tabindex="0"><p>Notes for presenter.</p><p>Les goûts et les couleurs</p></div><div class="bespoke-marp-note" data-index="24" tabindex="0"><p>Notes for presenter.</p><p>Analogie à SVN</p></div><div class="bespoke-marp-note" data-index="25" tabindex="0"><p>Notes for presenter.</p><p>Explications</p></div><div class="bespoke-marp-note" data-index="28" tabindex="0"><p>Notes for presenter.</p><p>&quot;clone&quot; = clone + checkout
  397. pull = fetch + merge</p></div><script>/*!! License: https://unpkg.com/@marp-team/marp-cli@1.7.1/lib/bespoke.js.LICENSE.txt */
  398. !function(){"use strict";const e=document.body,t=(...e)=>history.replaceState(...e),n="presenter",r="next",o=["",n,r],a="data-bespoke-marp-",i=(e,{protocol:t,host:n,pathname:r,hash:o}=location)=>{const a=e.toString();return`${t}//${n}${r}${a?"?":""}${a}${o}`},s=()=>e.dataset.bespokeView,l=e=>new URLSearchParams(location.search).get(e),d=(e,n={})=>{var r;const o={location,setter:t,...n},a=new URLSearchParams(o.location.search);for(const t of Object.keys(e)){const n=e[t];"string"==typeof n?a.set(t,n):a.delete(t)}try{o.setter({...null!==(r=window.history.state)&&void 0!==r?r:{}},"",i(a,o.location))}catch(e){console.error(e)}},c=(()=>{const e="bespoke-marp";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}})(),u=e=>{try{return localStorage.getItem(e)}catch(e){return null}},f=(e,t)=>{try{return localStorage.setItem(e,t),!0}catch(e){return!1}},m=e=>{try{return localStorage.removeItem(e),!0}catch(e){return!1}},g=(e,t)=>{const n="aria-hidden";t?e.setAttribute(n,"true"):e.removeAttribute(n)},p=e=>{e.parent.classList.add("bespoke-marp-parent"),e.slides.forEach((e=>e.classList.add("bespoke-marp-slide"))),e.on("activate",(t=>{const n="bespoke-marp-active",r=t.slide,o=r.classList,a=!o.contains(n);if(e.slides.forEach((e=>{e.classList.remove(n),g(e,!0)})),o.add(n),g(r,!1),a){const e=`${n}-ready`;o.add(e),document.body.clientHeight,o.remove(e)}}))},v=e=>{let t=0,n=0;Object.defineProperty(e,"fragments",{enumerable:!0,value:e.slides.map((e=>[null,...e.querySelectorAll("[data-marpit-fragment]")]))});const r=r=>void 0!==e.fragments[t][n+r],o=(r,o)=>{t=r,n=o,e.fragments.forEach(((e,t)=>{e.forEach(((e,n)=>{if(null==e)return;const i=t<r||t===r&&n<=o;e.setAttribute(`${a}fragment`,(i?"":"in")+"active");const s=`${a}current-fragment`;t===r&&n===o?e.setAttribute(s,"current"):e.removeAttribute(s)}))})),e.fragmentIndex=o;const i={slide:e.slides[r],index:r,fragments:e.fragments[r],fragmentIndex:o};e.fire("fragment",i)};e.on("next",(({fragment:a=!0})=>{if(a){if(r(1))return o(t,n+1),!1;const a=t+1;e.fragments[a]&&o(a,0)}else{const r=e.fragments[t].length;if(n+1<r)return o(t,r-1),!1;const a=e.fragments[t+1];a&&o(t+1,a.length-1)}})),e.on("prev",(({fragment:a=!0})=>{if(r(-1)&&a)return o(t,n-1),!1;const i=t-1;e.fragments[i]&&o(i,e.fragments[i].length-1)})),e.on("slide",(({index:t,fragment:n})=>{let r=0;if(void 0!==n){const o=e.fragments[t];if(o){const{length:e}=o;r=-1===n?e-1:Math.min(Math.max(n,0),e-1)}}o(t,r)})),o(0,0)},h=document,y=()=>!(!h.fullscreenEnabled&&!h.webkitFullscreenEnabled),b=()=>!(!h.fullscreenElement&&!h.webkitFullscreenElement),x=e=>{e.fullscreen=()=>{y()&&(async()=>{return b()?null===(e=h.exitFullscreen||h.webkitExitFullscreen)||void 0===e?void 0:e.call(h):((e=h.body)=>{var t;return null===(t=e.requestFullscreen||e.webkitRequestFullscreen)||void 0===t?void 0:t.call(e)})();var e})()},document.addEventListener("keydown",(t=>{"f"!==t.key&&"F11"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y()||(e.fullscreen(),t.preventDefault())}))},w="bespoke-marp-inactive",k=(e=2e3)=>({parent:t,fire:n})=>{const r=t.classList,o=e=>n(`marp-${e?"":"in"}active`);let a;const i=()=>{a&&clearTimeout(a),a=setTimeout((()=>{r.add(w),o()}),e),r.contains(w)&&(r.remove(w),o(!0))};for(const e of["mousedown","mousemove","touchend"])document.addEventListener(e,i);setTimeout(i,0)},E=["AUDIO","BUTTON","INPUT","SELECT","TEXTAREA","VIDEO"],L=e=>{e.parent.addEventListener("keydown",(e=>{if(!e.target)return;const t=e.target;(E.includes(t.nodeName)||"true"===t.contentEditable)&&e.stopPropagation()}))},$=e=>{window.addEventListener("load",(()=>{for(const t of e.slides){const e=t.querySelector("[data-marp-fitting]")?"":"hideable";t.setAttribute(`${a}load`,e)}}))},S=({interval:e=250}={})=>t=>{document.addEventListener("keydown",(e=>{if(" "===e.key&&e.shiftKey)t.prev();else if("ArrowLeft"===e.key||"ArrowUp"===e.key||"PageUp"===e.key)t.prev({fragment:!e.shiftKey});else if(" "!==e.key||e.shiftKey)if("ArrowRight"===e.key||"ArrowDown"===e.key||"PageDown"===e.key)t.next({fragment:!e.shiftKey});else if("End"===e.key)t.slide(t.slides.length-1,{fragment:-1});else{if("Home"!==e.key)return;t.slide(0)}else t.next();e.preventDefault()}));let n,r,o=0;t.parent.addEventListener("wheel",(a=>{let i=!1;const s=(e,t)=>{e&&(i=i||((e,t)=>((e,t)=>{const n="X"===t?"Width":"Height";return e[`client${n}`]<e[`scroll${n}`]})(e,t)&&((e,t)=>{const{overflow:n}=e,r=e[`overflow${t}`];return"auto"===n||"scroll"===n||"auto"===r||"scroll"===r})(getComputedStyle(e),t))(e,t)),(null==e?void 0:e.parentElement)&&s(e.parentElement,t)};if(0!==a.deltaX&&s(a.target,"X"),0!==a.deltaY&&s(a.target,"Y"),i)return;a.preventDefault();const l=Math.sqrt(a.deltaX**2+a.deltaY**2);if(void 0!==a.wheelDelta){if(void 0===a.webkitForce&&Math.abs(a.wheelDelta)<40)return;if(a.deltaMode===a.DOM_DELTA_PIXEL&&l<4)return}else if(a.deltaMode===a.DOM_DELTA_PIXEL&&l<12)return;r&&clearTimeout(r),r=setTimeout((()=>{n=0}),e);const d=Date.now()-o<e,c=l<=n;if(n=l,d||c)return;let u;(a.deltaX>0||a.deltaY>0)&&(u="next"),(a.deltaX<0||a.deltaY<0)&&(u="prev"),u&&(t[u](),o=Date.now())}))},P=(e=".bespoke-marp-osc")=>{const t=document.querySelector(e);if(!t)return()=>{};const n=(e,n)=>{t.querySelectorAll(`[${a}osc=${JSON.stringify(e)}]`).forEach(n)};return y()||n("fullscreen",(e=>e.style.display="none")),c||n("presenter",(e=>{e.disabled=!0,e.title="Presenter view is disabled due to restricted localStorage."})),e=>{t.addEventListener("click",(t=>{if(t.target instanceof HTMLElement){const{bespokeMarpOsc:n}=t.target.dataset;n&&t.target.blur();const r={fragment:!t.shiftKey};"next"===n?e.next(r):"prev"===n?e.prev(r):"fullscreen"===n?null==e||e.fullscreen():"presenter"===n&&e.openPresenterView()}})),e.parent.appendChild(t),e.on("activate",(({index:t})=>{n("page",(n=>n.textContent=`Page ${t+1} of ${e.slides.length}`))})),e.on("fragment",(({index:t,fragments:r,fragmentIndex:o})=>{n("prev",(e=>e.disabled=0===t&&0===o)),n("next",(n=>n.disabled=t===e.slides.length-1&&o===r.length-1))})),e.on("marp-active",(()=>g(t,!1))),e.on("marp-inactive",(()=>g(t,!0))),y()&&(e=>{for(const t of["","webkit"])h.addEventListener(t+"fullscreenchange",e)})((()=>n("fullscreen",(e=>e.classList.toggle("exit",y()&&b())))))}},T=e=>{window.addEventListener("message",(t=>{if(t.origin!==window.origin)return;const[n,r]=t.data.split(":");if("navigate"===n){const[t,n]=r.split(",");let o=Number.parseInt(t,10),a=Number.parseInt(n,10)+1;a>=e.fragments[o].length&&(o+=1,a=0),e.slide(o,{fragment:a})}}))};var I=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];let N=e=>String(e).replace(/[&<>"']/g,(e=>`&${C[e]};`)),C={"&":"amp","<":"lt",">":"gt",'"':"quot","'":"apos"},A="dangerouslySetInnerHTML",D={className:"class",htmlFor:"for"},M={};function B(e,t){let n=[],r="";t=t||{};for(let e=arguments.length;e-- >2;)n.push(arguments[e]);if("function"==typeof e)return t.children=n.reverse(),e(t);if(e){if(r+="<"+e,t)for(let e in t)!1!==t[e]&&null!=t[e]&&e!==A&&(r+=` ${D[e]?D[e]:N(e)}="${N(t[e])}"`);r+=">"}if(-1===I.indexOf(e)){if(t[A])r+=t[A].__html;else for(;n.length;){let e=n.pop();if(e)if(e.pop)for(let t=e.length;t--;)n.push(e[t]);else r+=!0===M[e]?e:N(e)}r+=e?`</${e}>`:""}return M[r]=!0,r}const K=({children:e})=>B(null,null,...e),O="bespoke-marp-presenter-",q={container:`${O}container`,dragbar:`${O}dragbar-container`,next:`${O}next`,nextContainer:`${O}next-container`,noteContainer:`${O}note-container`,noteWrapper:`${O}note-wrapper`,noteButtons:`${O}note-buttons`,infoContainer:`${O}info-container`,infoPage:`${O}info-page`,infoPageText:`${O}info-page-text`,infoPagePrev:`${O}info-page-prev`,infoPageNext:`${O}info-page-next`,noteButtonsBigger:`${O}note-bigger`,noteButtonsSmaller:`${O}note-smaller`,infoTime:`${O}info-time`,infoTimer:`${O}info-timer`},_=e=>{const{title:t}=document;document.title="[Presenter view]"+(t?` - ${t}`:"");const n={},r=e=>(n[e]=n[e]||document.querySelector(`.${e}`),n[e]);document.body.appendChild((e=>{const t=document.createElement("div");return t.className=q.container,t.appendChild(e),t.insertAdjacentHTML("beforeend",B(K,null,B("div",{class:q.nextContainer},B("iframe",{class:q.next,src:"?view=next"})),B("div",{class:q.dragbar}),B("div",{class:q.noteContainer},B("div",{class:q.noteWrapper}),B("div",{class:q.noteButtons},B("button",{class:q.noteButtonsSmaller,tabindex:"-1",title:"Smaller notes font size"},"Smaller notes font size"),B("button",{class:q.noteButtonsBigger,tabindex:"-1",title:"Bigger notes font size"},"Bigger notes font size"))),B("div",{class:q.infoContainer},B("div",{class:q.infoPage},B("button",{class:q.infoPagePrev,tabindex:"-1",title:"Previous"},"Previous"),B("span",{class:q.infoPageText}),B("button",{class:q.infoPageNext,tabindex:"-1",title:"Next"},"Next")),B("time",{class:q.infoTime,title:"Current time"}),B("time",{class:q.infoTimer,title:"Timer"})))),t})(e.parent)),(e=>{let t=!1;r(q.dragbar).addEventListener("mousedown",(()=>{t=!0,r(q.dragbar).classList.add("active")})),window.addEventListener("mouseup",(()=>{t=!1,r(q.dragbar).classList.remove("active")})),window.addEventListener("mousemove",(e=>{if(!t)return;const n=e.clientX/document.documentElement.clientWidth*100;r(q.container).style.setProperty("--bespoke-marp-presenter-split-ratio",`${Math.max(0,Math.min(100,n))}%`)})),r(q.nextContainer).addEventListener("click",(()=>e.next()));const n=r(q.next),o=(a=n,(e,t)=>{var n;return null===(n=a.contentWindow)||void 0===n?void 0:n.postMessage(`navigate:${e},${t}`,"null"===window.origin?"*":window.origin)});var a;n.addEventListener("load",(()=>{r(q.nextContainer).classList.add("active"),o(e.slide(),e.fragmentIndex),e.on("fragment",(({index:e,fragmentIndex:t})=>o(e,t)))}));const i=document.querySelectorAll(".bespoke-marp-note");i.forEach((e=>{e.addEventListener("keydown",(e=>e.stopPropagation())),r(q.noteWrapper).appendChild(e)})),e.on("activate",(()=>i.forEach((t=>t.classList.toggle("active",t.dataset.index==e.slide())))));let s=0;const l=e=>{s=Math.max(-5,s+e),r(q.noteContainer).style.setProperty("--bespoke-marp-note-font-scale",(1.2**s).toFixed(4))},d=()=>l(1),c=()=>l(-1),u=r(q.noteButtonsBigger),f=r(q.noteButtonsSmaller);u.addEventListener("click",(()=>{u.blur(),d()})),f.addEventListener("click",(()=>{f.blur(),c()})),document.addEventListener("keydown",(e=>{"+"===e.key&&d(),"-"===e.key&&c()}),!0),e.on("activate",(({index:t})=>{r(q.infoPageText).textContent=`${t+1} / ${e.slides.length}`}));const m=r(q.infoPagePrev),g=r(q.infoPageNext);m.addEventListener("click",(t=>{m.blur(),e.prev({fragment:!t.shiftKey})})),g.addEventListener("click",(t=>{g.blur(),e.next({fragment:!t.shiftKey})})),e.on("fragment",(({index:t,fragments:n,fragmentIndex:r})=>{m.disabled=0===t&&0===r,g.disabled=t===e.slides.length-1&&r===n.length-1}));let p=new Date;const v=()=>{const e=new Date,t=e=>`${Math.floor(e)}`.padStart(2,"0"),n=e.getTime()-p.getTime(),o=t(n/1e3%60),a=t(n/1e3/60%60),i=t(n/36e5%24);r(q.infoTime).textContent=e.toLocaleTimeString(),r(q.infoTimer).textContent=`${i}:${a}:${o}`};v(),setInterval(v,250),r(q.infoTimer).addEventListener("click",(()=>{p=new Date}))})(e)},X=e=>{if(!(e=>e.syncKey&&"string"==typeof e.syncKey)(e))throw new Error("The current instance of Bespoke.js is invalid for Marp bespoke presenter plugin.");Object.defineProperties(e,{openPresenterView:{enumerable:!0,value:F},presenterUrl:{enumerable:!0,get:U}}),c&&document.addEventListener("keydown",(t=>{"p"!==t.key||t.altKey||t.ctrlKey||t.metaKey||(t.preventDefault(),e.openPresenterView())}))};function F(){const{max:e,floor:t}=Math,n=e(t(.85*window.innerWidth),640),r=e(t(.85*window.innerHeight),360);return window.open(this.presenterUrl,O+this.syncKey,`width=${n},height=${r},menubar=no,toolbar=no`)}function U(){const e=new URLSearchParams(location.search);return e.set("view","presenter"),e.set("sync",this.syncKey),i(e)}const V=e=>{const t=s();return t===r&&e.appendChild(document.createElement("span")),{"":X,[n]:_,[r]:T}[t]},R=e=>{e.on("activate",(t=>{document.querySelectorAll(".bespoke-progress-parent > .bespoke-progress-bar").forEach((n=>{n.style.flexBasis=100*t.index/(e.slides.length-1)+"%"}))}))},j=e=>{const t=Number.parseInt(e,10);return Number.isNaN(t)?null:t},H=(e={})=>{const t={history:!0,...e};return e=>{let n=!0;const r=e=>{const t=n;try{return n=!0,e()}finally{n=t}},o=(t={fragment:!0})=>{((t,n)=>{const{min:r,max:o}=Math,{fragments:a,slides:i}=e,s=o(0,r(t,i.length-1)),l=o(0,r(n||0,a[s].length-1));s===e.slide()&&l===e.fragmentIndex||e.slide(s,{fragment:l})})((j(location.hash.slice(1))||1)-1,t.fragment?j(l("f")||""):null)};e.on("fragment",(({index:e,fragmentIndex:r})=>{n||d({f:0===r||r.toString()},{location:{...location,hash:`#${e+1}`},setter:(...e)=>t.history?history.pushState(...e):history.replaceState(...e)})})),setTimeout((()=>{o(),window.addEventListener("hashchange",(()=>r((()=>{o({fragment:!1}),d({f:void 0})})))),window.addEventListener("popstate",(()=>{n||r((()=>o()))})),n=!1}),0)}},W=(e={})=>{var n;const r=e.key||(null===(n=window.history.state)||void 0===n?void 0:n.marpBespokeSyncKey)||Math.random().toString(36).slice(2),o=`bespoke-marp-sync-${r}`;var a;a={marpBespokeSyncKey:r},d({},{setter:(e,...n)=>t({...e,...a},...n)});const i=()=>{const e=u(o);return e?JSON.parse(e):Object.create(null)},s=e=>{const t=i(),n={...t,...e(t)};return f(o,JSON.stringify(n)),n},l=()=>{window.removeEventListener("pageshow",l),s((e=>({reference:(e.reference||0)+1})))};return e=>{l(),Object.defineProperty(e,"syncKey",{value:r,enumerable:!0});let t=!0;setTimeout((()=>{e.on("fragment",(e=>{t&&s((()=>({index:e.index,fragmentIndex:e.fragmentIndex})))}))}),0),window.addEventListener("storage",(n=>{if(n.key===o&&n.oldValue&&n.newValue){const r=JSON.parse(n.oldValue),o=JSON.parse(n.newValue);if(r.index!==o.index||r.fragmentIndex!==o.fragmentIndex)try{t=!1,e.slide(o.index,{fragment:o.fragmentIndex})}finally{t=!0}}}));const n=()=>{const{reference:e}=i();void 0===e||e<=1?m(o):s((()=>({reference:e-1})))};window.addEventListener("pagehide",(e=>{e.persisted&&window.addEventListener("pageshow",l),n()})),e.on("destroy",n)}},{PI:Y,abs:J,sqrt:z,atan2:G}=Math,Q={passive:!0},Z=({slope:e=-.7,swipeThreshold:t=30}={})=>n=>{let r;const o=n.parent,a=e=>{const t=o.getBoundingClientRect();return{x:e.pageX-(t.left+t.right)/2,y:e.pageY-(t.top+t.bottom)/2}};o.addEventListener("touchstart",(({touches:e})=>{r=1===e.length?a(e[0]):void 0}),Q),o.addEventListener("touchmove",(e=>{if(r)if(1===e.touches.length){e.preventDefault();const t=a(e.touches[0]),n=t.x-r.x,o=t.y-r.y;r.delta=z(J(n)**2+J(o)**2),r.radian=G(n,o)}else r=void 0})),o.addEventListener("touchend",(o=>{if(r){if(r.delta&&r.delta>=t&&r.radian){const t=(r.radian-e+Y)%(2*Y)-Y;n[t<0?"next":"prev"](),o.stopPropagation()}r=void 0}}),Q)},ee="_tA",te=e=>{const t=document.documentTransition;if(!t)return;let n;e._tP=!1;const r=(n,{back:r,cond:o})=>a=>{var i,s;const l=e.slides[e.slide()].querySelector("section[data-transition]");if(!l)return!0;const d=document.querySelector(".bespoke-marp-osc"),c=d?[d]:void 0;if(e._tP){if(a._tA){e._tP=!1;try{t.start({sharedElements:c}).catch((()=>{}))}catch(e){}return!0}}else{if(!o(a))return!0;const d="transition"+(a.back||r?"Back":""),u=Number.parseInt(null!==(i=l.dataset[`${d}Duration`])&&void 0!==i?i:"",10),f=Number.parseInt(null!==(s=l.dataset[`${d}Delay`])&&void 0!==s?s:"",10),m={};Number.isNaN(u)||(m.duration=u.toString()),Number.isNaN(f)||(m.delay=f.toString()),e._tP=t.prepare({rootTransition:l.dataset[d],rootConfig:m,sharedElements:c}).then((()=>n(a))).catch((()=>n(a)))}return!1};e.on("prev",r((t=>e.prev({...t,[ee]:!0})),{back:!0,cond:e=>{var t;return e.index>0&&!((null===(t=e.fragment)||void 0===t||t)&&n.fragmentIndex>0)}})),e.on("next",r((t=>e.next({...t,[ee]:!0})),{cond:t=>t.index+1<e.slides.length&&!(n.fragmentIndex+1<n.fragments.length)})),setTimeout((()=>{e.on("slide",r((t=>e.slide(t.index,{...t,[ee]:!0})),{cond:t=>{const n=e.slide();return t.index!==n&&(t.back=t.index<n,!0)}}))}),0),e.on("fragment",(e=>{n=e}))};let ne;const re=()=>(void 0===ne&&(ne="wakeLock"in navigator&&navigator.wakeLock),ne),oe=async()=>{const e=re();if(e)try{return await e.request("screen")}catch(e){console.warn(e)}return null},ae=async()=>{if(!re())return;let e;const t=()=>{e&&"visible"===document.visibilityState&&oe()};for(const e of["visibilitychange","fullscreenchange"])document.addEventListener(e,t);return e=await oe(),e};((t=document.getElementById("p"))=>{(()=>{const t=l("view");e.dataset.bespokeView=t===r||t===n?t:""})();const a=(e=>{const t=l(e);return d({[e]:void 0}),t})("sync")||void 0;var i,c,u,f,m,g,h,y,b,w,E,T;i=t,c=((...e)=>{const t=o.findIndex((e=>s()===e));return e.map((([e,n])=>e[t]&&n)).filter((e=>e))})([[1,1,0],W({key:a})],[[1,1,1],V(t)],[[1,1,0],L],[[1,1,1],p],[[1,0,0],k()],[[1,1,1],$],[[1,1,1],H({history:!1})],[[1,1,0],S()],[[1,1,0],x],[[1,0,0],R],[[1,1,0],Z()],[[1,0,0],P()],[[1,0,0],te],[[1,1,1],v],[[1,1,0],ae]),f=1===(i.parent||i).nodeType?i.parent||i:document.querySelector(i.parent||i),m=[].filter.call("string"==typeof i.slides?f.querySelectorAll(i.slides):i.slides||f.children,(function(e){return"SCRIPT"!==e.nodeName})),g={},h=function(e,t){return(t=t||{}).index=m.indexOf(e),t.slide=e,t},w=function(e,t){m[e]&&(u&&b("deactivate",h(u,t)),u=m[e],b("activate",h(u,t)))},E=function(e,t){var n=m.indexOf(u)+e;b(e>0?"next":"prev",h(u,t))&&w(n,t)},T={off:y=function(e,t){g[e]=(g[e]||[]).filter((function(e){return e!==t}))},on:function(e,t){return(g[e]||(g[e]=[])).push(t),y.bind(null,e,t)},fire:b=function(e,t){return(g[e]||[]).reduce((function(e,n){return e&&!1!==n(t)}),!0)},slide:function(e,t){if(!arguments.length)return m.indexOf(u);b("slide",h(m[e],t))&&w(e,t)},next:E.bind(null,1),prev:E.bind(null,-1),parent:f,slides:m,destroy:function(e){b("destroy",h(u,e)),g={}}},(c||[]).forEach((function(e){e(T)})),u||w(0)})()}();</script></body></html>