{
    "componentChunkName": "component---src-templates-slide-js",
    "path": "/courses/devops/scm/slides/14/",
    "result": {"data":{"slide":{"frontmatter":{"slug":"/courses/devops/scm/slides/14/","title":"Git: Common usage scenario"},"previous":{"frontmatter":{"slug":"/courses/devops/scm/slides/13/"}},"next":{"frontmatter":{"slug":"/courses/devops/scm/slides/15/"}},"module":{"frontmatter":{"slug":"/courses/devops/scm/"}},"course":{"frontmatter":{"slug":"/courses/devops/"}},"parent":{"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"duration\": \"3 hours\",\n  \"slideNumber\": 14,\n  \"lastSlide\": 25,\n  \"slug\": \"/courses/devops/scm/slides/14/\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Checking out remote changes:\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"code\", {\n    parentName: \"li\",\n    \"className\": \"language-text\"\n  }, \"git clone\"), \" (very first time) or \", mdx(\"code\", {\n    parentName: \"li\",\n    \"className\": \"language-text\"\n  }, \"git pull\"), \" (always afterward)\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Editing a file:\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"E.g.: add a new function \", mdx(\"code\", {\n    parentName: \"li\",\n    \"className\": \"language-text\"\n  }, \"attack()\"), \" to the \", mdx(\"code\", {\n    parentName: \"li\",\n    \"className\": \"language-text\"\n  }, \"player.js\"), \" file\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Adding a file to \\\"staging area\\\" for the next \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"commit\"), \":\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"code\", {\n    parentName: \"li\",\n    \"className\": \"language-text\"\n  }, \"git add player.js\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Commit the modification to the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"local repository\"), \":\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"code\", {\n    parentName: \"li\",\n    \"className\": \"language-text\"\n  }, \"git commit -m \\\"Add player attack\\\"\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Send local modifications to the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"remote repository\"), \":\", mdx(\"br\", {\n    parentName: \"li\"\n  }), mdx(\"code\", {\n    parentName: \"li\",\n    \"className\": \"language-text\"\n  }, \"git push\")), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Resolution of any \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"conflicts\"), \":\", mdx(\"br\", {\n    parentName: \"li\"\n  }), \"File modification and commiting again (starting from step 3)\")), mdx(\"blockquote\", null, mdx(\"p\", {\n    parentName: \"blockquote\"\n  }, \"Note! If you start a project from scratch you do \", mdx(\"code\", {\n    parentName: \"p\",\n    \"className\": \"language-text\"\n  }, \"git init\"), \" to create a new repository\")));\n}\n;\nMDXContent.isMDXComponent = true;"}}},"pageContext":{}},
    "staticQueryHashes": []}