{"id":3421,"date":"2022-06-22T18:29:00","date_gmt":"2022-06-22T09:29:00","guid":{"rendered":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=3421"},"modified":"2025-03-29T15:23:02","modified_gmt":"2025-03-29T06:23:02","slug":"git%e8%ac%9b%e5%ba%a7-2","status":"publish","type":"post","link":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=3421","title":{"rendered":"Git\u8b1b\u7fd2\u3000\uff08\u9014\u4e2d\uff09"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">git\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>git\u306f\u300c\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u300d\u3068\u547c\u3070\u308c\u308b\u985e\u306e\u30c4\u30fc\u30eb\u3067\u3059\u3002git\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3092\u7ba1\u7406\u3057\u305f\u308a\u3001\u4ed6\u306e\u958b\u767a\u8005\u3068\u5909\u66f4\u5185\u5bb9\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Wikipedia\u306b\u3088\u308b<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Git\">Git\u306e\u8aac\u660e<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0<\/h2>\n\n\n\n<p>\u30a2\u30d7\u30ea\u306e\u4f5c\u6210\u306b\u304a\u3044\u3066\u306f\u3001\u30d0\u30b0\u306e\u4fee\u6b63\u3084\u65b0\u3057\u3044\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u983b\u7e41\u306b\u4fee\u6b63\u30fb\u5909\u66f4\u3057\u307e\u3059\u3002\u305d\u3046\u3057\u3066\u3044\u308b\u3068\u30a2\u30d7\u30ea\u304c\u30d3\u30eb\u30c9\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u308a\u52d5\u4f5c\u304c\u304a\u304b\u3057\u304f\u306a\u3063\u3066\u3057\u307e\u3046(\u30d0\u30b0\u304c\u5165\u308a\u8fbc\u3093\u3067\u3057\u307e\u3046)\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u58ca\u308c\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306b\u6b63\u3057\u304f\u52d5\u3044\u3066\u3044\u305f\u72b6\u614b\u307e\u3067\u623b\u3057\u305f\u308a\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u4e00\u6642\u7684\u306a\u958b\u767a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5206\u3051\u305f\u5f62\u3067\u958b\u767a\u3092\u9032\u3081\u308b\u3053\u3068\u3082\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u88dc\u8db3\uff1agit\u4ee5\u5916\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0<\/h3>\n\n\n\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306fgit\u3060\u3051\u3067\u306a\u304f\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Revision_Control_System\">rcs<\/a>(Revision Control System)\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Concurrent_Versions_System\">cvs<\/a>(Concurrent Versions System)\u3084<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Apache_Subversion\">Subversion<\/a>\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Azure_DevOps_Server\">Azure DevOps Server<\/a>\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b74\u53f2\u7684\u306a\u7d4c\u7def\u304b\u3089\u898b\u308b\u3068\u3001\u5f53\u521d\u306f\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u5909\u66f4\u7ba1\u7406\u3057\u3066\u3044\u305f\u3082\u306e\u304b\u3089\u3001\u8907\u6570\u4eba\u3067\u306e\u958b\u767a\u3092\u53ef\u80fd\u306b\u3059\u308b\u305f\u3081\u300c\u30ea\u30dd\u30b8\u30c8\u30ea\u300d\u306b\u3088\u308b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u96c6\u4e2d\u7ba1\u7406(\u305f\u3060\u3057\u5909\u66f4\u3092\u30de\u30fc\u30b8\u3059\u308b\u5834\u5408\u306f\u4e00\u5ea6\u306b\u4e00\u4eba\u3060\u3051\u304c\u4f5c\u696d\u53ef\u80fd)\u3092\u7d4c\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5206\u6563\u3055\u305b\u3001\u5404\u4eba\u304c\u4efb\u610f\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u66f8\u304d\u8fbc\u307f\u304c\u53ef\u80fd\u306b\u306a\u3063\u305f\u3001\u7b49\u3005\u306e\u6a5f\u80fd\u304c\u62e1\u5145\u3055\u308c\u305f\u6d41\u308c\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>git\u306f\u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u6bd4\u8f03\u7684\u65b0\u3057\u3044\u90e8\u985e\u3067\u3042\u308a\u3001\u73fe\u4ee3\u7684\u306a\u958b\u767a\u4f5c\u696d\u306b\u30de\u30c3\u30c1\u3059\u308b\u6a5f\u80fd\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>(\u305f\u3060\u3001\u3053\u308c\u306f\u898b\u3088\u3046\u306b\u3088\u3063\u3066\u306f\u6a5f\u80fd\u304c\u8907\u96d1\u3067\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u5c11\u3005\u304b\u304b\u308b\u3068\u3044\u3046\u610f\u5473\u5408\u3044\u306b\u3082\u306a\u308a\u307e\u3059)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u88dc\u8db3\uff1agit\u3068GitHub<\/h3>\n\n\n\n<p>&#8220;git&#8221;\u306e\u540d\u524d\u304c\u3064\u3044\u305f\u3082\u306e\u306b<a href=\"https:\/\/github.com\/\">GitHub<\/a>\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u540d\u524d\u304c\u4f3c\u3066\u3044\u307e\u3059\u304c\u5168\u304f\u306e\u5225\u7269\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002git\u306f\u300c\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u300d\u306b\u5206\u985e\u3055\u308c\u308b\u30c4\u30fc\u30eb(\u30b3\u30de\u30f3\u30c9\u7fa4)\u3067\u3059\u304c\u3001GitHub\u306f\u300cgit\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30db\u30b9\u30c6\u30a3\u30f3\u30b0(\u3042\u305a\u3051\u3066\u7f6e\u3051\u308b)\u3059\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u9055\u3044\u304b\u3089\u3001GitHub\u306b\u306fgit\u306b\u306f\u5b58\u5728\u3057\u306a\u3044\u300c\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u306e\u3088\u3046\u306a\u6a5f\u80fd\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3092\u5229\u7528\u3059\u308b\u969b\u306b\u5fc5\u8981\u3068\u306a\u308b\u6982\u5ff5<\/h2>\n\n\n\n<p>\u73fe\u4ee3\u7684\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306f\u300c\u5206\u6563\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5404\u958b\u767a\u8005\u304c\u30b3\u30d4\u30fc\u3057\u3066\u4f5c\u696d\u3059\u308b\u300d\u3068\u3044\u3046\u6982\u5ff5\u3092\u542b\u3081\u308b\u5f62\u3067\u5b9f\u88c5\u3055\u308c\u3066\u304a\u308a\u3001git\u4ee5\u5916\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u3082\u3001\u4ee5\u4e0b\u306e\u6982\u5ff5\u306f\u307b\u307c\u5171\u901a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea<\/li>\n\n\n\n<li>\u30af\u30ed\u30fc\u30f3(\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8)<\/li>\n\n\n\n<li>\u5dee\u5206<\/li>\n\n\n\n<li>\u30b3\u30df\u30c3\u30c8<\/li>\n\n\n\n<li>\u30d6\u30e9\u30f3\u30c1<\/li>\n\n\n\n<li>\u30d7\u30c3\u30b7\u30e5\/\u30d7\u30eb<\/li>\n\n\n\n<li>\u30de\u30fc\u30b8<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ea\u30dd\u30b8\u30c8\u30ea<\/h3>\n\n\n\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u300c\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3092\u7ba1\u7406\u3059\u308b\u5165\u308c\u7269\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5bb6\u8a08\u7c3f\u30a2\u30d7\u30ea\u3084ToDo\u30a2\u30d7\u30ea\u3068\u3044\u3063\u305f\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u6271\u3046\u5834\u5408\u306f\u3001\u300c\u5bb6\u8a08\u7c3f\u30a2\u30d7\u30ea\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u300d\u3068\u300cToDo\u30a2\u30d7\u30ea\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u300d\u306e\u3088\u3046\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u5358\u4f4d\u3067\u5909\u66f4\u3092\u7ba1\u7406\u3059\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3089\u306b\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u4e00\u304b\u6240\u3060\u3051\u3067\u306a\u304f\u3001\u8907\u6570\u500b\u6240\u306b\u5206\u6563\u3057\u3066\u7f6e\u3044\u3066\u304a\u304f\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u3053\u306e\u5834\u5408\u3001\u8907\u6570\u500b\u6240\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u7570\u306a\u308b\u4fee\u6b63\u5185\u5bb9\u304c\u7ba1\u7406\u3055\u308c\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u9593\u3067\u306e\u540c\u671f\u51e6\u7406\u304c\u53ef\u80fd\u3067\u3042\u308a\u3001\u4efb\u610f\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5185\u5bb9\u3092\u4e00\u81f4\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>flowchart LR\n    repo&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    src1(\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9A)\n    src2(\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9B)\n    src1--&gt;repo\n    src2--&gt;repo<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30af\u30ed\u30fc\u30f3(\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8)<\/h3>\n\n\n\n<p>\u30af\u30ed\u30fc\u30f3\u306f\u300c\u4efb\u610f\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u81ea\u5206\u306e\u4f5c\u696d\u74b0\u5883\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304f\u308b\u51e6\u7406\u300d\u306b\u306a\u308a\u307e\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u540c\u3058\u3082\u306e\u3092\u5206\u6563\u3055\u305b\u3066\u304a\u304f\u3053\u3068\u304c\u53ef\u80fd\u3067\u3001\u5404\u958b\u767a\u8005\u306f\u65e2\u5b58\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5185\u5bb9\u3092\u81ea\u5206\u306e\u74b0\u5883\u306b\u30af\u30ed\u30fc\u30f3\u3057\u3066\u304a\u304d\u3001\u305d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u5909\u66f4\u3092\u53cd\u6620\u3057\u3066\u3086\u304f\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u308b\u7a0b\u5ea6\u4fee\u6b63\u304c\u307e\u3068\u307e\u3063\u305f\u3089\u3001\u30af\u30ed\u30fc\u30f3\u5143\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5909\u66f4\u3092\u53cd\u6620\u3055\u305b\u308b(\u5f8c\u8ff0\u3057\u307e\u3059\u304c\u3053\u308c\u306f\u300c\u30d7\u30c3\u30b7\u30e5\u300d\u3068\u547c\u3070\u308c\u308b\u4f5c\u696d\u3067\u3059)\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>flowchart LR\n    repo&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    repo2&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    repo3&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    repo-- \u30af\u30ed\u30fc\u30f3 ---&gt;repo2\n    repo-- \u30af\u30ed\u30fc\u30f3 ---&gt;repo3\n    repo2-- \u30d7\u30c3\u30b7\u30e5 ---&gt;repo\n    repo3-- \u30d7\u30c3\u30b7\u30e5 ---&gt;repo\n    repo2--&gt;\u958b\u767a\u8005A\n    repo3--&gt;\u958b\u767a\u8005B<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u5dee\u5206<\/h3>\n\n\n\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u5909\u66f4\u3092\u52a0\u3048\u308b\u3053\u3068\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5185\u5bb9\u3068\u9055\u3044\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u300c\u5dee\u5206\u300d\u3068\u547c\u3070\u308c\u3001\u958b\u767a\u8005\u81ea\u8eab\u304c\u4fee\u6b63\u7b87\u6240\u3084\u4fee\u6b63\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3001\u4ed6\u306e\u958b\u767a\u8005\u304c\u4fee\u6b63\u5185\u5bb9\u3092\u30ec\u30d3\u30e5\u30fc\u3059\u308b\u969b\u306b\u7528\u3044\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u822c\u7684\u306b\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306f\u3053\u306e\u5dee\u5206\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u8a18\u9332\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u3044\u3064\u3069\u3093\u306a\u5909\u66f4\u304c\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u52a0\u3048\u3089\u308c\u305f\u304b\u3092\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30df\u30c3\u30c8<\/h3>\n\n\n\n<p>\u30b3\u30df\u30c3\u30c8\u306f\u300c\u5dee\u5206\u300d\u306e\u5185\u5bb9\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u8a18\u9332\u3059\u308b\u4f5c\u696d\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u6642\u306b\u300c\u3053\u306e\u5dee\u5206\u306f\u3069\u306e\u3088\u3046\u306a\u4fee\u6b63\u3067\u3042\u308b\u304b\u300d\u3068\u8a18\u8f09\u3057\u305f\u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u4ed8\u4e0e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30df\u30c3\u30c8\u3092\u884c\u3046\u30bf\u30a4\u30df\u30f3\u30b0\u306b\u306f\u7279\u306b\u6c7a\u307e\u308a\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u5dee\u5206\u306e\u5185\u5bb9\u304c\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u8a18\u9332\u30fb\u7ba1\u7406\u3055\u308c\u308b\u3053\u3068\u304b\u3089\u3001\u8ffd\u52a0\u3057\u305f\u6a5f\u80fd\u6bce\u3084\u30d0\u30b0\u306e\u4fee\u6b63\u6bce\u306b\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3053\u3068\u3067\u5f8c\u304b\u3089\u4fee\u6b63\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u305f\u308a\u601d\u3044\u51fa\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>flowchart LR\n    repo&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    \u958b\u767a\u8005-- \u30b3\u30df\u30c3\u30c8 ---&gt;repo<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d6\u30e9\u30f3\u30c1<\/h3>\n\n\n\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u5dee\u5206\u5358\u4f4d\u3067\u306e\u5909\u66f4\u5185\u5bb9\u3092\u8a18\u9332\u30fb\u7ba1\u7406\u3057\u307e\u3059\u304c\u3001\u4e00\u9023\u306e\u5dee\u5206\u306f\u300c\u30d6\u30e9\u30f3\u30c1\u300d\u3068\u3044\u3046\u307e\u3068\u307e\u308a\u3067\u6271\u308f\u308c\u307e\u3059\u3002<br>(\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f&#8221;main&#8221;\u307e\u305f\u306f&#8221;master&#8221;\u30d6\u30e9\u30f3\u30c1\u3067\u7ba1\u7406\u3055\u308c\u307e\u3059)<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u30a2\u30d7\u30ea\u306b\u5927\u304d\u306a\u6a5f\u80fd\u8ffd\u52a0\u3092\u884c\u3046\u3068\u3001\u5dee\u5206\u3060\u3051\u3067\u3082\u304b\u306a\u308a\u306e\u91cf\u3068\u306a\u308a\u3001\u305d\u308c\u306b\u4f34\u3044\u30b3\u30df\u30c3\u30c8\u3082\u8907\u6570\u56de\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30f3\u30c1\u304b\u3089\u5225\u9014\u300cnew_feature\u30d6\u30e9\u30f3\u30c1\u300d\u306e\u3088\u3046\u306b\u5206\u5c90\u3055\u305b\u305f\u72b6\u614b\u3067\u958b\u767a\u3092\u9032\u3081\u308b\u3053\u3068\u3067\u3001\u5143\u306e\u30d6\u30e9\u30f3\u30c1\u306b\u306f\u4fee\u6b63\u306b\u4f34\u3046\u30d0\u30b0\u306e\u767a\u751f\u3068\u3044\u3063\u305f\u5f71\u97ff\u304c\u51fa\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u4e00\u901a\u308a\u306e\u6a5f\u80fd\u8ffd\u52a0\u30fb\u52d5\u4f5c\u78ba\u8a8d\u3068\u30c6\u30b9\u30c8\u304c\u5b8c\u4e86\u3057\u305f\u969b\u306b\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d7\u30c3\u30b7\u30e5\/\u30d7\u30eb<\/h3>\n\n\n\n<p>\u30d7\u30c3\u30b7\u30e5\/\u30d7\u30eb\u306f\u5225\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u81ea\u5206\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306e\u4fee\u6b63\u5185\u5bb9\u3092\u9001\u308a\u51fa\u3057\u305f\u308a\u3001\u9006\u306b\u5225\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30d6\u30e9\u30f3\u30c1\u3092\u53d6\u308a\u8fbc\u3093\u3060\u308a\u3059\u308b\u4f5c\u696d\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>flowchart LR\n    repo&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    repo1&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    repo1--&gt;\u958b\u767a\u8005\n    repo-- \u30d7\u30eb --&gt;repo1\n    repo1-- \u30d7\u30c3\u30b7\u30e5 --&gt;repo<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u30de\u30fc\u30b8<\/h3>\n\n\n\n<p>\u30de\u30fc\u30b8\u306f\u5225\u30d6\u30e9\u30f3\u30c1\u306e\u5185\u5bb9\u3092\u53d6\u308a\u8fbc\u3080\u4f5c\u696d\u3067\u3059\u3002\u4f8b\u3048\u3070\u6a5f\u80fd\u8ffd\u52a0\u7528\u306bnew_feature\u30d6\u30e9\u30f3\u30c1\u3067\u4f5c\u696d\u3057\u3066\u3044\u305f\u3082\u306e\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30f3\u30c1\u306b\u53d6\u308a\u8fbc\u3080\u3001\u3068\u3044\u3063\u305f\u5834\u5408\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u30de\u30fc\u30b8\u306b\u304a\u3044\u3066\u306f\u300c\u885d\u7a81\u300d\u3068\u3044\u3046\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u540c\u3058\u884c\u306e\u4fee\u6b63\u5185\u5bb9\u306b\u77db\u76fe\u304c\u767a\u751f\u3059\u308b\u72b6\u614b\u306b\u9665\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u3053\u306e\u5834\u5408\u306f\u4eba\u9593\u304c\u624b\u52d5\u3067\u885d\u7a81\u3092\u4fee\u6b63\u3057\u3066\u304b\u3089\u30de\u30fc\u30b8\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>flowchart LR\n    repo&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    repo1&#91;(\u30ea\u30dd\u30b8\u30c8\u30ea)]\n    repo1--&gt;\u958b\u767a\u8005\n    repo-- \u30d7\u30eb --&gt;repo1\n    repo1-- \u30d7\u30c3\u30b7\u30e5 --&gt;repo\n    repo1-- \u30de\u30fc\u30b8 ---&gt;repo1<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">git\u3092\u4f7f\u3046<\/h2>\n\n\n\n<p>git\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3092\u6271\u3046\u305f\u3081\u306e\u30b3\u30de\u30f3\u30c9\u7fa4\u3067\u3042\u308a\u3001\u57fa\u672c\u7684\u306b\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089&#8221;git&#8221;\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u64cd\u4f5c\u3057\u307e\u3059\u3002\u305f\u3060\u3001\u73fe\u5728\u306eIDE(Integrated Development Environment;\u7d71\u5408\u958b\u767a\u74b0\u5883)\u306b\u304a\u3044\u3066\u306fgit\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u3057\u3066\u306e\u6a5f\u80fd\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u3082\u306e\u3082\u3042\u308a\u3001\u76f4\u63a5git\u30b3\u30de\u30f3\u30c9\u89e6\u3089\u306a\u304f\u3066\u3082\u4f5c\u696d\u3067\u304d\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Visual_Studio_Code\">Visual Studio Code<\/a>\u306b\u306fgit\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u6a5f\u80fd\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001(\u5225\u9014git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u3059\u304c)\u30a8\u30c7\u30a3\u30bf\u304b\u3089git\u306e\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002Xcode\u3067git\u3092\u4f7f\u3046\u5834\u5408\u306f\u3053\u3061\u3089\uff08\uff1f\uff09\u3082\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">git\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a8\u30c7\u30a3\u30bf\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n\n\n\n<p>git\u306e\u5229\u7528\u306b\u5fc5\u9808\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30a8\u30c7\u30a3\u30bf\u304b\u3089git\u3092\u6271\u3046\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3001Visual Studio Code(VSCode)\u3092\u3042\u3089\u304b\u3058\u3081\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a><\/li>\n<\/ul>\n\n\n\n<p>VSCode\u306fgit\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u6a5f\u80fd\u3092\u5185\u8535\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5185\u90e8\u7684\u306bgit\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u5225\u9014git\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3068\u306a\u308b\u70b9\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u4ee5\u4e0b\u306eVSCode\u62e1\u5f35\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3068\u3001git\u306e\u5c65\u6b74\u78ba\u8a8d\u304c\u884c\u3044\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=donjayamanne.githistory\">Git History<\/a><br>*<code>Ctrl+Shift+X<\/code> \u3067\u62e1\u5f35\u6a5f\u80fd\u3092\u8868\u793a\u3057\u3001\u300cMarketplace \u3067\u62e1\u5f35\u6a5f\u80fd\u3092\u691c\u7d22\u3059\u308b\u300d\u306e\u5165\u529b\u6b04\u306b&#8221;git&#8221;\u3068\u5165\u529b\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306a\u62e1\u5f35\u6a5f\u80fd\u306e\u5019\u88dc\u3068\u3057\u3066Git History\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Windows\u306e\u5834\u5408<\/h3>\n\n\n\n<p>Windows\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306eURL\u304b\u3089git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>https:\/\/git-scm.com\/download\/win<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">macOS\u306e\u5834\u5408<\/h3>\n\n\n\n<p>macOS\u306e\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067git\u30b3\u30de\u30f3\u30c9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u3068\u601d\u3044\u307e\u3059(\u8981\u78ba\u8a8d)\u3002<\/p>\n\n\n\n<p>git\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002 <code>which git<\/code> \u30b3\u30de\u30f3\u30c9\u304cgit\u30b3\u30de\u30f3\u30c9\u306e\u30d1\u30b9\u3092\u8fd4\u305b\u3070git\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ which git\n\/usr\/bin\/git<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">git\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u521d\u671f\u8a2d\u5b9a<\/h2>\n\n\n\n<p>git\u3067\u30b3\u30df\u30c3\u30c8\u3092\u884c\u3046\u969b\u3001\u30b3\u30df\u30c3\u30c8\u3092\u884c\u3063\u305f\u4eba\u306e\u540d\u524d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304c\u5dee\u5206\u3068\u3068\u3068\u3082\u306b\u8a18\u9332\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u3042\u3089\u304b\u3058\u3081\u540d\u524d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u30b3\u30df\u30c3\u30c8\u6642\u306b\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b3\u30df\u30c3\u30c8\u3092\u884c\u3046\u4eba\u306e\u540d\u524d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u884c\u3044\u307e\u3059(Windows\/macOS\u5171\u306b\u8a2d\u5b9a\u30b3\u30de\u30f3\u30c9\u306f\u5171\u901a\u3067\u3059)\u3002<\/p>\n\n\n\n<p>Windows\u306e\u5834\u5408\u306f\u300c\u30b9\u30bf\u30fc\u30c8\u30dc\u30bf\u30f3\u300d-\u300cGit\u300d-\u300cGit Bash\u300d\u3067\u8d77\u52d5\u3057\u305f\u30b7\u30a7\u30eb\u3067\u5b9f\u884c\u3057\u3001macOS\u306e\u5834\u5408\u306f\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git config --global user.email \"furandon.pig@gmail.com\"\n$ git config --global user.name \"furandon-pig\"<\/code><\/pre>\n\n\n\n<p>\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001 <code>~\/.gitconfig<\/code> \u306b\u8a2d\u5b9a\u304c\u66f8\u304d\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ cat ~\/.gitconfig\n<\/code><\/pre>\n\n\n<p>[user]<\/p>\n\n\n\n<p>email = furandon.pig@gmail.com name = furandon-pig<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u5b9f\u969b\u306b\u81ea\u8eab\u306ePC\u5185\u306bgit\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u30d9\u30a2(bare)\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u3044\u3046\u5f62\u614b\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d9\u30a2\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u6982\u8981\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/github.com\/furandon-pig\/senior-programming-memo\/blob\/main\/memo\/git\/github.md#github%E3%81%A8%E3%81%AF\">GitHub\u306e\u89e3\u8aac<\/a>\u306b\u51fa\u3066\u304d\u307e\u3059\u306e\u3067\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u305d\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f5c\u6210\u624b\u9806\u306fWindows\/macOS\u306e\u3044\u305a\u308c\u3067\u3082\u540c\u3058\u624b\u9806\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d9\u30a2(bare)\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>\u30d9\u30a2\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ # \/repo\u306f\u4efb\u610f\u306e\u5834\u6240\u306b\u5909\u66f4\u3057\u3066\u3082\u69cb\u3044\u307e\u305b\u3093\u3002\n$ mkdir \/repo\/hello.git\n$ cd \/repo\/hello.git\n$ git init --bare .<\/code><\/pre>\n\n\n\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ git clone file:\/\/\/repo\/hello.git<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30fb\u8b1b\u7fd2\u4f1a\u306e\u30ec\u30b8\u30e1<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[45],"class_list":["post-3421","post","type-post","status-publish","format-standard","hentry","category-99_","tag-git"],"_links":{"self":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3421"}],"version-history":[{"count":5,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3421\/revisions"}],"predecessor-version":[{"id":5921,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3421\/revisions\/5921"}],"wp:attachment":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}