-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path531a9fb1.96a8b290.js
1 lines (1 loc) · 4.45 KB
/
531a9fb1.96a8b290.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{110:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return a})),n.d(t,"metadata",(function(){return c})),n.d(t,"rightToc",(function(){return l})),n.d(t,"default",(function(){return p}));var r=n(2),i=n(6),o=(n(0),n(125)),a={id:"git-timeline",title:"Git Timeline",sidebar_label:"Git Timeline"},c={id:"git-timeline",title:"Git Timeline",description:"A CodeRoad tutorial runs on Git commits. These will be the commits on the version branch of a repo.",source:"@site/docs/git-timeline.md",permalink:"/docs/git-timeline",editUrl:"https://github.com/coderoad/coderoad-vscode/edit/master/docs/docs/git-timeline.md",sidebar_label:"Git Timeline",sidebar:"someSidebar",previous:{title:"Yaml",permalink:"/docs/yaml"},next:{title:"Initial Commit",permalink:"/docs/init-commit"}},l=[],s={rightToc:l};function p(e){var t=e.components,n=Object(i.a)(e,["components"]);return Object(o.b)("wrapper",Object(r.a)({},s,n,{components:t,mdxType:"MDXLayout"}),Object(o.b)("p",null,"A CodeRoad tutorial runs on Git commits. These will be the commits on the version branch of a repo."),Object(o.b)("ol",null,Object(o.b)("li",{parentName:"ol"},"INIT",Object(o.b)("ul",{parentName:"li"},Object(o.b)("li",{parentName:"ul"},"Basic project setup code"),Object(o.b)("li",{parentName:"ul"},"test runner dependencies"),Object(o.b)("li",{parentName:"ul"},".vscode workspace configurations"))),Object(o.b)("li",{parentName:"ol"},"1.1",Object(o.b)("ul",{parentName:"li"},Object(o.b)("li",{parentName:"ul"},"add unit tests"),Object(o.b)("li",{parentName:"ul"},"add unit testing dependencies"),Object(o.b)("li",{parentName:"ul"},"add scaffolding code (if needed)"))),Object(o.b)("li",{parentName:"ol"},"1.1S",Object(o.b)("ul",{parentName:"li"},Object(o.b)("li",{parentName:"ul"},"the code required to make the tests pass")))),Object(o.b)("p",null,"Then repeat steps 2 & 3."),Object(o.b)("p",null,'The commit messages for these must start with a level & step number. "1.1" stands for "Lesson 1 Step 1 Setup" and "1.1S" stand for "Lesson 1 Step 1 Solution". The ',Object(o.b)("inlineCode",{parentName:"p"},"1.1")," part of each commit message needs to match the id's from the markdown and yaml."),Object(o.b)("p",null,"You can add additional text after those required characters if you want."))}p.isMDXComponent=!0},125:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return b}));var r=n(0),i=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=i.a.createContext({}),p=function(e){var t=i.a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):c({},t,{},e)),n},u=function(e){var t=p(e.components);return i.a.createElement(s.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return i.a.createElement(i.a.Fragment,{},t)}},d=Object(r.forwardRef)((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,a=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=p(n),d=r,b=u["".concat(a,".").concat(d)]||u[d]||m[d]||o;return n?i.a.createElement(b,c({ref:t},s,{components:n})):i.a.createElement(b,c({ref:t},s))}));function b(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,a=new Array(o);a[0]=d;var c={};for(var l in t)hasOwnProperty.call(t,l)&&(c[l]=t[l]);c.originalType=e,c.mdxType="string"==typeof e?e:r,a[1]=c;for(var s=2;s<o;s++)a[s]=n[s];return i.a.createElement.apply(null,a)}return i.a.createElement.apply(null,n)}d.displayName="MDXCreateElement"}}]);