{"id":37741,"date":"2025-03-11T08:44:35","date_gmt":"2025-03-10T23:44:35","guid":{"rendered":"https:\/\/jouhou.main.jp\/?p=37741"},"modified":"2026-03-27T15:29:13","modified_gmt":"2026-03-27T06:29:13","slug":"dvcs%e5%88%86%e6%95%a3%e5%9e%8b%e3%83%90%e3%83%bc%e3%82%b8%e3%83%a7%e3%83%b3%e7%ae%a1%e7%90%86%e3%83%95%e3%82%a9%e3%83%ac%e3%83%b3%e3%82%b8%e3%83%83%e3%82%af%ef%bc%9agit-mirror%e3%81%8b%e3%82%89","status":"publish","type":"post","link":"https:\/\/jouhou.main.jp\/?p=37741","title":{"rendered":"DVCS(\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406)\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\uff1aGit Mirror\u304b\u3089\u524a\u9664\u30b3\u30df\u30c3\u30c8\u5fa9\u6d3b"},"content":{"rendered":"<section style=\"max-width:100%; box-sizing:border-box; overflow:visible; border:1px solid #d1d5db; border-radius:3px; padding:12px; margin:0 0 12px 0; background:#ffffff;\"> <!-- \u30a4\u30f3\u30d5\u30a9\u30b0\u30e9\u30d5\u30a3\u30c3\u30af --> <\/p>\n<div style=\"max-width:100%; box-sizing:border-box; overflow:visible; margin-bottom:12px;\">\n<div style=\"background:#2563eb; color:#ffffff; padding:8px; border-radius:3px; font-weight:bold;\">\u524a\u9664\u30b3\u30df\u30c3\u30c8\u5fa9\u6d3b\u306e\u5168\u4f53\u50cf\uff08Git Mirror\uff09<\/div>\n<div style=\"margin-top:8px; padding:10px; border-left:4px solid #2563eb; background:#f8fafc; border-radius:3px;\">\n<div style=\"font-weight:bold;\">\u554f\u984c<\/div>\n<div style=\"overflow-wrap:anywhere;\">Mirror\u4e0a\u3067\u306f\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u304c\u898b\u3048\u305a\u3001\u5c65\u6b74\u304c\u6d88\u3048\u305f\u3088\u3046\u306b\u898b\u3048\u308b<\/div>\n<\/p><\/div>\n<div style=\"margin-top:8px; padding:10px; border-left:4px solid #16a34a; background:#f8fafc; border-radius:3px;\">\n<div style=\"font-weight:bold;\">\u539f\u56e0<\/div>\n<div style=\"overflow-wrap:anywhere;\">\u53c2\u7167\uff08refs\uff09\u306e\u6d88\u5931\u30fbGC\u30fbreflog\u671f\u9650\u5207\u308c\u306b\u3088\u308a\u53c2\u7167\u7d4c\u8def\u304c\u65ad\u305f\u308c\u3066\u3044\u308b<\/div>\n<\/p><\/div>\n<div style=\"margin-top:8px; padding:10px; border-left:4px solid #ea580c; background:#f8fafc; border-radius:3px;\">\n<div style=\"font-weight:bold;\">\u89e3\u6c7a\u7b56<\/div>\n<div style=\"overflow-wrap:anywhere;\">dangling\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30fbreflog\u30fb\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304b\u3089\u53c2\u7167\u3092\u518d\u69cb\u7bc9\u3059\u308b<\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- \u6700\u77ed\u30c1\u30a7\u30c3\u30af --> <\/p>\n<div style=\"overflow-wrap:anywhere; max-width:100%; display:inline-block; font-size:16px; letter-spacing:0.06em; color:#ffffff; background:#000000; border:1px solid #e5e7eb; border-radius:3px; padding:2px 8px; box-sizing:border-box;\">\u6700\u77ed\u30c1\u30a7\u30c3\u30af<\/div>\n<h2 style=\"margin:8px 0; overflow-wrap:anywhere;\">Git Mirror\u3067\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u306f\u5fa9\u5143\u3067\u304d\u308b\u306e\u304b<\/h2>\n<p style=\"margin:0 0 12px 0; overflow-wrap:anywhere;\">\u53c2\u7167\u304c\u6d88\u3048\u3066\u3044\u3066\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6b8b\u3063\u3066\u3044\u308c\u3070\u5fa9\u5143\u53ef\u80fd\u3002\u5f71\u97ff\u7bc4\u56f2\u3092\u898b\u6975\u3081\u3066\u6700\u5c0f\u5909\u66f4\u3067\u5bfe\u5fdc\u3059\u308b\u3002<\/p>\n<div style=\"margin-bottom:10px;\"> <span style=\"background:#dc2626; color:#ffffff; padding:2px 6px; border-radius:3px;\">1<\/span> <strong>30\u79d2\u3067\u4e89\u70b9\u3092\u7d5e\u308b<\/strong> <\/p>\n<p style=\"margin:4px 0 0 0; overflow-wrap:anywhere;\">\u53c2\u7167\u304c\u6d88\u3048\u305f\u306e\u304b\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u81ea\u4f53\u304c\u524a\u9664\u3055\u308c\u305f\u306e\u304b\u3092\u5207\u308a\u5206\u3051\u308b\u3002<\/p>\n<\/p><\/div>\n<div style=\"margin-bottom:10px;\"> <span style=\"background:#16a34a; color:#ffffff; padding:2px 6px; border-radius:3px;\">2<\/span> <strong>\u4e89\u70b9\u5225\uff1a\u4eca\u5f8c\u306e\u9078\u629e\u3084\u884c\u52d5<\/strong> <\/p>\n<pre style=\"background:#111827; color:#ffffff; padding:8px; border-radius:3px; white-space:pre-wrap; overflow-wrap:anywhere;\">refs\u6d88\u5931\u306e\u307f \u2192 reflog \/ fsck\u3067\u5fa9\u5143 GC\u5b9f\u884c\u6e08\u307f \u2192 \u30d0\u30c3\u30af\u30a2\u30c3\u30d7 or \u4ed6clone\u63a2\u7d22 Mirror\u540c\u671f\u554f\u984c \u2192 upstream\u3068\u306e\u5dee\u5206\u78ba\u8a8d<\/pre>\n<\/p><\/div>\n<div style=\"margin-bottom:10px;\"> <span style=\"background:#2563eb; color:#ffffff; padding:2px 6px; border-radius:3px;\">3<\/span> <strong>\u5f71\u97ff\u7bc4\u56f2\u30921\u5206\u3067\u78ba\u8a8d<\/strong> <\/p>\n<p style=\"margin:4px 0 0 0; overflow-wrap:anywhere;\">\u5bfe\u8c61\u30d6\u30e9\u30f3\u30c1\u3001\u30bf\u30b0\u3001CI\/CD\u5c65\u6b74\u3001\u76e3\u67fb\u30ed\u30b0\u3078\u306e\u5f71\u97ff\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<\/p><\/div>\n<div style=\"background:#fff7ed; padding:10px; border-radius:3px; margin-bottom:10px;\"> <strong>\u5931\u6557\u3059\u308b\u3068\u3069\u3046\u306a\u308b\uff1f\uff08\u3084\u308a\u304c\u3061\u306a\u30df\u30b9\u3068\u8d77\u3053\u308a\u5f97\u308b\u7d50\u679c\uff09<\/strong> <\/p>\n<ul style=\"margin:6px 0 0 16px;\">\n<li>\u4e0d\u7528\u610f\u306aGC\u3067\u5fa9\u5143\u4e0d\u53ef\u80fd\u306b\u306a\u308b<\/li>\n<li>\u8aa4\u3063\u305freflog\u9069\u7528\u3067\u5c65\u6b74\u3092\u3055\u3089\u306b\u7834\u58ca<\/li>\n<li>Mirror\u3068origin\u306e\u4e0d\u6574\u5408\u3067\u4e8c\u6b21\u969c\u5bb3\u767a\u751f<\/li>\n<li>\u76e3\u67fb\u30ed\u30b0\u3068\u5c65\u6b74\u304c\u4e00\u81f4\u3057\u306a\u304f\u306a\u308b<\/li>\n<\/ul><\/div>\n<div style=\"background:#f1f5f9; padding:10px; border-radius:3px;\"> <strong>\u8ff7\u3063\u305f\u3089\uff1a\u7121\u6599\u3067\u76f8\u8ac7\u3067\u304d\u307e\u3059<\/strong> <\/p>\n<div style=\"font-size:12px; margin:6px 0;\"> \u5c65\u6b74\u304c\u6d88\u3048\u305f\u7406\u7531\u3067\u8ff7\u3063\u305f\u3089\u3002<br \/> GC\u306e\u5f71\u97ff\u7bc4\u56f2\u306e\u8a3a\u65ad\u304c\u3067\u304d\u306a\u3044\u3002<br \/> reflog\u306e\u6271\u3044\u3067\u8ff7\u3063\u305f\u3089\u3002<br \/> Mirror\u3068\u672c\u756a\u306e\u5dee\u5206\u5224\u65ad\u3067\u8ff7\u3063\u305f\u3089\u3002<br \/> \u30b3\u30df\u30c3\u30c8\u5fa9\u5143\u306e\u5b89\u5168\u624b\u9806\u304c\u5206\u304b\u3089\u306a\u3044\u3002<br \/> \u76e3\u67fb\u30ed\u30b0\u3068\u306e\u6574\u5408\u6027\u5224\u65ad\u3067\u8ff7\u3063\u305f\u3089\u3002<br \/> \u5171\u6709\u30b9\u30c8\u30ec\u30fc\u30b8\u3001\u30b3\u30f3\u30c6\u30ca\u3001\u672c\u756a\u30c7\u30fc\u30bf\u3001\u76e3\u67fb\u8981\u4ef6\u304c\u7d61\u3080\u5834\u5408\u306f\u3001\u7121\u7406\u306b\u6a29\u9650\u3092\u89e6\u308b\u524d\u306b\u76f8\u8ac7\u3059\u308b\u3068\u65e9\u304f\u53ce\u675f\u3057\u3084\u3059\u3044\u3067\u3059 <\/div>\n<div style=\"margin-top:8px;\"> <a href=\"https:\/\/jouhou.main.jp\/?page_id=26983\" style=\"display:inline-block; margin:4px; padding:8px 12px; background:#2563eb; color:#ffffff; border-radius:3px; text-decoration:none;\">\u7121\u6599\u76f8\u8ac7\u30d5\u30a9\u30fc\u30e0<\/a> <a href=\"tel:0120838831\" style=\"display:inline-block; margin:4px; padding:8px 12px; background:#1e3a8a; color:#ffffff; border-radius:3px; text-decoration:none;\">\u96fb\u8a71\u3067\u76f8\u8ac7<\/a> <a href=\"tel:0434224240\" style=\"display:inline-block; margin:4px; padding:8px 12px; background:#0b1f4b; color:#ffffff; border-radius:3px; text-decoration:none;\">\u6280\u8853\u8005\u76f4\u901a<\/a> <\/div>\n<p style=\"margin-top:8px; overflow-wrap:anywhere;\"><strong>\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240<\/strong>\u3078\u7121\u6599\u76f8\u8ac7<\/p>\n<p style=\"font-size:18px; margin-top:8px;\">\u8a73\u3057\u3044\u8aac\u660e\u3068\u5bfe\u7b56\u306f\u4ee5\u4e0b\u672c\u6587\u3078\u3002<\/p>\n<\/p><\/div>\n<\/section>\n<div style=\"margin:0; padding:30pt; background-color:#EEEEEE;\">\n<p style=\"margin:0 0 8px 0; font-size:1.2em;\"><strong>\u3082\u304f\u3058<\/strong><\/p>\n<ul style=\"list-style-type:none; padding-left:0; margin:0;\">\n<li style=\"margin:40px 0;\"><a href=\"#sec01\">\u7b2c1\u7ae0\uff1aGit Mirror\u306b\u6f5c\u3080\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u843d\u3068\u3057\u7a74\u3068\u73fe\u5834\u3067\u8d77\u304d\u308b\u898b\u843d\u3068\u3057<\/a><\/li>\n<li style=\"margin:40px 0;\"><a href=\"#sec02\">\u7b2c2\u7ae0\uff1a\u524a\u9664\u30b3\u30df\u30c3\u30c8\u304c\u6d88\u3048\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u4ed5\u7d44\u307f\u3068\u5185\u90e8\u69cb\u9020\u306e\u7406\u89e3<\/a><\/li>\n<li style=\"margin:40px 0;\"><a href=\"#sec03\">\u7b2c3\u7ae0\uff1a\u5fa9\u5143\u53ef\u80fd\u6027\u3092\u5de6\u53f3\u3059\u308b\u53c2\u7167\u60c5\u5831\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6b8b\u5b58\u6761\u4ef6<\/a><\/li>\n<li style=\"margin:40px 0;\"><a href=\"#sec04\">\u7b2c4\u7ae0\uff1aGit Mirror\u304b\u3089\u524a\u9664\u30b3\u30df\u30c3\u30c8\u3092\u5fa9\u6d3b\u3055\u305b\u308b\u5177\u4f53\u7684\u624b\u9806<\/a><\/li>\n<li style=\"margin:40px 0;\"><a href=\"#sec05\">\u7b2c5\u7ae0\uff1a\u5fa9\u65e7\u6642\u306b\u3084\u308a\u304c\u3061\u306a\u30df\u30b9\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u7834\u58ca\u30ea\u30b9\u30af<\/a><\/li>\n<li style=\"margin:40px 0;\"><a href=\"#sec06\">\u7b2c6\u7ae0\uff1a\u518d\u767a\u9632\u6b62\u3068\u76e3\u67fb\u5bfe\u5fdc\u3092\u898b\u636e\u3048\u305f\u904b\u7528\u8a2d\u8a08\u306e\u6700\u9069\u89e3<\/a><\/li>\n<\/ul><\/div>\n<p>\u3010\u6ce8\u610f\u3011Git\u306e\u5c65\u6b74\u3084\u30b3\u30df\u30c3\u30c8\u306f\u3001\u4e00\u898b\u3059\u308b\u3068\u524a\u9664\u30fb\u5fa9\u5143\u304c\u5bb9\u6613\u306b\u898b\u3048\u308b\u5834\u5408\u3067\u3082\u3001\u5b9f\u969b\u306b\u306f\u53c2\u7167\u306e\u6d88\u5931\u3084\u5185\u90e8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u72b6\u614b\u306b\u3088\u3063\u3066\u5fa9\u65e7\u53ef\u5426\u304c\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002\u81ea\u5df1\u5224\u65ad\u3067\u306e\u64cd\u4f5c\u306f\u5c65\u6b74\u306e\u5b8c\u5168\u6d88\u5931\u3084\u76e3\u67fb\u8a3c\u8de1\u306e\u7834\u58ca\u306b\u3064\u306a\u304c\u308b\u6050\u308c\u304c\u3042\u308b\u305f\u3081\u3001\u91cd\u8981\u306a\u30c7\u30fc\u30bf\u3084\u672c\u756a\u74b0\u5883\u306b\u95a2\u308f\u308b\u5834\u5408\u306f\u3001\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240\u306e\u69d8\u306a\u5c02\u9580\u4e8b\u696d\u8005\u306b\u76f8\u8ac7\u3059\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3000<\/p>\n<p> <a id=\"sec01\"><\/a> <\/p>\n<h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u7b2c1\u7ae0\uff1aGit Mirror\u306b\u6f5c\u3080\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u843d\u3068\u3057\u7a74\u3068\u73fe\u5834\u3067\u8d77\u304d\u308b\u898b\u843d\u3068\u3057<\/h2>\n<p>Git\u3092\u5229\u7528\u3057\u305f\u958b\u767a\u73fe\u5834\u3067\u306f\u3001\u300c\u30b3\u30df\u30c3\u30c8\u3092\u524a\u9664\u3057\u305f\u300d\u300c\u5c65\u6b74\u3092\u66f8\u304d\u63db\u3048\u305f\u300d\u3068\u3044\u3063\u305f\u64cd\u4f5c\u304c\u65e5\u5e38\u7684\u306b\u884c\u308f\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001Git Mirror\u74b0\u5883\u306b\u304a\u3044\u3066\u306f\u3001\u5358\u306a\u308b\u524a\u9664\u64cd\u4f5c\u304c\u60f3\u5b9a\u5916\u306e\u5f71\u97ff\u3092\u5f15\u304d\u8d77\u3053\u3059\u3053\u3068\u304c\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u7279\u306b\u3001Mirror\u69cb\u6210\u306f\u300c\u5b8c\u5168\u306a\u30b3\u30d4\u30fc\u300d\u3067\u3042\u308b\u3068\u3044\u3046\u8a8d\u8b58\u304c\u5f37\u3044\u305f\u3081\u3001\u524a\u9664\u64cd\u4f5c\u306e\u5f71\u97ff\u7bc4\u56f2\u304c\u8efd\u8996\u3055\u308c\u3084\u3059\u3044\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Mirror\u306f\u901a\u5e38\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3084\u76e3\u67fb\u3001CI\/CD\u9023\u643a\u306a\u3069\u306e\u76ee\u7684\u3067\u5229\u7528\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u5358\u306a\u308b\u4f5c\u696d\u7528\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u306f\u7570\u306a\u308a\u3001\u5c65\u6b74\u306e\u6574\u5408\u6027\u3084\u5b8c\u5168\u6027\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u3053\u306e\u524d\u63d0\u304c\u3042\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u958b\u767a\u8005\u304c\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306e\u5ef6\u9577\u3068\u3057\u3066\u64cd\u4f5c\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u3067\u3001\u601d\u308f\u306c\u300c\u5c65\u6b74\u306e\u65ad\u7d76\u300d\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u304c\u300c\u6d88\u3048\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u300d\u7406\u7531<\/h3>\n<p>Git\u3067\u306f\u3001\u30b3\u30df\u30c3\u30c8\u81ea\u4f53\u304c\u5373\u5ea7\u306b\u524a\u9664\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u300c\u53c2\u7167\u3055\u308c\u306a\u304f\u306a\u308b\u300d\u3053\u3068\u3067\u898b\u3048\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u306f\u67d4\u8edf\u6027\u3092\u751f\u3080\u4e00\u65b9\u3067\u3001\u8aa4\u89e3\u306e\u6e29\u5e8a\u306b\u3082\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30d6\u30e9\u30f3\u30c1\u524a\u9664\u306b\u3088\u308a\u53c2\u7167\u304c\u6d88\u3048\u308b<\/li>\n<li>force push\u306b\u3088\u308a\u5c65\u6b74\u304c\u4e0a\u66f8\u304d\u3055\u308c\u308b<\/li>\n<li>tag\u306e\u4ed8\u3051\u66ff\u3048\u306b\u3088\u308b\u53c2\u7167\u5909\u66f4<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u64cd\u4f5c\u306b\u3088\u308a\u3001\u30b3\u30df\u30c3\u30c8\u306f\u5b58\u5728\u3057\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u901a\u5e38\u306e\u30ed\u30b0\u3084\u5c65\u6b74\u304b\u3089\u306f\u78ba\u8a8d\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u3092\u6b63\u3057\u304f\u7406\u89e3\u305b\u305a\u306b\u300c\u5b8c\u5168\u524a\u9664\u3055\u308c\u305f\u300d\u3068\u5224\u65ad\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3001\u5fa9\u65e7\u5bfe\u5fdc\u306e\u9045\u308c\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>Mirror\u74b0\u5883\u7279\u6709\u306e\u30ea\u30b9\u30af<\/h3>\n<p>Mirror\u74b0\u5883\u3067\u306f\u3001\u901a\u5e38\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u306f\u7570\u306a\u308b\u6ce8\u610f\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306b\u300c\u540c\u671f\u300d\u3068\u300cGC\uff08\u30ac\u30fc\u30d9\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff09\u300d\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<table border=\"1\" style=\"border-collapse:collapse; width:100%;\">\n<tr>\n<th style=\"background:#eeeeee;\">\u8981\u7d20<\/th>\n<th style=\"background:#eeeeee;\">\u5f71\u97ff\u5185\u5bb9<\/th>\n<\/tr>\n<tr>\n<td>\u81ea\u52d5\u540c\u671f<\/td>\n<td>\u524a\u9664\u72b6\u614b\u304cMirror\u306b\u3082\u5373\u6642\u53cd\u6620\u3055\u308c\u308b<\/td>\n<\/tr>\n<tr>\n<td>GC\u5b9f\u884c<\/td>\n<td>\u53c2\u7167\u3055\u308c\u306a\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u7269\u7406\u524a\u9664\u3055\u308c\u308b<\/td>\n<\/tr>\n<tr>\n<td>reflog\u671f\u9650<\/td>\n<td>\u5fa9\u5143\u306e\u624b\u304c\u304b\u308a\u304c\u6642\u9593\u7d4c\u904e\u3067\u6d88\u5931<\/td>\n<\/tr>\n<\/table>\n<p>\u7279\u306bGC\u304c\u5b9f\u884c\u3055\u308c\u305f\u5f8c\u306f\u3001\u5fa9\u5143\u306e\u96e3\u6613\u5ea6\u304c\u5927\u304d\u304f\u4e0a\u304c\u308a\u307e\u3059\u3002\u3053\u306e\u6bb5\u968e\u3067\u306f\u300c\u30c7\u30fc\u30bf\u304c\u6b8b\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u300d\u304c\u554f\u984c\u3067\u306f\u306a\u304f\u3001\u300c\u53c2\u7167\u7d4c\u8def\u304c\u5b8c\u5168\u306b\u65ad\u305f\u308c\u3066\u3044\u308b\u304b\u300d\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u73fe\u5834\u3067\u8d77\u304d\u308b\u5178\u578b\u7684\u306a\u898b\u843d\u3068\u3057<\/h3>\n<p>\u5b9f\u969b\u306e\u73fe\u5834\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u898b\u843d\u3068\u3057\u304c\u983b\u767a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Mirror\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u540c\u7b49\u3068\u8aa4\u8a8d\u3059\u308b<\/li>\n<li>force push\u306e\u5f71\u97ff\u7bc4\u56f2\u3092\u904e\u5c0f\u8a55\u4fa1\u3059\u308b<\/li>\n<li>\u5c65\u6b74\u66f8\u304d\u63db\u3048\u5f8c\u306e\u691c\u8a3c\u3092\u884c\u308f\u306a\u3044<\/li>\n<li>GC\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u610f\u8b58\u3057\u3066\u3044\u306a\u3044<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306f\u5358\u306a\u308b\u64cd\u4f5c\u30df\u30b9\u3067\u306f\u306a\u304f\u3001\u300c\u8a2d\u8a08\u3068\u904b\u7528\u306e\u524d\u63d0\u4e0d\u8db3\u300d\u306b\u3088\u308b\u554f\u984c\u3067\u3059\u3002\u7d50\u679c\u3068\u3057\u3066\u3001\u5c65\u6b74\u304c\u6d88\u5931\u3057\u305f\u5f8c\u306b\u614c\u3066\u3066\u5bfe\u5fdc\u3057\u3001\u3055\u3089\u306b\u72b6\u6cc1\u3092\u60aa\u5316\u3055\u305b\u308b\u30b1\u30fc\u30b9\u304c\u591a\u304f\u898b\u3089\u308c\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u521d\u52d5\u5bfe\u5fdc\u3067\u91cd\u8981\u306a\u8003\u3048\u65b9<\/h3>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u554f\u984c\u306b\u76f4\u9762\u3057\u305f\u5834\u5408\u3001\u6700\u521d\u306b\u884c\u3046\u3079\u304d\u3053\u3068\u306f\u300c\u5fa9\u65e7\u4f5c\u696d\u300d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305a\u306f\u72b6\u6cc1\u306e\u6c88\u9759\u5316\u3068\u5f71\u97ff\u7bc4\u56f2\u306e\u628a\u63e1\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u9806\u5e8f\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u8ffd\u52a0\u306epush\u3084\u64cd\u4f5c\u3092\u505c\u6b62\u3059\u308b<\/li>\n<li>Mirror\u3068origin\u306e\u72b6\u614b\u5dee\u5206\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<li>GC\u306e\u5b9f\u884c\u72b6\u6cc1\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<li>reflog\u3084\u30ed\u30b0\u306e\u6b8b\u5b58\u3092\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ol>\n<p>\u3053\u306e\u6bb5\u968e\u3067\u7126\u3063\u3066\u5fa9\u5143\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b8b\u3063\u3066\u3044\u308b\u624b\u304c\u304b\u308a\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002\u3044\u308f\u3070\u3001\u5834\u3092\u6574\u3048\u308b\u3053\u3068\u304c\u6700\u512a\u5148\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u672c\u756a\u74b0\u5883\u3084\u5171\u6709\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5834\u5408\u3001\u5f71\u97ff\u7bc4\u56f2\u306f\u5358\u4e00\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u7559\u307e\u308a\u307e\u305b\u3093\u3002CI\/CD\u3001\u76e3\u67fb\u30ed\u30b0\u3001\u30c7\u30d7\u30ed\u30a4\u5c65\u6b74\u306a\u3069\u8907\u6570\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u6ce2\u53ca\u3059\u308b\u305f\u3081\u3001\u614e\u91cd\u306a\u5bfe\u5fdc\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3067\u306f\u3001\u5358\u306a\u308bGit\u64cd\u4f5c\u306e\u77e5\u8b58\u3060\u3051\u3067\u306a\u304f\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u6574\u5408\u6027\u3092\u8003\u616e\u3057\u305f\u5224\u65ad\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u7d50\u679c\u3068\u3057\u3066\u3001\u500b\u5225\u6848\u4ef6\u3054\u3068\u306e\u5224\u65ad\u304c\u4e0d\u53ef\u6b20\u3068\u306a\u308a\u3001\u4e00\u822c\u8ad6\u3060\u3051\u3067\u306f\u5bfe\u5fdc\u3057\u304d\u308c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u591a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000<\/p>\n<p> <a id=\"sec02\"><\/a> <\/p>\n<h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u7b2c2\u7ae0\uff1a\u524a\u9664\u30b3\u30df\u30c3\u30c8\u304c\u6d88\u3048\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u4ed5\u7d44\u307f\u3068\u5185\u90e8\u69cb\u9020\u306e\u7406\u89e3<\/h2>\n<p>Git\u306b\u304a\u3051\u308b\u300c\u524a\u9664\u300d\u306f\u3001\u4e00\u822c\u7684\u306a\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u524a\u9664\u3068\u306f\u672c\u8cea\u7684\u306b\u7570\u306a\u308a\u307e\u3059\u3002Git\u3067\u306f\u30b3\u30df\u30c3\u30c8\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5373\u5ea7\u306b\u6d88\u53bb\u3055\u308c\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u300c\u53c2\u7167\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u300d\u306b\u3088\u3063\u3066\u53ef\u8996\u6027\u304c\u6c7a\u307e\u308a\u307e\u3059\u3002\u3053\u306e\u69cb\u9020\u3092\u6b63\u3057\u304f\u7406\u89e3\u3057\u306a\u3044\u307e\u307e\u64cd\u4f5c\u3092\u884c\u3046\u3068\u3001\u72b6\u6cc1\u5224\u65ad\u3092\u8aa4\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Git\u306e\u5185\u90e8\u69cb\u9020\u306f\u3001\u5927\u304d\u304f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3068\u300c\u53c2\u7167\uff08refs\uff09\u300d\u306b\u5206\u3051\u3066\u8003\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u5b9f\u4f53\u3067\u3042\u308a\u3001\u30b3\u30df\u30c3\u30c8\u30fb\u30c4\u30ea\u30fc\u30fb\u30d6\u30ed\u30d6\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002\u4e00\u65b9\u3001refs\u306f\u305d\u308c\u3089\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3067\u3042\u308a\u3001\u30d6\u30e9\u30f3\u30c1\u3084\u30bf\u30b0\u3068\u3057\u3066\u7ba1\u7406\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u53c2\u7167\u304c\u6d88\u3048\u308b\u3053\u3068\u3067\u8d77\u304d\u308b\u73fe\u8c61<\/h3>\n<p>\u30b3\u30df\u30c3\u30c8\u304c\u300c\u6d88\u3048\u305f\u3088\u3046\u306b\u898b\u3048\u308b\u300d\u6700\u5927\u306e\u7406\u7531\u306f\u3001\u53c2\u7167\u304c\u5931\u308f\u308c\u308b\u3053\u3068\u306b\u3042\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u64cd\u4f5c\u304c\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30d6\u30e9\u30f3\u30c1\u524a\u9664\uff08git branch -D\uff09<\/li>\n<li>\u5c65\u6b74\u66f8\u304d\u63db\u3048\uff08git rebase \/ git reset\uff09<\/li>\n<li>\u5f37\u5236push\uff08git push &#8211;force\uff09<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u64cd\u4f5c\u306b\u3088\u3063\u3066\u3001\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3092\u6307\u3057\u3066\u3044\u305f\u53c2\u7167\u304c\u5225\u306e\u5834\u6240\u3078\u79fb\u52d5\u307e\u305f\u306f\u6d88\u5931\u3057\u307e\u3059\u3002\u305d\u306e\u7d50\u679c\u3001\u901a\u5e38\u306e\u30ed\u30b0\u30b3\u30de\u30f3\u30c9\u3067\u306f\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308a\u3001\u3042\u305f\u304b\u3082\u5b58\u5728\u3057\u306a\u3044\u304b\u306e\u3088\u3046\u306b\u898b\u3048\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3059\u3050\u306b\u306f\u6d88\u3048\u306a\u3044<\/h3>\n<p>\u53c2\u7167\u304c\u5931\u308f\u308c\u3066\u3082\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u81ea\u4f53\u306f\u3059\u3050\u306b\u306f\u524a\u9664\u3055\u308c\u307e\u305b\u3093\u3002Git\u306f\u4e00\u5b9a\u671f\u9593\u3001\u672a\u53c2\u7167\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4fdd\u6301\u3057\u307e\u3059\u3002\u3053\u306e\u4ed5\u7d44\u307f\u306b\u3088\u3063\u3066\u3001\u5fa9\u5143\u306e\u53ef\u80fd\u6027\u304c\u6b8b\u3055\u308c\u307e\u3059\u3002<\/p>\n<table border=\"1\" style=\"border-collapse:collapse; width:100%;\">\n<tr>\n<th style=\"background:#eeeeee;\">\u72b6\u614b<\/th>\n<th style=\"background:#eeeeee;\">\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>\u53c2\u7167\u3042\u308a<\/td>\n<td>\u901a\u5e38\u306e\u5c65\u6b74\u3068\u3057\u3066\u53c2\u7167\u53ef\u80fd<\/td>\n<\/tr>\n<tr>\n<td>\u53c2\u7167\u306a\u3057\uff08dangling\uff09<\/td>\n<td>\u5b58\u5728\u3059\u308b\u304c\u901a\u5e38\u306e\u64cd\u4f5c\u3067\u306f\u898b\u3048\u306a\u3044<\/td>\n<\/tr>\n<tr>\n<td>GC\u5f8c<\/td>\n<td>\u5b8c\u5168\u524a\u9664\u3055\u308c\u5fa9\u5143\u56f0\u96e3<\/td>\n<\/tr>\n<\/table>\n<p>\u3053\u306e\u300cdangling\u72b6\u614b\u300d\u306b\u3042\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u3001\u5fa9\u65e7\u306e\u9375\u3068\u306a\u308a\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u554f\u984c\u306e\u672c\u8cea\u306f\u300c\u6d88\u3048\u305f\u304b\u3069\u3046\u304b\u300d\u3067\u306f\u306a\u304f\u3001\u300c\u307e\u3060\u6b8b\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u300d\u3092\u898b\u6975\u3081\u308b\u3053\u3068\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>reflog\u306e\u5f79\u5272\u3068\u9650\u754c<\/h3>\n<p>Git\u306b\u306freflog\u3068\u3044\u3046\u4ed5\u7d44\u307f\u304c\u3042\u308a\u3001\u53c2\u7167\u306e\u5909\u66f4\u5c65\u6b74\u3092\u4e00\u5b9a\u671f\u9593\u4fdd\u6301\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u904e\u53bb\u306e\u72b6\u614b\u306b\u623b\u308b\u305f\u3081\u306e\u624b\u304c\u304b\u308a\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001reflog\u306b\u306f\u4ee5\u4e0b\u306e\u5236\u7d04\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3054\u3068\u306b\u72ec\u7acb\u3057\u3066\u3044\u308b<\/li>\n<li>\u4fdd\u6301\u671f\u9593\u304c\u6709\u9650\uff08\u30c7\u30d5\u30a9\u30eb\u30c890\u65e5\u7a0b\u5ea6\uff09<\/li>\n<li>Mirror\u3067\u306f\u4fdd\u6301\u3055\u308c\u306a\u3044\u5834\u5408\u304c\u3042\u308b<\/li>\n<\/ul>\n<p>\u7279\u306bMirror\u74b0\u5883\u3067\u306f\u3001reflog\u304c\u5b58\u5728\u3057\u306a\u3044\u3001\u307e\u305f\u306f\u671f\u5f85\u901a\u308a\u306b\u6a5f\u80fd\u3057\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u70b9\u3092\u898b\u843d\u3068\u3059\u3068\u3001\u300c\u5fa9\u5143\u3067\u304d\u308b\u306f\u305a\u300d\u3068\u3044\u3046\u524d\u63d0\u304c\u5d29\u308c\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30ac\u30fc\u30d9\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff08GC\uff09\u306e\u5f71\u97ff<\/h3>\n<p>Git\u306f\u30b9\u30c8\u30ec\u30fc\u30b8\u52b9\u7387\u3092\u4fdd\u3064\u305f\u3081\u306b\u3001\u672a\u53c2\u7167\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5b9a\u671f\u7684\u306b\u524a\u9664\u3057\u307e\u3059\u3002\u3053\u306e\u51e6\u7406\u304c\u30ac\u30fc\u30d9\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p>GC\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3001dangling\u72b6\u614b\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u5b8c\u5168\u306b\u524a\u9664\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5fa9\u5143\u306e\u305f\u3081\u306e\u624b\u304c\u304b\u308a\u304c\u5931\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>GC\u306e\u6319\u52d5\u306f\u6b21\u306e\u3088\u3046\u306a\u8981\u56e0\u3067\u5909\u5316\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u81ea\u52d5\u5b9f\u884c\u306e\u30bf\u30a4\u30df\u30f3\u30b0<\/li>\n<li>\u8a2d\u5b9a\u5024\uff08gc.pruneExpire\u306a\u3069\uff09<\/li>\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30b5\u30a4\u30ba\u3084\u72b6\u614b<\/li>\n<\/ul>\n<p>Mirror\u74b0\u5883\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u304c\u660e\u793a\u7684\u306b\u7ba1\u7406\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3082\u591a\u304f\u3001\u6c17\u3065\u304b\u306a\u3044\u3046\u3061\u306b\u5fa9\u5143\u53ef\u80fd\u306a\u671f\u9593\u304c\u904e\u304e\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>Mirror\u7279\u6709\u306e\u69cb\u9020\u7684\u306a\u6ce8\u610f\u70b9<\/h3>\n<p>Mirror\u306f\u5358\u306a\u308bclone\u3068\u306f\u7570\u306a\u308a\u3001\u300c\u53c2\u7167\u3092\u542b\u3081\u305f\u5b8c\u5168\u540c\u671f\u300d\u3092\u76ee\u7684\u3068\u3057\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001origin\u5074\u3067\u306e\u5909\u66f4\u304c\u5373\u5ea7\u306b\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u7279\u6027\u306b\u3088\u308a\u3001\u6b21\u306e\u3088\u3046\u306a\u73fe\u8c61\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>origin\u3067\u524a\u9664\u3055\u308c\u305f\u53c2\u7167\u304cMirror\u306b\u3082\u53cd\u6620\u3055\u308c\u308b<\/li>\n<li>Mirror\u5074\u3067\u72ec\u81ea\u306e\u5c65\u6b74\u304c\u6b8b\u3089\u306a\u3044<\/li>\n<li>\u5fa9\u5143\u306e\u305f\u3081\u306e\u624b\u304c\u304b\u308a\u304c\u4e00\u65b9\u5411\u306b\u4f9d\u5b58\u3059\u308b<\/li>\n<\/ul>\n<p>\u3064\u307e\u308a\u3001Mirror\u5358\u4f53\u3067\u306f\u5fa9\u5143\u304c\u96e3\u3057\u3044\u30b1\u30fc\u30b9\u304c\u591a\u304f\u3001\u4ed6\u306eclone\u3084\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u5b58\u5728\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u69cb\u9020\u3092\u7406\u89e3\u3057\u305f\u3046\u3048\u3067\u3001\u5fa9\u5143\u306e\u53ef\u80fd\u6027\u3092\u51b7\u9759\u306b\u898b\u6975\u3081\u308b\u3053\u3068\u304c\u3001\u7121\u99c4\u306a\u64cd\u4f5c\u3092\u907f\u3051\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u5224\u65ad\u8ef8\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u72b6\u6cc1\u306e\u6574\u7406\u304c\u4e0d\u5341\u5206\u306a\u307e\u307e\u4f5c\u696d\u3092\u9032\u3081\u308b\u3068\u3001\u6b8b\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u30c7\u30fc\u30bf\u3092\u81ea\u3089\u6d88\u3057\u3066\u3057\u307e\u3046\u7d50\u679c\u306b\u306a\u308a\u304b\u306d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u6280\u8853\u7684\u306a\u77e5\u8b58\u3060\u3051\u3067\u306a\u304f\u3001\u5f71\u97ff\u7bc4\u56f2\u3092\u8e0f\u307e\u3048\u305f\u614e\u91cd\u306a\u9032\u884c\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u3000<\/p>\n<p> <a id=\"sec03\"><\/a> <\/p>\n<h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u7b2c3\u7ae0\uff1a\u5fa9\u5143\u53ef\u80fd\u6027\u3092\u5de6\u53f3\u3059\u308b\u53c2\u7167\u60c5\u5831\u3068\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6b8b\u5b58\u6761\u4ef6<\/h2>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u5143\u53ef\u5426\u306f\u3001\u5358\u7d14\u306b\u300c\u6d88\u3048\u305f\u304b\u3069\u3046\u304b\u300d\u3067\u306f\u5224\u65ad\u3067\u304d\u307e\u305b\u3093\u3002\u5b9f\u969b\u306b\u306f\u3001\u53c2\u7167\u60c5\u5831\u306e\u6709\u7121\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u6b8b\u5b58\u72b6\u614b\u3001\u305d\u3057\u3066\u6642\u9593\u7d4c\u904e\u306b\u3088\u308b\u5f71\u97ff\u304c\u8907\u96d1\u306b\u7d61\u307f\u5408\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u7ae0\u3067\u306f\u3001\u5fa9\u5143\u306e\u53ef\u80fd\u6027\u3092\u5de6\u53f3\u3059\u308b\u4e3b\u8981\u306a\u6761\u4ef6\u3092\u6574\u7406\u3057\u3001\u73fe\u5834\u3067\u306e\u5224\u65ad\u7cbe\u5ea6\u3092\u9ad8\u3081\u308b\u305f\u3081\u306e\u8996\u70b9\u3092\u660e\u78ba\u306b\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u5fa9\u5143\u53ef\u80fd\u6027\u3092\u6c7a\u3081\u308b3\u3064\u306e\u8981\u7d20<\/h3>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u5143\u306f\u3001\u4e3b\u306b\u6b21\u306e3\u3064\u306e\u8981\u7d20\u306b\u3088\u3063\u3066\u6c7a\u307e\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u53c2\u7167\uff08refs\uff09\u304c\u6b8b\u3063\u3066\u3044\u308b\u304b<\/li>\n<li>reflog\u304c\u5229\u7528\u53ef\u80fd\u304b<\/li>\n<li>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u7269\u7406\u7684\u306b\u6b8b\u3063\u3066\u3044\u308b\u304b<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306f\u72ec\u7acb\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3044\u3066\u3001\u5b9f\u969b\u306b\u306f\u5bc6\u63a5\u306b\u95a2\u4fc2\u3057\u3066\u3044\u307e\u3059\u3002\u3044\u305a\u308c\u304b\u4e00\u3064\u3067\u3082\u6b20\u3051\u308b\u3068\u3001\u5fa9\u5143\u306e\u96e3\u6613\u5ea6\u306f\u6025\u6fc0\u306b\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<table border=\"1\" style=\"border-collapse:collapse; width:100%;\">\n<tr>\n<th style=\"background:#eeeeee;\">\u72b6\u614b<\/th>\n<th style=\"background:#eeeeee;\">\u5fa9\u5143\u96e3\u6613\u5ea6<\/th>\n<th style=\"background:#eeeeee;\">\u5bfe\u5fdc\u65b9\u91dd<\/th>\n<\/tr>\n<tr>\n<td>refs\u3042\u308a<\/td>\n<td>\u4f4e<\/td>\n<td>\u901a\u5e38\u64cd\u4f5c\u3067\u5fa9\u5143\u53ef\u80fd<\/td>\n<\/tr>\n<tr>\n<td>reflog\u306e\u307f\u3042\u308a<\/td>\n<td>\u4e2d<\/td>\n<td>\u5c65\u6b74\u304b\u3089\u53c2\u7167\u3092\u518d\u69cb\u7bc9<\/td>\n<\/tr>\n<tr>\n<td>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u307f<\/td>\n<td>\u9ad8<\/td>\n<td>fsck\u7b49\u3067\u63a2\u7d22\u3057\u518d\u63a5\u7d9a<\/td>\n<\/tr>\n<tr>\n<td>\u3059\u3079\u3066\u306a\u3057<\/td>\n<td>\u6975\u3081\u3066\u9ad8<\/td>\n<td>\u5916\u90e8\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u4f9d\u5b58<\/td>\n<\/tr>\n<\/table>\n<hr>\n<h3>\u53c2\u7167\u60c5\u5831\u306e\u6709\u7121\u306b\u3088\u308b\u9055\u3044<\/h3>\n<p>\u6700\u3082\u91cd\u8981\u306a\u306e\u306f\u53c2\u7167\u306e\u72b6\u614b\u3067\u3059\u3002\u30d6\u30e9\u30f3\u30c1\u3084\u30bf\u30b0\u304c\u6b8b\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u305d\u306e\u30b3\u30df\u30c3\u30c8\u306f\u5bb9\u6613\u306b\u8ffd\u8de1\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u53c2\u7167\u304c\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u5fa9\u5143\u306f\u4e00\u6bb5\u968e\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6bb5\u968e\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u78ba\u8a8d\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30ea\u30e2\u30fc\u30c8\u30d6\u30e9\u30f3\u30c1\u306b\u540c\u4e00\u30b3\u30df\u30c3\u30c8\u304c\u6b8b\u3063\u3066\u3044\u306a\u3044\u304b<\/li>\n<li>\u30bf\u30b0\u3084\u4e00\u6642\u7684\u306a\u53c2\u7167\u304c\u5b58\u5728\u3057\u306a\u3044\u304b<\/li>\n<li>\u5225\u306eclone\u74b0\u5883\u306b\u53c2\u7167\u304c\u6b8b\u3063\u3066\u3044\u306a\u3044\u304b<\/li>\n<\/ul>\n<p>\u7279\u306b\u8907\u6570\u4eba\u3067\u904b\u7528\u3057\u3066\u3044\u308b\u74b0\u5883\u3067\u306f\u3001\u4ed6\u306e\u958b\u767a\u8005\u306e\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u304c\u91cd\u8981\u306a\u5fa9\u5143\u624b\u6bb5\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>reflog\u306e\u6d3b\u7528\u3068\u6ce8\u610f\u70b9<\/h3>\n<p>reflog\u306f\u3001\u53c2\u7167\u306e\u5c65\u6b74\u3092\u8fbf\u308b\u305f\u3081\u306e\u6709\u529b\u306a\u624b\u6bb5\u3067\u3059\u3002\u524a\u9664\u524d\u306e\u72b6\u614b\u3092\u8a18\u9332\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u3053\u304b\u3089\u30b3\u30df\u30c3\u30c8ID\u3092\u53d6\u5f97\u3057\u3001\u518d\u5ea6\u53c2\u7167\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001reflog\u306b\u306f\u6b21\u306e\u3088\u3046\u306a\u5236\u7d04\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>Mirror\u306b\u306f\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u304c\u3042\u308b<\/li>\n<li>\u4fdd\u6301\u671f\u9593\u3092\u904e\u304e\u308b\u3068\u81ea\u52d5\u7684\u306b\u6d88\u3048\u308b<\/li>\n<li>\u30ed\u30fc\u30ab\u30eb\u3054\u3068\u306b\u5185\u5bb9\u304c\u7570\u306a\u308b<\/li>\n<\/ul>\n<p>\u305d\u306e\u305f\u3081\u3001\u300c\u3069\u306e\u74b0\u5883\u3067reflog\u3092\u78ba\u8a8d\u3059\u308b\u304b\u300d\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u5358\u4e00\u306e\u74b0\u5883\u3060\u3051\u3067\u5224\u65ad\u305b\u305a\u3001\u8907\u6570\u306e\u53ef\u80fd\u6027\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<hr>\n<h3>dangling\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u63a2\u7d22<\/h3>\n<p>\u53c2\u7167\u3082reflog\u3082\u5229\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u3001\u6700\u5f8c\u306e\u624b\u6bb5\u306fdangling\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u63a2\u7d22\u3067\u3059\u3002Git\u306f\u672a\u53c2\u7167\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4e00\u5b9a\u671f\u9593\u4fdd\u6301\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u3053\u304b\u3089\u5fa9\u5143\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee3\u8868\u7684\u306a\u78ba\u8a8d\u65b9\u6cd5\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>git fsck \u306b\u3088\u308b\u672a\u53c2\u7167\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u691c\u51fa<\/li>\n<li>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8ID\u304b\u3089\u306e\u5185\u5bb9\u78ba\u8a8d<\/li>\n<li>\u8a72\u5f53\u30b3\u30df\u30c3\u30c8\u306e\u518d\u53c2\u7167\u5316<\/li>\n<\/ul>\n<p>\u305f\u3060\u3057\u3001\u3053\u306e\u4f5c\u696d\u306f\u975e\u5e38\u306b\u614e\u91cd\u3055\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u8aa4\u3063\u305f\u64cd\u4f5c\u3092\u884c\u3046\u3068\u3001\u6b8b\u3063\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u6642\u9593\u7d4c\u904e\u304c\u4e0e\u3048\u308b\u5f71\u97ff<\/h3>\n<p>\u5fa9\u5143\u306e\u53ef\u80fd\u6027\u306f\u6642\u9593\u3068\u3068\u3082\u306b\u4f4e\u4e0b\u3057\u307e\u3059\u3002\u7279\u306b\u6b21\u306e\u8981\u7d20\u304c\u5f71\u97ff\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>GC\u306e\u5b9f\u884c\u30bf\u30a4\u30df\u30f3\u30b0<\/li>\n<li>reflog\u306e\u4fdd\u6301\u671f\u9650<\/li>\n<li>\u65b0\u305f\u306a\u30b3\u30df\u30c3\u30c8\u306b\u3088\u308b\u4e0a\u66f8\u304d<\/li>\n<\/ul>\n<p>\u554f\u984c\u767a\u751f\u304b\u3089\u6642\u9593\u304c\u7d4c\u904e\u3059\u308b\u307b\u3069\u3001\u9078\u629e\u80a2\u306f\u9650\u3089\u308c\u3066\u3044\u304d\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u521d\u52d5\u3067\u306e\u5224\u65ad\u3068\u5bfe\u5fdc\u304c\u6975\u3081\u3066\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u5224\u65ad\u3092\u8aa4\u3089\u306a\u3044\u305f\u3081\u306e\u5b9f\u52d9\u7684\u306a\u8996\u70b9<\/h3>\n<p>\u73fe\u5834\u3067\u306f\u3001\u300c\u5fa9\u5143\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u300d\u3088\u308a\u3082\u300c\u3069\u306e\u30ec\u30d9\u30eb\u307e\u3067\u5fa9\u5143\u304c\u5fc5\u8981\u304b\u300d\u3092\u660e\u78ba\u306b\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u3059\u3079\u3066\u306e\u5c65\u6b74\u3092\u5b8c\u5168\u306b\u623b\u3059\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\u3001\u4e00\u90e8\u306e\u30b3\u30df\u30c3\u30c8\u3067\u5341\u5206\u306a\u306e\u304b\u306b\u3088\u3063\u3066\u3001\u5bfe\u5fdc\u65b9\u91dd\u306f\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u6b21\u306e\u89b3\u70b9\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u76e3\u67fb\u8981\u4ef6\u3092\u6e80\u305f\u3059\u5fc5\u8981\u304c\u3042\u308b\u304b<\/li>\n<li>CI\/CD\u3068\u306e\u6574\u5408\u6027\u3092\u4fdd\u3064\u5fc5\u8981\u304c\u3042\u308b\u304b<\/li>\n<li>\u4ed6\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u5f71\u97ff\u304c\u3042\u308b\u304b<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u3092\u8e0f\u307e\u3048\u308b\u3068\u3001\u5358\u7d14\u306aGit\u64cd\u4f5c\u306e\u554f\u984c\u3067\u306f\u306a\u304f\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u6574\u5408\u6027\u3092\u3069\u3046\u4fdd\u3064\u304b\u3068\u3044\u3046\u8ab2\u984c\u306b\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u672c\u756a\u74b0\u5883\u3084\u5171\u6709\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5834\u5408\u3001\u5fa9\u5143\u4f5c\u696d\u306f\u614e\u91cd\u306b\u9032\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5f71\u97ff\u7bc4\u56f2\u306e\u898b\u6975\u3081\u3092\u8aa4\u308b\u3068\u3001\u554f\u984c\u306e\u53ce\u675f\u3069\u3053\u308d\u304b\u65b0\u305f\u306a\u969c\u5bb3\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3067\u306f\u3001\u5358\u72ec\u3067\u306e\u5224\u65ad\u306b\u983c\u3089\u305a\u3001\u5c02\u9580\u7684\u306a\u8996\u70b9\u304b\u3089\u306e\u78ba\u8a8d\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u3088\u308a\u78ba\u5b9f\u306a\u5bfe\u5fdc\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000<\/p>\n<p> <a id=\"sec04\"><\/a> <\/p>\n<h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u7b2c4\u7ae0\uff1aGit Mirror\u304b\u3089\u524a\u9664\u30b3\u30df\u30c3\u30c8\u3092\u5fa9\u6d3b\u3055\u305b\u308b\u5177\u4f53\u7684\u624b\u9806<\/h2>\n<p>\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u5143\u306f\u3001\u95c7\u96f2\u306b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u6bb5\u968e\u7684\u306b\u9032\u3081\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u5b9f\u52d9\u3067\u518d\u73fe\u6027\u306e\u3042\u308b\u624b\u9806\u3068\u3057\u3066\u3001\u30ea\u30b9\u30af\u3092\u6291\u3048\u306a\u304c\u3089\u5fa9\u5143\u3092\u9032\u3081\u308b\u65b9\u6cd5\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u5fa9\u5143\u4f5c\u696d\u306b\u5165\u308b\u524d\u306e\u524d\u63d0\u6574\u7406<\/h3>\n<p>\u5fa9\u5143\u4f5c\u696d\u306e\u524d\u306b\u3001\u5fc5\u305a\u73fe\u72b6\u306e\u4fdd\u5168\u3092\u884c\u3044\u307e\u3059\u3002\u3053\u306e\u6bb5\u968e\u3067\u306e\u64cd\u4f5c\u304c\u3001\u305d\u306e\u5f8c\u306e\u6210\u529f\u7387\u3092\u5927\u304d\u304f\u5de6\u53f3\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5bfe\u8c61\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30b3\u30d4\u30fc\u3092\u53d6\u5f97\u3059\u308b\uff08read-only\u74b0\u5883\uff09<\/li>\n<li>\u8ffd\u52a0\u306epush\u30fbfetch\u30fbGC\u3092\u505c\u6b62\u3059\u308b<\/li>\n<li>Mirror\u3068origin\u306e\u72b6\u614b\u5dee\u5206\u3092\u8a18\u9332\u3059\u308b<\/li>\n<\/ul>\n<p>\u3053\u306e\u5bfe\u5fdc\u306f\u3001\u3044\u308f\u3070\u72b6\u6cc1\u306e\u30af\u30fc\u30eb\u30c0\u30a6\u30f3\u3067\u3059\u3002\u7126\u3063\u3066\u64cd\u4f5c\u3092\u9032\u3081\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u307e\u305a\u306f\u3053\u308c\u4ee5\u4e0a\u306e\u5909\u5316\u3092\u6291\u3048\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u624b\u98061\uff1a\u53c2\u7167\u306e\u518d\u78ba\u8a8d<\/h3>\n<p>\u6700\u521d\u306b\u78ba\u8a8d\u3059\u3079\u304d\u306f\u3001\u53c2\u7167\u306e\u6b8b\u5b58\u3067\u3059\u3002\u6b21\u306e\u89b3\u70b9\u3067\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>git branch -a \u3067\u30ea\u30e2\u30fc\u30c8\u30fb\u30ed\u30fc\u30ab\u30eb\u306e\u30d6\u30e9\u30f3\u30c1\u78ba\u8a8d<\/li>\n<li>git tag \u3067\u30bf\u30b0\u306e\u78ba\u8a8d<\/li>\n<li>\u4ed6\u306eclone\u74b0\u5883\u3067\u306e\u53c2\u7167\u78ba\u8a8d<\/li>\n<\/ul>\n<p>\u3082\u3057\u53c2\u7167\u304c\u6b8b\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u3053\u304b\u3089\u65b0\u3057\u3044\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u5fa9\u5143\u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u306e\u6bb5\u968e\u3067\u5fa9\u5143\u3067\u304d\u308b\u30b1\u30fc\u30b9\u306f\u6bd4\u8f03\u7684\u5b89\u5168\u3067\u3059\u3002<\/p>\n<hr>\n<h3>\u624b\u98062\uff1areflog\u304b\u3089\u306e\u5fa9\u5143<\/h3>\n<p>\u53c2\u7167\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u6b21\u306breflog\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>git reflog \u3067\u5c65\u6b74\u3092\u78ba\u8a8d<\/li>\n<li>\u524a\u9664\u524d\u306e\u30b3\u30df\u30c3\u30c8ID\u3092\u7279\u5b9a<\/li>\n<li>git checkout -b recovery &lt;commit-id&gt; \u3067\u5fa9\u5143<\/li>\n<\/ul>\n<p>reflog\u304c\u5229\u7528\u3067\u304d\u308b\u5834\u5408\u3001\u5fa9\u5143\u306e\u6210\u529f\u7387\u306f\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001Mirror\u74b0\u5883\u3067\u306f\u5229\u7528\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001origin\u5074\u3084\u958b\u767a\u8005\u306e\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3082\u542b\u3081\u3066\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<hr>\n<h3>\u624b\u98063\uff1adangling\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u63a2\u7d22<\/h3>\n<p>reflog\u304c\u5229\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001dangling\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u63a2\u7d22\u306b\u79fb\u884c\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>git fsck &#8211;lost-found \u3092\u5b9f\u884c<\/li>\n<li>\u8868\u793a\u3055\u308c\u305fdangling commit\u3092\u78ba\u8a8d<\/li>\n<li>\u8a72\u5f53\u30b3\u30df\u30c3\u30c8\u306e\u5185\u5bb9\u3092\u7cbe\u67fb<\/li>\n<\/ul>\n<p>\u3053\u306e\u4f5c\u696d\u3067\u306f\u3001\u8907\u6570\u306e\u5019\u88dc\u304c\u51fa\u3066\u304f\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u5185\u5bb9\u78ba\u8a8d\u3092\u614e\u91cd\u306b\u884c\u3044\u3001\u5bfe\u8c61\u3068\u306a\u308b\u30b3\u30df\u30c3\u30c8\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u7279\u5b9a\u5f8c\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u518d\u53c2\u7167\u5316\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>git branch recovery &lt;commit-id&gt;<\/li>\n<\/ul>\n<p>\u3053\u306e\u6bb5\u968e\u306f\u3001\u3044\u308f\u3070\u5fa9\u5143\u306e\u6700\u7d42\u30e9\u30a4\u30f3\u306b\u8fd1\u3044\u5de5\u7a0b\u3067\u3059\u3002\u3053\u3053\u3067\u306e\u5224\u65ad\u30df\u30b9\u306f\u3001\u5fa9\u5143\u6a5f\u4f1a\u306e\u55aa\u5931\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u624b\u98064\uff1aMirror\u3068origin\u306e\u6574\u5408\u6027\u78ba\u8a8d<\/h3>\n<p>\u5fa9\u5143\u3057\u305f\u30b3\u30df\u30c3\u30c8\u306f\u3001\u305d\u306e\u307e\u307e\u5229\u7528\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u5fc5\u305a\u6574\u5408\u6027\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>origin\u3068\u306e\u5c65\u6b74\u5dee\u5206\u3092\u78ba\u8a8d<\/li>\n<li>CI\/CD\u3078\u306e\u5f71\u97ff\u3092\u78ba\u8a8d<\/li>\n<li>\u30c7\u30d7\u30ed\u30a4\u5c65\u6b74\u3068\u306e\u6574\u5408\u6027\u3092\u78ba\u8a8d<\/li>\n<\/ul>\n<p>\u7279\u306bMirror\u74b0\u5883\u3067\u306f\u3001\u300c\u5fa9\u5143\u3067\u304d\u305f\u300d\u3053\u3068\u3068\u300c\u5b89\u5168\u306b\u4f7f\u3048\u308b\u300d\u3053\u3068\u306f\u5225\u554f\u984c\u3067\u3059\u3002\u3053\u306e\u78ba\u8a8d\u3092\u6020\u308b\u3068\u3001\u5f8c\u7d9a\u5de5\u7a0b\u3067\u4e0d\u6574\u5408\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u624b\u98065\uff1a\u6700\u5c0f\u5909\u66f4\u3067\u306e\u53cd\u6620<\/h3>\n<p>\u5fa9\u5143\u3057\u305f\u5185\u5bb9\u3092\u672c\u756a\u74b0\u5883\u3078\u53cd\u6620\u3059\u308b\u969b\u306f\u3001\u6700\u5c0f\u5909\u66f4\u3092\u5fb9\u5e95\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u65b0\u898f\u30d6\u30e9\u30f3\u30c1\u3068\u3057\u3066\u6271\u3046<\/li>\n<li>\u65e2\u5b58\u5c65\u6b74\u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u306a\u3044<\/li>\n<li>\u95a2\u4fc2\u8005\u3068\u5408\u610f\u3092\u53d6\u308b<\/li>\n<\/ul>\n<p>\u3053\u306e\u5bfe\u5fdc\u306b\u3088\u308a\u3001\u5f71\u97ff\u7bc4\u56f2\u3092\u9650\u5b9a\u3057\u306a\u304c\u3089\u5fa9\u65e7\u3092\u9032\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5f37\u5236\u7684\u306a\u4e0a\u66f8\u304d\u306f\u907f\u3051\u3001\u6bb5\u968e\u7684\u306b\u53ce\u675f\u3055\u305b\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<hr>\n<h3>\u5fa9\u5143\u624b\u9806\u306e\u5168\u4f53\u6574\u7406<\/h3>\n<p>\u3053\u3053\u307e\u3067\u306e\u624b\u9806\u3092\u6574\u7406\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u74b0\u5883\u4fdd\u5168\uff08\u64cd\u4f5c\u505c\u6b62\u30fb\u30b3\u30d4\u30fc\u53d6\u5f97\uff09<\/li>\n<li>\u53c2\u7167\u78ba\u8a8d<\/li>\n<li>reflog\u78ba\u8a8d<\/li>\n<li>dangling\u63a2\u7d22<\/li>\n<li>\u6574\u5408\u6027\u78ba\u8a8d<\/li>\n<li>\u6700\u5c0f\u5909\u66f4\u3067\u53cd\u6620<\/li>\n<\/ol>\n<p>\u3053\u306e\u6d41\u308c\u3092\u5b88\u308b\u3053\u3068\u3067\u3001\u7121\u99c4\u306a\u64cd\u4f5c\u3092\u907f\u3051\u306a\u304c\u3089\u5fa9\u5143\u306e\u6210\u529f\u7387\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u91cd\u8981\u306a\u306e\u306f\u3001\u300c\u3059\u3050\u306b\u5fa9\u5143\u3059\u308b\u300d\u3053\u3068\u3067\u306f\u306a\u304f\u3001\u300c\u5fa9\u5143\u3067\u304d\u308b\u72b6\u614b\u3092\u7dad\u6301\u3059\u308b\u300d\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u8996\u70b9\u3092\u6301\u3064\u3053\u3068\u3067\u3001\u72b6\u6cc1\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u7279\u306bMirror\u74b0\u5883\u3067\u306f\u3001\u5358\u4e00\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3060\u3051\u3067\u5b8c\u7d50\u3057\u306a\u3044\u305f\u3081\u3001\u5168\u4f53\u69cb\u6210\u3092\u8e0f\u307e\u3048\u305f\u614e\u91cd\u306a\u5224\u65ad\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u3000<\/p>\n<p> <a id=\"sec05\"><\/a> <\/p>\n<h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u7b2c5\u7ae0\uff1a\u5fa9\u65e7\u6642\u306b\u3084\u308a\u304c\u3061\u306a\u30df\u30b9\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u7834\u58ca\u30ea\u30b9\u30af<\/h2>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u5143\u4f5c\u696d\u306f\u3001\u624b\u9806\u3092\u7406\u89e3\u3057\u3066\u3044\u3066\u3082\u3001\u5224\u65ad\u3092\u8aa4\u308b\u3053\u3068\u3067\u72b6\u6cc1\u3092\u60aa\u5316\u3055\u305b\u308b\u30ea\u30b9\u30af\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306bGit Mirror\u74b0\u5883\u3067\u306f\u3001\u64cd\u4f5c\u306e\u5f71\u97ff\u304c\u5e83\u7bc4\u56f2\u306b\u53ca\u3076\u305f\u3081\u3001\u5c0f\u3055\u306a\u30df\u30b9\u304c\u5927\u304d\u306a\u969c\u5bb3\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002\u3053\u306e\u7ae0\u3067\u306f\u3001\u5b9f\u52d9\u3067\u983b\u767a\u3059\u308b\u30df\u30b9\u3068\u3001\u305d\u308c\u306b\u3088\u3063\u3066\u767a\u751f\u3059\u308b\u30ea\u30b9\u30af\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30df\u30b91\uff1a\u72b6\u6cc1\u78ba\u8a8d\u524d\u306b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b<\/h3>\n<p>\u6700\u3082\u591a\u3044\u306e\u304c\u3001\u72b6\u6cc1\u6574\u7406\u3092\u884c\u308f\u305a\u306b\u5fa9\u5143\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3057\u307e\u3046\u30b1\u30fc\u30b9\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u64cd\u4f5c\u304c\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>git reset \u3092\u5b89\u6613\u306b\u5b9f\u884c\u3059\u308b<\/li>\n<li>force push\u3067\u5c65\u6b74\u3092\u518d\u5ea6\u4e0a\u66f8\u304d\u3059\u308b<\/li>\n<li>\u4e0d\u8981\u306acheckout\u3092\u7e70\u308a\u8fd4\u3059<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u64cd\u4f5c\u306f\u3001\u6b8b\u3063\u3066\u3044\u308b\u53c2\u7167\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4e0a\u66f8\u304d\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u7d50\u679c\u3068\u3057\u3066\u3001\u672c\u6765\u5fa9\u5143\u53ef\u80fd\u3060\u3063\u305f\u30c7\u30fc\u30bf\u3092\u81ea\u3089\u6d88\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u306f\u3001\u3044\u308f\u3070\u300c\u5834\u3092\u6574\u3048\u305a\u306b\u624b\u3092\u52d5\u304b\u3057\u305f\u300d\u7d50\u679c\u3067\u3042\u308a\u3001\u554f\u984c\u306e\u53ce\u675f\u3069\u3053\u308d\u304b\u62e1\u5927\u3092\u62db\u304d\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30df\u30b92\uff1aGC\u306e\u5f71\u97ff\u3092\u8003\u616e\u3057\u306a\u3044<\/h3>\n<p>GC\u306e\u5b58\u5728\u3092\u610f\u8b58\u305b\u305a\u306b\u4f5c\u696d\u3092\u9032\u3081\u308b\u3053\u3068\u3082\u3001\u5927\u304d\u306a\u30ea\u30b9\u30af\u3067\u3059\u3002\u7279\u306b\u6b21\u306e\u3088\u3046\u306a\u30b1\u30fc\u30b9\u304c\u5371\u967a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u9577\u6642\u9593\u653e\u7f6e\u3057\u305f\u5f8c\u306b\u5fa9\u5143\u3092\u8a66\u307f\u308b<\/li>\n<li>GC\u304c\u81ea\u52d5\u5b9f\u884c\u3055\u308c\u308b\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u3066\u3044\u306a\u3044<\/li>\n<li>\u610f\u56f3\u305b\u305a gc \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3057\u307e\u3046<\/li>\n<\/ul>\n<p>GC\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3001dangling\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u524a\u9664\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u3067\u306f\u3001\u5fa9\u5143\u306e\u624b\u6bb5\u304c\u307b\u307c\u5931\u308f\u308c\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30df\u30b93\uff1aMirror\u3068origin\u306e\u5dee\u5206\u3092\u7121\u8996\u3059\u308b<\/h3>\n<p>Mirror\u74b0\u5883\u3067\u306f\u3001origin\u3068\u306e\u95a2\u4fc2\u3092\u7121\u8996\u3057\u305f\u64cd\u4f5c\u304c\u91cd\u5927\u306a\u554f\u984c\u3092\u5f15\u304d\u8d77\u3053\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>Mirror\u5074\u3060\u3051\u3067\u5fa9\u5143\u3092\u5b8c\u7d50\u3055\u305b\u3088\u3046\u3068\u3059\u308b<\/li>\n<li>origin\u3068\u306e\u6574\u5408\u6027\u3092\u78ba\u8a8d\u3057\u306a\u3044<\/li>\n<li>\u5dee\u5206\u3092\u628a\u63e1\u305b\u305a\u306bpush\u3059\u308b<\/li>\n<\/ul>\n<p>\u3053\u306e\u7d50\u679c\u3001\u5c65\u6b74\u306e\u4e0d\u6574\u5408\u3084\u30c7\u30d7\u30ed\u30a4\u30a8\u30e9\u30fc\u3001CI\/CD\u306e\u5931\u6557\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u5358\u4e00\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u554f\u984c\u3067\u306f\u306a\u304f\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u969c\u5bb3\u3078\u3068\u767a\u5c55\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30df\u30b94\uff1a\u5c65\u6b74\u3092\u66f8\u304d\u63db\u3048\u3066\u3057\u307e\u3046<\/h3>\n<p>\u5fa9\u5143\u306e\u904e\u7a0b\u3067\u5c65\u6b74\u3092\u66f8\u304d\u63db\u3048\u308b\u64cd\u4f5c\u3092\u884c\u3046\u3068\u3001\u72b6\u6cc1\u304c\u3055\u3089\u306b\u8907\u96d1\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<table border=\"1\" style=\"border-collapse:collapse; width:100%;\">\n<tr>\n<th style=\"background:#eeeeee;\">\u64cd\u4f5c<\/th>\n<th style=\"background:#eeeeee;\">\u30ea\u30b9\u30af<\/th>\n<\/tr>\n<tr>\n<td>git rebase<\/td>\n<td>\u5c65\u6b74\u306e\u518d\u69cb\u7bc9\u306b\u3088\u308a\u53c2\u7167\u304c\u5909\u5316<\/td>\n<\/tr>\n<tr>\n<td>git filter-branch<\/td>\n<td>\u904e\u53bb\u5c65\u6b74\u306e\u5b8c\u5168\u66f8\u304d\u63db\u3048<\/td>\n<\/tr>\n<tr>\n<td>force push<\/td>\n<td>\u4ed6\u74b0\u5883\u306e\u5c65\u6b74\u3068\u4e0d\u6574\u5408\u767a\u751f<\/td>\n<\/tr>\n<\/table>\n<p>\u3053\u308c\u3089\u306f\u672c\u6765\u3001\u8a08\u753b\u7684\u306b\u5b9f\u65bd\u3059\u3079\u304d\u64cd\u4f5c\u3067\u3042\u308a\u3001\u5fa9\u65e7\u306e\u9014\u4e2d\u3067\u5b9f\u884c\u3059\u308b\u3079\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u7279\u306b\u5171\u6709\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u306f\u3001\u4ed6\u306e\u958b\u767a\u8005\u306e\u4f5c\u696d\u306b\u3082\u5f71\u97ff\u3092\u4e0e\u3048\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30df\u30b95\uff1a\u5f71\u97ff\u7bc4\u56f2\u3092\u9650\u5b9a\u305b\u305a\u306b\u53cd\u6620\u3059\u308b<\/h3>\n<p>\u5fa9\u5143\u3057\u305f\u5185\u5bb9\u3092\u3001\u305d\u306e\u307e\u307e\u672c\u756a\u74b0\u5883\u3078\u53cd\u6620\u3057\u3066\u3057\u307e\u3046\u30b1\u30fc\u30b9\u3082\u898b\u53d7\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u76f4\u63a5main\u30d6\u30e9\u30f3\u30c1\u3078\u53cd\u6620\u3059\u308b<\/li>\n<li>\u30ec\u30d3\u30e5\u30fc\u3092\u7701\u7565\u3059\u308b<\/li>\n<li>\u691c\u8a3c\u74b0\u5883\u3092\u7d4c\u7531\u3057\u306a\u3044<\/li>\n<\/ul>\n<p>\u3053\u306e\u3088\u3046\u306a\u5bfe\u5fdc\u306f\u3001\u5fa9\u5143\u3057\u305f\u5185\u5bb9\u304c\u6b63\u3057\u304f\u3066\u3082\u3001\u65b0\u305f\u306a\u4e0d\u5177\u5408\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u5fa9\u65e7\u4f5c\u696d\u306f\u3042\u304f\u307e\u3067\u614e\u91cd\u306b\u9032\u3081\u308b\u3079\u304d\u5de5\u7a0b\u3067\u3059\u3002<\/p>\n<hr>\n<h3>\u30ea\u30b9\u30af\u3092\u6291\u3048\u308b\u305f\u3081\u306e\u57fa\u672c\u65b9\u91dd<\/h3>\n<p>\u3053\u308c\u3089\u306e\u30df\u30b9\u3092\u9632\u3050\u305f\u3081\u306b\u306f\u3001\u6b21\u306e\u65b9\u91dd\u3092\u5fb9\u5e95\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u64cd\u4f5c\u524d\u306b\u5fc5\u305a\u72b6\u614b\u3092\u8a18\u9332\u3059\u308b<\/li>\n<li>\u6700\u5c0f\u5909\u66f4\u3067\u9032\u3081\u308b<\/li>\n<li>\u5358\u72ec\u5224\u65ad\u3067\u9032\u3081\u306a\u3044<\/li>\n<li>\u6bb5\u968e\u7684\u306b\u691c\u8a3c\u3059\u308b<\/li>\n<\/ul>\n<p>\u5fa9\u5143\u4f5c\u696d\u306f\u300c\u6280\u8853\u529b\u300d\u3060\u3051\u3067\u306a\u304f\u300c\u5224\u65ad\u529b\u300d\u304c\u6c42\u3081\u3089\u308c\u308b\u9818\u57df\u3067\u3059\u3002\u7279\u306bMirror\u74b0\u5883\u3067\u306f\u3001\u69cb\u6210\u5168\u4f53\u3092\u898b\u6e21\u3057\u305f\u5bfe\u5fdc\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u306f\u7121\u7406\u306b\u81ea\u529b\u3067\u89e3\u6c7a\u3057\u3088\u3046\u3068\u305b\u305a\u3001\u65e9\u3044\u6bb5\u968e\u3067\u5c02\u9580\u7684\u306a\u8996\u70b9\u3092\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u3067\u3001\u7d50\u679c\u7684\u306b\u5b89\u5168\u304b\u3064\u52b9\u7387\u7684\u306a\u53ce\u675f\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000<\/p>\n<p> <a id=\"sec06\"><\/a> <\/p>\n<h2 style=\"font-size:1.2em; font-weight:bold; text-decoration:underline;\">\u7b2c6\u7ae0\uff1a\u518d\u767a\u9632\u6b62\u3068\u76e3\u67fb\u5bfe\u5fdc\u3092\u898b\u636e\u3048\u305f\u904b\u7528\u8a2d\u8a08\u306e\u6700\u9069\u89e3<\/h2>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u554f\u984c\u306f\u3001\u4e00\u5ea6\u5bfe\u5fdc\u3057\u3066\u7d42\u308f\u308a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u518d\u767a\u3092\u9632\u3050\u305f\u3081\u306b\u306f\u3001Git\u306e\u64cd\u4f5c\u30eb\u30fc\u30eb\u3060\u3051\u3067\u306a\u304f\u3001\u904b\u7528\u8a2d\u8a08\u305d\u306e\u3082\u306e\u3092\u898b\u76f4\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306bMirror\u74b0\u5883\u3067\u306f\u3001\u5358\u306a\u308b\u958b\u767a\u52b9\u7387\u3067\u306f\u306a\u304f\u3001\u76e3\u67fb\u30fb\u8a3c\u8de1\u30fb\u7d99\u7d9a\u6027\u3068\u3044\u3063\u305f\u89b3\u70b9\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u518d\u767a\u9632\u6b62\u306e\u57fa\u672c\u8a2d\u8a08<\/h3>\n<p>\u307e\u305a\u898b\u76f4\u3059\u3079\u304d\u306f\u3001\u5c65\u6b74\u64cd\u4f5c\u306b\u95a2\u3059\u308b\u30eb\u30fc\u30eb\u3067\u3059\u3002\u7279\u306bforce push\u3084rebase\u306e\u6271\u3044\u306f\u660e\u78ba\u306b\u5236\u5fa1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>main\u30d6\u30e9\u30f3\u30c1\u3078\u306eforce push\u3092\u7981\u6b62\u3059\u308b<\/li>\n<li>\u5c65\u6b74\u66f8\u304d\u63db\u3048\u306f\u5c02\u7528\u30d6\u30e9\u30f3\u30c1\u3067\u306e\u307f\u5b9f\u65bd<\/li>\n<li>\u30ec\u30d3\u30e5\u30fc\u306a\u3057\u3067\u306e\u5c65\u6b74\u5909\u66f4\u3092\u9632\u6b62\u3059\u308b<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u610f\u56f3\u3057\u306a\u3044\u5c65\u6b74\u6d88\u5931\u306e\u767a\u751f\u78ba\u7387\u3092\u5927\u304d\u304f\u4e0b\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068Mirror\u306e\u5f79\u5272\u5206\u96e2<\/h3>\n<p>Mirror\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u3057\u3066\u6271\u3046\u3053\u3068\u306f\u907f\u3051\u308b\u3079\u304d\u3067\u3059\u3002Mirror\u306f\u3042\u304f\u307e\u3067\u540c\u671f\u7528\u9014\u3067\u3042\u308a\u3001\u5c65\u6b74\u306e\u4fdd\u5168\u306b\u306f\u5225\u306e\u4ed5\u7d44\u307f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<table border=\"1\" style=\"border-collapse:collapse; width:100%;\">\n<tr>\n<th style=\"background:#eeeeee;\">\u7528\u9014<\/th>\n<th style=\"background:#eeeeee;\">\u9069\u5207\u306a\u4ed5\u7d44\u307f<\/th>\n<\/tr>\n<tr>\n<td>\u540c\u671f<\/td>\n<td>Mirror<\/td>\n<\/tr>\n<tr>\n<td>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/td>\n<td>\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u4fdd\u5b58\u30fb\u30a2\u30fc\u30ab\u30a4\u30d6<\/td>\n<\/tr>\n<tr>\n<td>\u76e3\u67fb<\/td>\n<td>\u30ed\u30b0\u4fdd\u5168\u30fb\u5909\u66f4\u5c65\u6b74\u7ba1\u7406<\/td>\n<\/tr>\n<\/table>\n<p>\u3053\u306e\u5f79\u5272\u5206\u96e2\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u4e07\u304c\u4e00\u306e\u969b\u306b\u3082\u5fa9\u5143\u624b\u6bb5\u3092\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u76e3\u67fb\u5bfe\u5fdc\u3092\u610f\u8b58\u3057\u305f\u30ed\u30b0\u8a2d\u8a08<\/h3>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u554f\u984c\u306f\u3001\u5358\u306a\u308b\u6280\u8853\u8ab2\u984c\u3067\u306f\u306a\u304f\u3001\u76e3\u67fb\u3084\u8aac\u660e\u8cac\u4efb\u306b\u3082\u95a2\u308f\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30ed\u30b0\u8a2d\u8a08\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>push\u30fbforce push\u306e\u8a18\u9332\u3092\u4fdd\u6301\u3059\u308b<\/li>\n<li>\u8ab0\u304c\u3069\u306e\u64cd\u4f5c\u3092\u884c\u3063\u305f\u304b\u3092\u8ffd\u8de1\u53ef\u80fd\u306b\u3059\u308b<\/li>\n<li>\u5916\u90e8\u30ed\u30b0\u30b7\u30b9\u30c6\u30e0\u3068\u9023\u643a\u3059\u308b<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u554f\u984c\u767a\u751f\u6642\u306e\u539f\u56e0\u7279\u5b9a\u304c\u5bb9\u6613\u306b\u306a\u308a\u3001\u5bfe\u5fdc\u306e\u30b9\u30d4\u30fc\u30c9\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>CI\/CD\u3068\u306e\u6574\u5408\u6027\u78ba\u4fdd<\/h3>\n<p>Git\u306e\u5c65\u6b74\u306f\u3001CI\/CD\u3068\u5bc6\u63a5\u306b\u9023\u643a\u3057\u3066\u3044\u307e\u3059\u3002\u524a\u9664\u3084\u5fa9\u5143\u304c\u305d\u306e\u307e\u307e\u30c7\u30d7\u30ed\u30a4\u7d50\u679c\u306b\u5f71\u97ff\u3059\u308b\u305f\u3081\u3001\u6574\u5408\u6027\u306e\u78ba\u4fdd\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u7279\u5b9a\u30b3\u30df\u30c3\u30c8\u306e\u30c7\u30d7\u30ed\u30a4\u5c65\u6b74\u3092\u4fdd\u6301\u3059\u308b<\/li>\n<li>\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u624b\u9806\u3092\u660e\u78ba\u5316\u3059\u308b<\/li>\n<li>\u5c65\u6b74\u5909\u66f4\u6642\u306e\u5f71\u97ff\u7bc4\u56f2\u3092\u4e8b\u524d\u306b\u78ba\u8a8d\u3059\u308b<\/li>\n<\/ul>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u5fa9\u5143\u5f8c\u306e\u4e0d\u6574\u5408\u3092\u9632\u304e\u3001\u5b89\u5b9a\u3057\u305f\u904b\u7528\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u5224\u65ad\u57fa\u6e96\u306e\u660e\u78ba\u5316<\/h3>\n<p>\u73fe\u5834\u3067\u306f\u300c\u3069\u3053\u307e\u3067\u81ea\u5206\u3067\u5bfe\u5fdc\u3059\u308b\u304b\u300d\u3068\u3044\u3046\u5224\u65ad\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3059\u3079\u3066\u3092\u81ea\u529b\u3067\u89e3\u6c7a\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u304b\u3048\u3063\u3066\u30ea\u30b9\u30af\u304c\u9ad8\u307e\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306a\u6761\u4ef6\u306b\u8a72\u5f53\u3059\u308b\u5834\u5408\u306f\u3001\u614e\u91cd\u306a\u5224\u65ad\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u672c\u756a\u74b0\u5883\u306e\u5c65\u6b74\u304c\u95a2\u4fc2\u3057\u3066\u3044\u308b<\/li>\n<li>\u8907\u6570\u30b7\u30b9\u30c6\u30e0\u3068\u9023\u643a\u3057\u3066\u3044\u308b<\/li>\n<li>\u76e3\u67fb\u3084\u8a3c\u8de1\u306e\u8981\u4ef6\u304c\u3042\u308b<\/li>\n<li>\u5fa9\u5143\u5bfe\u8c61\u304c\u7279\u5b9a\u3067\u304d\u3066\u3044\u306a\u3044<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001\u500b\u5225\u306e\u74b0\u5883\u3084\u69cb\u6210\u306b\u5fdc\u3058\u305f\u5224\u65ad\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u4e00\u822c\u8ad6\u306e\u9650\u754c\u3068\u500b\u5225\u5bfe\u5fdc\u306e\u91cd\u8981\u6027<\/h3>\n<p>\u3053\u3053\u307e\u3067\u306e\u5185\u5bb9\u306f\u3001\u3042\u304f\u307e\u3067\u4e00\u822c\u7684\u306a\u6307\u91dd\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u5b9f\u969b\u306e\u73fe\u5834\u3067\u306f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u69cb\u6210\u3001\u904b\u7528\u30eb\u30fc\u30eb\u3001\u30b7\u30b9\u30c6\u30e0\u9023\u643a\u306e\u72b6\u6cc1\u306b\u3088\u3063\u3066\u3001\u6700\u9069\u306a\u5bfe\u5fdc\u306f\u5927\u304d\u304f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u540c\u3058\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u554f\u984c\u3067\u3082\u3001\u5358\u4e00\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u5b8c\u7d50\u3059\u308b\u30b1\u30fc\u30b9\u3068\u3001\u8907\u6570\u30b5\u30fc\u30d3\u30b9\u306b\u307e\u305f\u304c\u308b\u30b1\u30fc\u30b9\u3067\u306f\u3001\u5bfe\u5fdc\u306e\u96e3\u6613\u5ea6\u3068\u30ea\u30b9\u30af\u304c\u307e\u3063\u305f\u304f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u5fa9\u5143\u3084\u518d\u767a\u9632\u6b62\u306e\u8a2d\u8a08\u306f\u3001\u500b\u5225\u6848\u4ef6\u3054\u3068\u306b\u6700\u9069\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u306b\u3001\u4e00\u822c\u7684\u306a\u624b\u9806\u3060\u3051\u3067\u306f\u5bfe\u5fdc\u3057\u304d\u308c\u306a\u3044\u9650\u754c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u6700\u7d42\u7684\u306a\u5224\u65ad\u3068\u9078\u629e<\/h3>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u554f\u984c\u306f\u3001\u300c\u6280\u8853\u7684\u306b\u5fa9\u5143\u3067\u304d\u308b\u304b\u300d\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u300c\u3069\u306e\u65b9\u6cd5\u304c\u6700\u3082\u5b89\u5168\u306b\u53ce\u675f\u3059\u308b\u304b\u300d\u3068\u3044\u3046\u89b3\u70b9\u3067\u5224\u65ad\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u7279\u306b\u3001\u6b21\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3067\u306f\u614e\u91cd\u306a\u5bfe\u5fdc\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5c65\u6b74\u306e\u4e00\u8cab\u6027\u304c\u91cd\u8981\u306a\u30b7\u30b9\u30c6\u30e0<\/li>\n<li>\u5916\u90e8\u76e3\u67fb\u304c\u95a2\u4fc2\u3059\u308b\u74b0\u5883<\/li>\n<li>\u8907\u6570\u30c1\u30fc\u30e0\u3067\u5171\u6709\u3057\u3066\u3044\u308b\u30ea\u30dd\u30b8\u30c8\u30ea<\/li>\n<\/ul>\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3001\u7121\u7406\u306b\u5185\u90e8\u3067\u89e3\u6c7a\u3057\u3088\u3046\u3068\u3059\u308b\u3088\u308a\u3082\u3001\u5c02\u9580\u7684\u306a\u8996\u70b9\u3092\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u3067\u3001\u7d50\u679c\u7684\u306b\u30ea\u30b9\u30af\u3092\u6291\u3048\u305f\u5bfe\u5fdc\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u500b\u5225\u306e\u69cb\u6210\u3084\u72b6\u6cc1\u306b\u5fdc\u3058\u305f\u5224\u65ad\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001<strong>\u682a\u5f0f\u4f1a\u793e\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240<\/strong>\u306e\u3088\u3046\u306a\u5c02\u9580\u5bb6\u3078\u76f8\u8ac7\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u5b89\u5168\u304b\u3064\u78ba\u5b9f\u306a\u5bfe\u5fdc\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u5fa9\u5143\u3060\u3051\u3067\u306a\u304f\u3001\u305d\u306e\u5f8c\u306e\u904b\u7528\u8a2d\u8a08\u3084\u518d\u767a\u9632\u6b62\u307e\u3067\u542b\u3081\u3066\u691c\u8a0e\u3059\u308b\u3053\u3068\u3067\u3001\u9577\u671f\u7684\u306a\u5b89\u5b9a\u904b\u7528\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<style>h1.dai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin-top: 25px; \/* \u4e0a\u306e\u7a7a\u767d\u30922\u500d *\/    margin-bottom: 5px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}h2.fukudai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin-top: 25px; \/* \u4e0a\u306e\u7a7a\u767d\u30922\u500d *\/    margin-bottom: 5px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}.fukudai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin: 0 auto 50px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}.fukudai {    display: inline-block;    font-weight: bold;    border-left: solid 5px #38b3f2;    border-bottom: solid 1px #38b3f2;    margin: 0 auto 50px;    padding: 5px 5px 5px 5px;    font-size: 18px; \/* \u6587\u5b57\u306e\u5927\u304d\u3055\u309218px\u306b\u8a2d\u5b9a *\/}<\/style>\n<h2 class='fukudai'>\u306f\u3058\u3081\u306b<\/h2>\n<p><\/p>\n<p> DVCS\u306e\u91cd\u8981\u6027\u3068\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u306e\u5fc5\u8981\u6027   \u8fd1\u5e74\u3001\u30c7\u30b8\u30bf\u30eb\u5316\u304c\u9032\u3080\u4e2d\u3067\u3001\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\uff08DVCS\uff09\u306e\u5229\u7528\u304c\u5897\u52a0\u3057\u3066\u3044\u307e\u3059\u3002\u7279\u306b\u3001Git\u306f\u305d\u306e\u67d4\u8edf\u6027\u3068\u52b9\u7387\u6027\u304b\u3089\u591a\u304f\u306e\u958b\u767a\u8005\u306b\u652f\u6301\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u306b\u306f\u30ea\u30b9\u30af\u3082\u4f34\u3044\u307e\u3059\u3002\u7279\u306b\u3001\u8aa4\u3063\u3066\u30b3\u30df\u30c3\u30c8\u3092\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092\u5fa9\u5143\u3059\u308b\u3053\u3068\u304c\u96e3\u3057\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u91cd\u8981\u306b\u306a\u308b\u306e\u304c\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u306e\u6280\u8853\u3067\u3059\u3002\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u3068\u306f\u3001\u30c7\u30fc\u30bf\u306e\u4fdd\u5b58\u3084\u7ba1\u7406\u306b\u95a2\u3059\u308b\u8abf\u67fb\u3084\u89e3\u6790\u3092\u884c\u3044\u3001\u5fc5\u8981\u306a\u60c5\u5831\u3092\u53d6\u308a\u51fa\u3059\u624b\u6cd5\u3092\u6307\u3057\u307e\u3059\u3002Git Mirror\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3092\u5fa9\u5143\u3059\u308b\u53ef\u80fd\u6027\u304c\u5e83\u304c\u308a\u307e\u3059\u3002\u3053\u306e\u6280\u8853\u306f\u3001\u30c7\u30fc\u30bf\u306e\u640d\u5931\u3092\u9632\u304e\u3001\u4f01\u696d\u306e\u60c5\u5831\u8cc7\u7523\u3092\u5b88\u308b\u305f\u3081\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001DVCS\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u306e\u91cd\u8981\u6027\u3068\u3001Git Mirror\u3092\u7528\u3044\u305f\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u6d3b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u3001\u5b89\u5fc3\u3057\u3066\u696d\u52d9\u3092\u9032\u3081\u308b\u305f\u3081\u306e\u4e00\u52a9\u3068\u306a\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u307e\u3059\u3002   <\/p>\n<h2 class='fukudai'>Git Mirror\u306e\u57fa\u672c\u3068\u305d\u306e\u5229\u70b9<\/h2>\n<p><\/p>\n<p>Git Mirror\u306f\u3001Git\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5b8c\u5168\u306a\u30b3\u30d4\u30fc\u3092\u4f5c\u6210\u3059\u308b\u624b\u6cd5\u3067\u3001\u4e3b\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3084\u30c7\u30fc\u30bf\u306e\u5197\u9577\u6027\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u5229\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u4f55\u3089\u304b\u306e\u969c\u5bb3\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3067\u3082\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u5b89\u5168\u306b\u30c7\u30fc\u30bf\u3092\u5fa9\u5143\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002Git Mirror\u306e\u5229\u70b9\u306f\u3001\u5358\u306a\u308b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306b\u3068\u3069\u307e\u3089\u305a\u3001\u30c1\u30fc\u30e0\u306e\u5354\u529b\u3092\u4fc3\u9032\u3059\u308b\u70b9\u306b\u3082\u3042\u308a\u307e\u3059\u3002\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u8907\u6570\u306e\u958b\u767a\u8005\u304c\u540c\u6642\u306b\u4f5c\u696d\u3092\u884c\u3044\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u5909\u66f4\u3092\u5171\u6709\u3067\u304d\u308b\u305f\u3081\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9032\u884c\u304c\u30b9\u30e0\u30fc\u30ba\u306b\u306a\u308a\u307e\u3059\u3002  \u3055\u3089\u306b\u3001Git Mirror\u306f\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3084\u30d6\u30e9\u30f3\u30c1\u306e\u5fa9\u5143\u306b\u3082\u5f79\u7acb\u3061\u307e\u3059\u3002\u901a\u5e38\u3001Git\u3067\u306f\u8aa4\u3063\u3066\u30b3\u30df\u30c3\u30c8\u3092\u524a\u9664\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u305d\u306e\u30c7\u30fc\u30bf\u3092\u5fa9\u5143\u3059\u308b\u306e\u304c\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u304c\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3092\u884c\u3063\u3066\u3044\u308c\u3070\u3001\u524a\u9664\u3055\u308c\u305f\u60c5\u5831\u304c\u5225\u306e\u5834\u6240\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u5bb9\u6613\u306b\u53d6\u308a\u623b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3001Git Mirror\u306f\u30c7\u30fc\u30bf\u4fdd\u8b77\u306e\u89b3\u70b9\u304b\u3089\u3082\u975e\u5e38\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u3066\u304a\u308a\u3001\u4f01\u696d\u306b\u304a\u3051\u308b\u60c5\u5831\u8cc7\u7523\u306e\u5b89\u5168\u6027\u3092\u9ad8\u3081\u308b\u624b\u6bb5\u3068\u3057\u3066\u5e83\u304f\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002   <\/p>\n<h2 class='fukudai'>\u30b3\u30df\u30c3\u30c8\u306e\u524a\u9664\u30e1\u30ab\u30cb\u30ba\u30e0\u3068\u305d\u306e\u5f71\u97ff<\/h2>\n<p><\/p>\n<p>Git\u306b\u304a\u3051\u308b\u30b3\u30df\u30c3\u30c8\u306e\u524a\u9664\u306f\u3001\u4e3b\u306b\u300cgit reset\u300d\u3084\u300cgit revert\u300d\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u884c\u308f\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3092\u53d6\u308a\u6d88\u3059\u305f\u3081\u306b\u5229\u7528\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u308c\u305e\u308c\u7570\u306a\u308b\u30e1\u30ab\u30cb\u30ba\u30e0\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u300cgit reset\u300d\u306f\u6307\u5b9a\u3057\u305f\u30b3\u30df\u30c3\u30c8\u4ee5\u964d\u306e\u5168\u3066\u306e\u5909\u66f4\u3092\u53d6\u308a\u6d88\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u72b6\u614b\u3092\u904e\u53bb\u306e\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u306b\u623b\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001\u300cgit revert\u300d\u306f\u6307\u5b9a\u3057\u305f\u30b3\u30df\u30c3\u30c8\u306e\u5909\u66f4\u3092\u6253\u3061\u6d88\u3059\u65b0\u305f\u306a\u30b3\u30df\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u3001\u524a\u9664\u3057\u305f\u30b3\u30df\u30c3\u30c8\u304c\u5b8c\u5168\u306b\u6d88\u3048\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u9069\u5207\u306b\u64cd\u4f5c\u3092\u884c\u3048\u3070\u5fa9\u5143\u304c\u53ef\u80fd\u3067\u3059\u3002  \u3057\u304b\u3057\u3001\u3053\u308c\u3089\u306e\u64cd\u4f5c\u304c\u884c\u308f\u308c\u305f\u5834\u5408\u3001\u7279\u306b\u300cgit reset\u300d\u3092\u4f7f\u7528\u3057\u305f\u5834\u5408\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u306f\u901a\u5e38\u306e\u65b9\u6cd5\u3067\u306f\u898b\u3048\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30e1\u30ab\u30cb\u30ba\u30e0\u304c\u3082\u305f\u3089\u3059\u5f71\u97ff\u306f\u5927\u304d\u304f\u3001\u8aa4\u3063\u3066\u91cd\u8981\u306a\u30c7\u30fc\u30bf\u3092\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u3001\u5fa9\u5143\u304c\u96e3\u3057\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306b\u30c1\u30fc\u30e0\u3067\u306e\u958b\u767a\u74b0\u5883\u3067\u306f\u3001\u4ed6\u306e\u30e1\u30f3\u30d0\u30fc\u304c\u610f\u56f3\u305b\u305a\u306b\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u3082\u3042\u308a\u3001\u305d\u306e\u5f71\u97ff\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u306b\u53ca\u3076\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002  \u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u306f\u3001\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3084Git Mirror\u306e\u6d3b\u7528\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3084\u30d6\u30e9\u30f3\u30c1\u3092\u8fc5\u901f\u306b\u5fa9\u5143\u3067\u304d\u308b\u4f53\u5236\u3092\u6574\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u60c5\u5831\u8cc7\u7523\u306e\u4fdd\u8b77\u306b\u7e4b\u304c\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u5b89\u5168\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u306f\u3001\u524a\u9664\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u7406\u89e3\u3057\u3001\u9069\u5207\u306a\u7ba1\u7406\u624b\u6cd5\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002   <\/p>\n<h2 class='fukudai'>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u6d3b\u30d7\u30ed\u30bb\u30b9<\/h2>\n<p><\/p>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u6d3b\u30d7\u30ed\u30bb\u30b9\u306f\u3001Git Mirror\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u6bd4\u8f03\u7684\u30b9\u30e0\u30fc\u30ba\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305a\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u304c\u5b58\u5728\u3059\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3053\u306e\u78ba\u8a8d\u306f\u3001Git\u306e\u300cgit reflog\u300d\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u884c\u3048\u307e\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u64cd\u4f5c\u5c65\u6b74\u3092\u8868\u793a\u3057\u3001\u904e\u53bb\u306b\u884c\u3063\u305f\u5168\u3066\u306e\u30b3\u30df\u30c3\u30c8\u3084\u30ea\u30bb\u30c3\u30c8\u306e\u60c5\u5831\u3092\u8ffd\u8de1\u3067\u304d\u307e\u3059\u3002  \u6b21\u306b\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3092\u7279\u5b9a\u3057\u305f\u3089\u3001\u305d\u306e\u30b3\u30df\u30c3\u30c8ID\u3092\u5143\u306b\u5fa9\u5143\u4f5c\u696d\u3092\u9032\u3081\u307e\u3059\u3002\u300cgit cherry-pick\u300d\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u3092\u518d\u9069\u7528\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u6307\u5b9a\u3057\u305f\u30b3\u30df\u30c3\u30c8\u306e\u5909\u66f4\u3092\u73fe\u5728\u306e\u30d6\u30e9\u30f3\u30c1\u306b\u9069\u7528\u3059\u308b\u305f\u3081\u3001\u524a\u9664\u3055\u308c\u305f\u5185\u5bb9\u3092\u5fa9\u6d3b\u3055\u305b\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002  \u3055\u3089\u306b\u3001\u3082\u3057\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u304c\u4ed6\u306e\u30d6\u30e9\u30f3\u30c1\u306b\u5b58\u5728\u3059\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u3066\u3001\u5fc5\u8981\u306a\u5909\u66f4\u3092\u30de\u30fc\u30b8\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u524a\u9664\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u5b8c\u5168\u306b\u5fa9\u5143\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002\u5fa9\u5143\u5f8c\u306f\u3001\u5909\u66f4\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u518d\u5ea6\u30b3\u30df\u30c3\u30c8\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u4e00\u8cab\u6027\u3092\u4fdd\u3064\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002  \u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u901a\u3058\u3066\u3001Git Mirror\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3092\u52b9\u679c\u7684\u306b\u5fa9\u6d3b\u3055\u305b\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9032\u884c\u306b\u652f\u969c\u3092\u304d\u305f\u3055\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u640d\u5931\u3092\u9632\u304e\u3001\u30c1\u30fc\u30e0\u5168\u4f53\u306e\u4f5c\u696d\u52b9\u7387\u3092\u5411\u4e0a\u3055\u305b\u308b\u305f\u3081\u306b\u3082\u3001\u5b9a\u671f\u7684\u306a\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3092\u884c\u3046\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002   <\/p>\n<h2 class='fukudai'>\u5b9f\u8df5\u7684\u306a\u5fa9\u6d3b\u624b\u6cd5\u3068\u30c4\u30fc\u30eb\u306e\u7d39\u4ecb<\/h2>\n<p><\/p>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u6d3b\u306b\u306f\u3001Git Mirror\u3092\u6d3b\u7528\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u3044\u304f\u3064\u304b\u306e\u5b9f\u8df5\u7684\u306a\u624b\u6cd5\u3084\u30c4\u30fc\u30eb\u3082\u5f79\u7acb\u3061\u307e\u3059\u3002\u307e\u305a\u3001Git\u306e\u300creflog\u300d\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u904e\u53bb\u306e\u30b3\u30df\u30c3\u30c8\u5c65\u6b74\u3092\u78ba\u8a8d\u3057\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u3067\u884c\u308f\u308c\u305f\u5168\u3066\u306e\u64cd\u4f5c\u3092\u8ffd\u8de1\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u8aa4\u3063\u3066\u524a\u9664\u3057\u305f\u30b3\u30df\u30c3\u30c8\u3082\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002  \u6b21\u306b\u3001\u5fa9\u5143\u4f5c\u696d\u3092\u5186\u6ed1\u306b\u9032\u3081\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3068\u3057\u3066\u300cGit GUI\u300d\u3084\u300cSourceTree\u300d\u306a\u3069\u306e\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u6301\u3064Git\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30c4\u30fc\u30eb\u306f\u3001\u8996\u899a\u7684\u306b\u30b3\u30df\u30c3\u30c8\u5c65\u6b74\u3092\u8868\u793a\u3057\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3092\u7c21\u5358\u306b\u898b\u3064\u3051\u51fa\u3059\u624b\u52a9\u3051\u3092\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u64cd\u4f5c\u304c\u76f4\u611f\u7684\u3067\u3042\u308b\u305f\u3081\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u4e0d\u5b89\u304c\u3042\u308b\u65b9\u3067\u3082\u5b89\u5fc3\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002  \u3055\u3089\u306b\u3001\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u884c\u3046\u305f\u3081\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3082\u691c\u8a0e\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30df\u30b9\u3092\u672a\u7136\u306b\u9632\u304e\u3001\u5e38\u306b\u6700\u65b0\u306e\u72b6\u614b\u3067\u30c7\u30fc\u30bf\u3092\u4fdd\u8b77\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Cron\u30b8\u30e7\u30d6\u3092\u8a2d\u5b9a\u3057\u3001\u5b9a\u671f\u7684\u306bGit Mirror\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u5197\u9577\u6027\u3092\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002  \u3053\u308c\u3089\u306e\u624b\u6cd5\u3084\u30c4\u30fc\u30eb\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3092\u8fc5\u901f\u304b\u3064\u52b9\u679c\u7684\u306b\u5fa9\u5143\u3059\u308b\u4f53\u5236\u3092\u6574\u3048\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u306f\u3001\u65e5\u9803\u304b\u3089\u306e\u6e96\u5099\u3068\u9069\u5207\u306a\u30c4\u30fc\u30eb\u306e\u6d3b\u7528\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002   <\/p>\n<h2 class='fukudai'>\u30b1\u30fc\u30b9\u30b9\u30bf\u30c7\u30a3\uff1a\u6210\u529f\u4e8b\u4f8b\u3068\u6559\u8a13<\/h2>\n<p><\/p>\n<p>\u30b1\u30fc\u30b9\u30b9\u30bf\u30c7\u30a3\u3068\u3057\u3066\u3001\u3042\u308b\u4f01\u696d\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30c1\u30fc\u30e0\u304cGit Mirror\u3092\u6d3b\u7528\u3057\u3066\u524a\u9664\u30b3\u30df\u30c3\u30c8\u3092\u5fa9\u5143\u3057\u305f\u6210\u529f\u4e8b\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3053\u306e\u4f01\u696d\u3067\u306f\u3001\u958b\u767a\u30c1\u30fc\u30e0\u304c\u65b0\u6a5f\u80fd\u306e\u5b9f\u88c5\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3057\u305f\u304c\u3001\u8aa4\u3063\u3066\u91cd\u8981\u306a\u30b3\u30df\u30c3\u30c8\u3092\u524a\u9664\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9032\u884c\u306b\u5927\u304d\u306a\u5f71\u97ff\u3092\u53ca\u307c\u3059\u53ef\u80fd\u6027\u304c\u3042\u3063\u305f\u305f\u3081\u3001\u8fc5\u901f\u306a\u5bfe\u5fdc\u304c\u6c42\u3081\u3089\u308c\u307e\u3057\u305f\u3002  \u307e\u305a\u3001\u30c1\u30fc\u30e0\u306fGit Mirror\u3092\u5229\u7528\u3057\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u306f\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u305f\u305f\u3081\u3001\u30c1\u30fc\u30e0\u306f\u300cgit reflog\u300d\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u306eID\u3092\u7279\u5b9a\u3057\u307e\u3057\u305f\u3002\u6b21\u306b\u3001\u300cgit cherry-pick\u300d\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\u3001\u5fc5\u8981\u306a\u5909\u66f4\u3092\u73fe\u5728\u306e\u30d6\u30e9\u30f3\u30c1\u306b\u518d\u9069\u7528\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u30b9\u30e0\u30fc\u30ba\u306b\u9032\u884c\u3057\u3001\u524a\u9664\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306f\u7121\u4e8b\u306b\u5fa9\u5143\u3055\u308c\u307e\u3057\u305f\u3002  \u3053\u306e\u30b1\u30fc\u30b9\u304b\u3089\u5f97\u3089\u308c\u305f\u6559\u8a13\u306f\u3001\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u91cd\u8981\u6027\u3068\u3001Git Mirror\u306e\u6d3b\u7528\u304c\u30c7\u30fc\u30bf\u4fdd\u8b77\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u6709\u52b9\u3067\u3042\u308b\u3053\u3068\u3067\u3059\u3002\u7279\u306b\u3001\u30c1\u30fc\u30e0\u5168\u4f53\u3067\u306e\u60c5\u5831\u5171\u6709\u3084\u30df\u30b9\u306e\u65e9\u671f\u767a\u898b\u304c\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u6210\u529f\u306b\u7e4b\u304c\u308b\u3053\u3068\u3092\u5b9f\u611f\u3057\u307e\u3057\u305f\u3002\u4eca\u5f8c\u3082\u3053\u306e\u4f01\u696d\u306f\u3001Git Mirror\u3092\u6d3b\u7528\u3057\u3001\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u3066\u3044\u304f\u65b9\u91dd\u3067\u3059\u3002   <\/p>\n<h2 class='fukudai'>DVCS\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u306e\u4fa1\u5024\u3068\u4eca\u5f8c\u306e\u5c55\u671b<\/h2>\n<p><\/p>\n<p>DVCS\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u306f\u3001\u30c7\u30b8\u30bf\u30eb\u30c7\u30fc\u30bf\u306e\u4fdd\u8b77\u3068\u5fa9\u5143\u306b\u304a\u3044\u3066\u975e\u5e38\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u3066\u3044\u307e\u3059\u3002\u7279\u306b\u3001Git Mirror\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u3092\u8fc5\u901f\u304b\u3064\u78ba\u5b9f\u306b\u5fa9\u5143\u3067\u304d\u308b\u624b\u6bb5\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u30c1\u30fc\u30e0\u306f\u8aa4\u3063\u305f\u64cd\u4f5c\u306b\u3088\u308b\u30c7\u30fc\u30bf\u640d\u5931\u306e\u30ea\u30b9\u30af\u3092\u8efd\u6e1b\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9032\u884c\u3092\u30b9\u30e0\u30fc\u30ba\u306b\u4fdd\u3064\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u5b9a\u671f\u7684\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3084\u9069\u5207\u306a\u30c4\u30fc\u30eb\u306e\u6d3b\u7528\u306f\u3001\u30c7\u30fc\u30bf\u7ba1\u7406\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u305f\u3081\u306b\u4e0d\u53ef\u6b20\u3067\u3059\u3002  \u4eca\u5f8c\u306e\u5c55\u671b\u3068\u3057\u3066\u306f\u3001\u30c7\u30b8\u30bf\u30eb\u5316\u306e\u9032\u5c55\u306b\u4f34\u3044\u3001\u30c7\u30fc\u30bf\u306e\u91cd\u8981\u6027\u306f\u307e\u3059\u307e\u3059\u9ad8\u307e\u308b\u4e00\u65b9\u3067\u3059\u3002\u4f01\u696d\u306f\u3001\u30c7\u30fc\u30bf\u4fdd\u8b77\u306b\u5bfe\u3059\u308b\u610f\u8b58\u3092\u4e00\u5c64\u5f37\u5316\u3057\u3001DVCS\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u306e\u6280\u8853\u3092\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u3067\u3001\u60c5\u5831\u8cc7\u7523\u306e\u5b89\u5168\u6027\u3092\u78ba\u4fdd\u3057\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u640d\u5931\u3092\u9632\u304e\u3001\u696d\u52d9\u306e\u7d99\u7d9a\u6027\u3092\u7dad\u6301\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002\u30c7\u30b8\u30bf\u30eb\u6642\u4ee3\u306b\u304a\u3044\u3066\u3001\u4fe1\u983c\u3067\u304d\u308b\u30c7\u30fc\u30bf\u7ba1\u7406\u4f53\u5236\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u306f\u3001\u4f01\u696d\u306e\u7af6\u4e89\u529b\u3092\u9ad8\u3081\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3068\u8a00\u3048\u307e\u3059\u3002   <\/p>\n<h2 class='fukudai'>\u3042\u306a\u305f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306eDVCS\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u306e\u5b9f\u8df5\u3092\u59cb\u3081\u3088\u3046<\/h2>\n<p><\/p>\n<p>\u3042\u306a\u305f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u304a\u3044\u3066\u3001DVCS\u30d5\u30a9\u30ec\u30f3\u30b8\u30c3\u30af\u3092\u5b9f\u8df5\u3059\u308b\u3053\u3068\u306f\u3001\u30c7\u30fc\u30bf\u306e\u5b89\u5168\u6027\u3092\u9ad8\u3081\u3001\u30c1\u30fc\u30e0\u306e\u751f\u7523\u6027\u3092\u5411\u4e0a\u3055\u305b\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002\u307e\u305a\u306f\u3001Git Mirror\u3092\u6d3b\u7528\u3057\u305f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u4f53\u5236\u3092\u6574\u3048\u3001\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u30ea\u30b9\u30af\u3092\u8efd\u6e1b\u3057\u307e\u3057\u3087\u3046\u3002\u307e\u305f\u3001\u5b9a\u671f\u7684\u306a\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3092\u901a\u3058\u3066\u3001\u30c1\u30fc\u30e0\u5168\u54e1\u304cGit\u306e\u64cd\u4f5c\u3084\u30c7\u30fc\u30bf\u5fa9\u5143\u306e\u624b\u6cd5\u3092\u7406\u89e3\u3057\u3001\u8fc5\u901f\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u5927\u5207\u3067\u3059\u3002\u3055\u3089\u306b\u3001\u9069\u5207\u306a\u30c4\u30fc\u30eb\u3084\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u3067\u3001\u65e5\u5e38\u7684\u306a\u30c7\u30fc\u30bf\u7ba1\u7406\u3092\u52b9\u7387\u5316\u3057\u3001\u4e07\u304c\u4e00\u306e\u969b\u306b\u3082\u5b89\u5fc3\u3057\u3066\u5bfe\u5fdc\u3067\u304d\u308b\u4f53\u5236\u3092\u7bc9\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306e\u4fdd\u8b77\u306f\u4f01\u696d\u306e\u7af6\u4e89\u529b\u3092\u9ad8\u3081\u308b\u8981\u7d20\u3067\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u4eca\u3059\u3050\u306b\u3067\u3082\u53d6\u308a\u7d44\u307f\u3092\u59cb\u3081\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002\u4fe1\u983c\u3067\u304d\u308b\u30c7\u30fc\u30bf\u7ba1\u7406\u4f53\u5236\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3067\u3001\u3042\u306a\u305f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u6b21\u306e\u30ec\u30d9\u30eb\u3078\u3068\u5f15\u304d\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002   <\/p>\n<h2 class='fukudai'>\u5fa9\u6d3b\u4f5c\u696d\u306b\u304a\u3051\u308b\u30ea\u30b9\u30af\u3068\u6ce8\u610f\u3059\u3079\u304d\u30dd\u30a4\u30f3\u30c8<\/h2>\n<p><\/p>\n<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u306e\u5fa9\u6d3b\u4f5c\u696d\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u30ea\u30b9\u30af\u3084\u6ce8\u610f\u70b9\u304c\u5b58\u5728\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u5fa9\u5143\u4f5c\u696d\u3092\u884c\u3046\u969b\u306b\u306f\u3001\u5fc5\u305a\u6700\u65b0\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u8aa4\u3063\u3066\u53e4\u3044\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6700\u65b0\u306e\u5909\u66f4\u304c\u5931\u308f\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u5fa9\u5143\u3059\u308b\u969b\u306b\u306f\u3001\u4ed6\u306e\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3068\u9023\u643a\u3092\u53d6\u308a\u3001\u4f5c\u696d\u306e\u9032\u884c\u72b6\u6cc1\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u610f\u56f3\u3057\u306a\u3044\u30c7\u30fc\u30bf\u306e\u4e0a\u66f8\u304d\u3084\u518d\u524a\u9664\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002  \u3055\u3089\u306b\u3001\u5fa9\u5143\u4f5c\u696d\u3092\u884c\u3046\u74b0\u5883\u306f\u3001\u3067\u304d\u308b\u3060\u3051\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u306f\u7570\u306a\u308b\u5834\u6240\u3067\u884c\u3046\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4e07\u304c\u4e00\u306e\u5931\u6557\u304c\u30aa\u30ea\u30b8\u30ca\u30eb\u30c7\u30fc\u30bf\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3059\u30ea\u30b9\u30af\u3092\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u5fa9\u5143\u306b\u4f7f\u7528\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3084\u624b\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4e8b\u524d\u306b\u5341\u5206\u306a\u7406\u89e3\u3092\u6df1\u3081\u3066\u304a\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u7279\u306b\u3001\u8aa4\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30c7\u30fc\u30bf\u304c\u3055\u3089\u306b\u640d\u5931\u3059\u308b\u6050\u308c\u304c\u3042\u308a\u307e\u3059\u3002  \u6700\u5f8c\u306b\u3001\u5fa9\u5143\u4f5c\u696d\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u306f\u3001\u5fc5\u305a\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u518d\u5ea6\u30b3\u30df\u30c3\u30c8\u3092\u884c\u3046\u3053\u3068\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u4e00\u8cab\u6027\u3092\u4fdd\u3061\u3064\u3064\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u9032\u884c\u306b\u652f\u969c\u3092\u304d\u305f\u3055\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u5fa9\u65e7\u306f\u614e\u91cd\u306b\u884c\u3046\u3079\u304d\u4f5c\u696d\u3067\u3042\u308a\u3001\u6b63\u3057\u3044\u624b\u9806\u3092\u8e0f\u3080\u3053\u3068\u3067\u3001\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002  <\/p>\n<h2 class='fukudai'>\u88dc\u8db3\u60c5\u5831<\/h2>\n<p><\/p>\n<p>\u203b\u682a\u5f0f\u4f1a\u793e\u60c5\u5831\u5de5\u5b66\u7814\u7a76\u6240\u306f\uff08\u4ee5\u4e0b\u3001\u5f53\u793e\uff09\u306f\u3001\u7d30\u5fc3\u306e\u6ce8\u610f\u3092\u6255\u3063\u3066\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u60c5\u5831\u3092\u63b2\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u60c5\u5831\u306e\u6b63\u78ba\u6027\u304a\u3088\u3073\u5b8c\u5168\u6027\u3092\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f53\u793e\u306f\u4e88\u544a\u306a\u3057\u306b\u3001\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5f53\u793e\u304a\u3088\u3073\u305d\u306e\u95a2\u9023\u4f1a\u793e\u306f\u3001\u304a\u5ba2\u3055\u307e\u304c\u5f53\u793e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u542b\u307e\u308c\u308b\u60c5\u5831\u3082\u3057\u304f\u306f\u5185\u5bb9\u3092\u3054\u5229\u7528\u3055\u308c\u305f\u3053\u3068\u3067\u76f4\u63a5\u30fb\u9593\u63a5\u7684\u306b\u751f\u3058\u305f\u640d\u5931\u306b\u95a2\u3057\u4e00\u5207\u8cac\u4efb\u3092\u8ca0\u3046\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524a\u9664\u30b3\u30df\u30c3\u30c8\u5fa9\u6d3b\u306e\u5168\u4f53\u50cf\uff08Git Mirror\uff09 \u554f\u984c Mirror\u4e0a\u3067\u306f\u524a\u9664\u3055\u308c\u305f\u30b3\u30df\u30c3\u30c8\u304c\u898b\u3048\u305a\u3001\u5c65\u6b74\u304c\u6d88\u3048\u305f\u3088\u3046\u306b\u898b\u3048\u308b \u539f\u56e0 \u53c2\u7167\uff08refs\uff09\u306e\u6d88\u5931\u30fbGC\u30fbreflog\u671f\u9650\u5207\u308c\u306b\u3088\u308a\u53c2\u7167\u7d4c\u8def\u304c\u65ad\u305f\u308c\u3066\u3044\u308b \u89e3\u6c7a\u7b56 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"","site-content-layout":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[39],"tags":[40,42,47],"class_list":["post-37741","post","type-post","status-publish","format-standard","hentry","category-39","tag-40","tag-42","tag-47"],"_links":{"self":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts\/37741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37741"}],"version-history":[{"count":2,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts\/37741\/revisions"}],"predecessor-version":[{"id":69294,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=\/wp\/v2\/posts\/37741\/revisions\/69294"}],"wp:attachment":[{"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jouhou.main.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}