{"id":33108,"date":"2025-05-16T21:05:57","date_gmt":"2025-05-17T00:05:57","guid":{"rendered":"https:\/\/mastertrend.info\/?p=33108"},"modified":"2026-04-28T13:19:08","modified_gmt":"2026-04-28T16:19:08","slug":"github%e3%81%ae%e3%83%89%e3%83%83%e3%83%88%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab","status":"publish","type":"post","link":"https:\/\/mastertrend.info\/ja\/dotfiles-en-github\/","title":{"rendered":"GitHub \u306e Dotfiles: Linux \u3092\u7c21\u5358\u304b\u3064\u8fc5\u901f\u306b\u7ba1\u7406\u3057\u307e\u3057\u3087\u3046! \ud83d\ude80\ud83d\udcbb"},"content":{"rendered":"<h2>GitHub \u306e Dotfiles: \u6642\u9593\u3092\u7121\u99c4\u306b\u3057\u306a\u3044 3 \u3064\u306e\u7406\u7531 \u23f3\ud83d\udd25<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/mastertrend.info\/wp-content\/uploads\/2025\/01\/Por-que-deberias-mantener-todos-tus-dotfiles-de-Linux-en.jpg\" alt=\"\" title=\"\"><\/p>\n<div>\n<section class=\"emaki-custom-block emaki-custom-key-points\">\n<div id=\"custom_block_0\" class=\"emaki-custom key-points\">\n<h3 class=\"title icon i-list\">\u307e\u3068\u3081<\/h3>\n<div class=\"custom_block-content key-points\">\n<ul>\n<li>Git \u3092\u4f7f\u7528\u3057\u3066\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7ba1\u7406\u3059\u308b\u3068\u3001\u6642\u9593\u3092\u7bc0\u7d04\u3067\u304d\u3001\u5805\u7262\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7 \u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002 \u23f3<\/li>\n<li>\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092 git \u306a\u3069\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0 (VCS) \u306b\u4fdd\u5b58\u3059\u308b\u3068\u3001\u8907\u6570\u306e\u30de\u30b7\u30f3\u9593\u3067\u4e00\u8cab\u3057\u305f\u69cb\u6210\u304c\u78ba\u4fdd\u3055\u308c\u307e\u3059\u3002 \ud83d\udcbb<\/li>\n<li>GitHub \u3092\u4f7f\u7528\u3057\u3066\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30db\u30b9\u30c8\u3059\u308b\u3068\u3001\u5171\u6709\u3068\u5171\u540c\u4f5c\u696d\u304c\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002 \ud83e\udd1d<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/section>\n<p><!-- No se inyectan anuncios por estar en modo sin anuncios. --><\/p>\n<p>\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30a2\u30af\u30bb\u30b9\u3057\u3084\u3059\u304f\u5f37\u529b\u306a\u65b9\u6cd5\u3067\u3059 <a href=\"https:\/\/mastertrend.info\/ja\/ubuntu%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e6%94%b9%e5%96%84\/\" title=\"Ubuntu\u306e\u8a2d\u5b9a\u3067\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u5411\u4e0a\uff1a7\u3064\u306e\u79d8\u5bc6\u3092\u5b66\u3076\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"6359\">Linux\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u6210\u3059\u308b<\/a>\u3057\u304b\u3057\u3001\u3069\u3046\u3059\u308c\u3070\u305d\u308c\u3089\u3092\u3059\u3079\u3066\u8ffd\u8de1\u3057\u3001\u5fc5\u8981\u306a\u3068\u304d\u306b\u518d\u5229\u7528\u3067\u304d\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1fGit\u3092\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\ud83d\ude80<\/p>\n<p><!-- No se inyectan anuncios por estar en modo sin anuncios. --><\/p>\n<h2 id=\"what-are-dotfiles\">\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3068\u306f\u4f55\u3067\u3059\u304b?<\/h2>\n<p>\u3067 <a class=\"wpil_keyword_link\" href=\"https:\/\/mastertrend.info\/ja\/llinux-%e3%81%ae%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e6%a7%8b%e9%80%a0\/\" target=\"_blank\"  rel=\"noopener\" title=\"Linux\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306e\u8aac\u660e\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"32833\">\u30ea\u30ca\u30c3\u30af\u30b9<\/a>, cualquier archivo cuyo nombre comience con un \u00ab.\u00bb es un archivo oculto. Por defecto, no se mostrar\u00e1 en tu gestor de archivos ni en un listado de comandos en la terminal.<\/p>\n<p>\u4e00\u90e8\u306e Linux \u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u8a2d\u5b9a\u306b\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u30db\u30fc\u30e0 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u8a2d\u5b9a\u304c\u90aa\u9b54\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u3057\u306a\u304c\u3089\u3082\u3001\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u72b6\u614b\u3092\u4fdd\u3064\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u4fbf\u5229\u306a\u8a2d\u5b9a\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u306f\u30d7\u30ec\u30fc\u30f3\u30c6\u30ad\u30b9\u30c8 \u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001\u7c21\u5358\u306b\u8aad\u307f\u53d6\u308a\u3001\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001Linux \u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3 \u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u30b7\u30b9\u30c6\u30e0\u8a2d\u5b9a\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u822c\u7684\u306a\u4f8b\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>.bashrc\u3001.zshrc<\/li>\n<li>.exrc<\/li>\n<li>.gitconfig<\/li>\n<li>.npmrc<\/li>\n<\/ul>\n<h2 id=\"how-can-git-or-github-help\">Git \u307e\u305f\u306f GitHub \u306f\u3069\u306e\u3088\u3046\u306b\u5f79\u7acb\u3061\u307e\u3059\u304b?<\/h2>\n<p>\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306f\u7d20\u6674\u3089\u3057\u3044\u3067\u3059\u304c\u3001\u30b7\u30b9\u30c6\u30e0\u56fa\u6709\u3067\u3059\u3002\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u3092\u4ea4\u63db\u3057\u305f\u308a\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u30c7\u30d0\u30a4\u30b9\u3092\u4f7f\u7528\u3057\u305f\u308a\u3001\u30ea\u30e2\u30fc\u30c8 \u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u3059\u3079\u3066\u3092\u518d\u5ea6\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Almacenar tus dotfiles en un VCS (Sistema de <a href=\"https:\/\/mastertrend.info\/ja\/git%e3%81%a8github\/\" title=\"Git vs GitHub: \u4eca\u65e5\u306f\u3069\u3061\u3089\u3092\u9078\u3076\u3079\u304d\u3067\u3057\u3087\u3046\u304b? \ud83d\udd25\" target=\"_blank\" rel=\"noopener\"  data-wpil-monitor-id=\"34632\">Control de Versiones<\/a>) puede ayudarte a evitar esta tarea repetitiva, permiti\u00e9ndote reutilizar instant\u00e1neamente tu configuraci\u00f3n en otra m\u00e1quina. Solo tienes que clonar tu repositorio y obtendr\u00e1s los mismos alias de shell, temas familiares y un comportamiento consistente. \ud83d\udd04<\/p>\n<p>\u3055\u3089\u306b\u3001\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092 git \u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u306f\u3001\u5f37\u529b\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7 \u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306a\u308a\u307e\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5c65\u6b74\u3092\u78ba\u8a8d\u3057\u3066\u3001\u7279\u5b9a\u306e\u8a2d\u5b9a\u3092\u3044\u3064\u3001\u306a\u305c\u5909\u66f4\u3057\u305f\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u5171\u540c\u4f5c\u696d\u74b0\u5883\u3067\u306f\u3001Git \u7d4c\u7531\u3067\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3057\u3001\u30c1\u30fc\u30e0\u5168\u54e1\u304c\u4e00\u8cab\u3057\u305f\u74b0\u5883\u3092\u6301\u3066\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 \ud83d\udc65<\/p>\n<p>\u3053\u306e\u70b9\u3067\u306f\u3001GitHub \u304c\u6700\u9ad8\u3067\u3059\u3002 Git \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30db\u30b9\u30c8\u3059\u308b\u5225\u306e\u5834\u6240\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u3082\u3061\u308d\u3093\u305d\u308c\u3082\u53ef\u80fd\u3067\u3059\u304c\u3001GitHub \u3092\u4f7f\u7528\u3059\u308b\u3068\u306f\u308b\u304b\u306b\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002 \ud83c\udf10<\/p>\n<h2 id=\"the-best-way-of-managing-your-dotfiles-with-git-and-github\">Git\u3068GitHub\u3067\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7ba1\u7406\u3059\u308b\u6700\u826f\u306e\u65b9\u6cd5<\/h2>\n<p>\u307e\u305a\u3001\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092 git \u306b\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5\u306f\u3069\u308c\u3082\u5927\u304d\u306a\u5229\u70b9\u306b\u306a\u308b\u3053\u3068\u3092\u7406\u89e3\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u5177\u4f53\u7684\u306a\u8a73\u7d30\u304c\u3042\u308a\u307e\u3059\u304c\u3001Git \u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3001\u66f4\u65b0\u3057\u3066\u53d6\u5f97\u3067\u304d\u308b\u5834\u5408\u306f\u3001\u3053\u306e\u65b9\u6cd5\u3067\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7ba1\u7406\u3059\u308b\u3053\u3068\u304b\u3089\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u304c\u5f97\u3089\u308c\u307e\u3059\u3002 \ud83d\udcc8<\/p>\n<p>\u305f\u3060\u3057\u3001\u6b21\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u3067\u5e83\u304f\u63a8\u5968\u3055\u308c\u3066\u304a\u308a\u3001\u79c1\u306e\u5834\u5408\u306f\u6709\u52b9\u3067\u3059\u3002\u3053\u306e\u7279\u5b9a\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u3001\u6700\u5c0f\u9650\u306e\u52b4\u529b\u3067\u3059\u3079\u3066\u3092\u540c\u671f\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \ud83e\udd13<\/p>\n<h3 id=\"set-up-a-bare-repository-and-some-scaffolding\">\u57fa\u672c\u7684\u306a\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u69cb\u9020\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n<p>\u30db\u30fc\u30e0 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f\u3001dotfiles \u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u4e0d\u8981\u306a\u3082\u306e\u304c\u591a\u6570\u542b\u307e\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u305f\u3081\u3001\u6a19\u6e96\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u907f\u3051\u308b\u306e\u304c\u6700\u5584\u3067\u3059\u3002\u4ee3\u308f\u308a\u306b\u3001\u57fa\u672c\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002 \ud83c\udfd7\ufe0f<\/p>\n<p>\u57fa\u672c\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u901a\u5e38\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 \u30d5\u30a1\u30a4\u30eb\u306f\u542b\u307e\u308c\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u5c65\u6b74\u3092\u8a18\u8ff0\u3059\u308b git \u30e1\u30bf\u30c7\u30fc\u30bf\u306f\u3059\u3079\u3066\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u81ea\u4f53\u306f\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u306f\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u4ed6\u306e\u5834\u6240\u306b\u5b58\u5728\u3067\u304d\u3001\u305d\u308c\u3089\u3092\u5236\u5fa1\u3059\u308b\u306b\u306f\u30d9\u30fc\u30b9 \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u307f\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u65b0\u3057\u3044\u5834\u6240\u306b\u57fa\u672c\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4f8b:<\/p>\n<pre><code class=\"hljs bash\">mkdir <span class=\"hljs-variable\">$HOME<\/span>\/.dotfiles git init --bare <span class=\"hljs-variable\">$HOME<\/span>\/.dot\u30d5\u30a1\u30a4\u30eb\r\n<\/code><\/pre>\n<p>\u3053\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u4f5c\u696d\u3059\u308b\u5834\u5408\u3001\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea (\u30d5\u30a1\u30a4\u30eb\u7528) \u3068 git \u30c7\u30a3\u30ec\u30af\u30c8\u30ea (\u30ea\u30dd\u30b8\u30c8\u30ea\u81ea\u4f53\u7528) \u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"hljs bash\">git --work-tree=<span class=\"hljs-variable\">$HOME<\/span> --git-dir=<span class=\"hljs-variable\">$HOME<\/span>\/.dotfiles ...\r\n<\/code><\/pre>\n<p>Git \u3092\u4f7f\u7528\u3059\u308b\u305f\u3073\u306b\u3053\u308c\u3092\u5165\u529b\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u306e\u304c\u5408\u7406\u7684\u3067\u3059\u3002\u30d9\u30fc\u30b9 \u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u3001\u4efb\u610f\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"hljs bash\"><span class=\"hljs-built_in\">\u30a8\u30a4\u30ea\u30a2\u30b9<\/span> \u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb=<span class=\"hljs-string\">&quot;\/usr\/bin\/git --git-dir=<span class=\"hljs-variable\">$HOME<\/span>\/.dotfiles --work-tree=<span class=\"hljs-variable\">$HOME<\/span>\"<\/span> \r\n<\/code><\/pre>\n<h3 id=\"store-your-dotfiles\">\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b<\/h3>\n<p>\u307e\u305a\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3059\u308b\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u7279\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u958b\u59cb\u3057\u307e\u3059\u3002 <a title=\"systemctl: Linux \u3092 12 \u30b9\u30c6\u30c3\u30d7\u3067\u5b8c\u5168\u306b\u5236\u5fa1\u3059\u308b\" href=\"https:\/\/mastertrend.info\/ja\/%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0ctl\/\" target=\"_blank\" rel=\"noopener\" data-wpil-monitor-id=\"5760\">\u30d5\u30a1\u30a4\u30eb\u3092\u7ba1\u7406\u3059\u308b<\/a> .bashrc \u306e\u5834\u5408\u3001\u305f\u3068\u3048\u3070\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"hljs bash\"><span class=\"hljs-built_in\">CD<\/span>\u00a0<span class=\"hljs-variable\">$HOME<\/span>\r\n\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0 .bashrc \u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30df\u30c3\u30c8 -m <span class=\"hljs-string\">\u300cBash\u5b9f\u884c\u5236\u5fa1\u30d5\u30a1\u30a4\u30eb\u300d<\/span>\r\n<\/code><\/pre>\n<p>Aparte de usar el alias dotfiles en lugar del <a class=\"wpil_keyword_link\" href=\"https:\/\/mastertrend.info\/ja\/10-%e5%80%8b%e3%81%ae%e5%9f%ba%e6%9c%ac%e7%9a%84%e3%81%aa-git-%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89\/\" target=\"_blank\" rel=\"noopener\" title=\"\u958b\u767a\u8005\u306b\u5fc5\u8981\u306a 10 \u500b\u306e\u57fa\u672c\u7684\u306a Git \u30b3\u30de\u30f3\u30c9 \ud83d\udda5\ufe0f\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"6981\">comando git<\/a> com\u00fan, puedes utilizar git para rastrear estos archivos tal como lo har\u00edas normalmente. Esta forma es en realidad un poco m\u00e1s f\u00e1cil porque puedes ejecutar un comando como \u00abdotfiles log\u00bb desde cualquier directorio. \ud83d\udcdc<\/p>\n<h3 id=\"upload-your-repository-to-github\">\u30ea\u30dd\u30b8\u30c8\u30ea\u3092GitHub\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b<\/h3>\n<p>GitHub \u306e\u3088\u3046\u306a\u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30db\u30b9\u30c8\u3059\u308b\u3068\u4fbf\u5229\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u7279\u306b\u7570\u306a\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u306e\u30de\u30b7\u30f3\u304b\u3089\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u7c21\u5358\u306b\u5171\u6709\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u65e2\u5b58\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3082\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>Comienza en la p\u00e1gina Crear un Nuevo Repositorio.<\/li>\n<li>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d1\u30d6\u30ea\u30c3\u30af \u30ea\u30dd\u30b8\u30c8\u30ea\u307e\u305f\u306f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u304a\u305d\u3089\u304f\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u304c\u6700\u9069\u3067\u3059 (\u4e0b\u8a18\u53c2\u7167)\u3002<\/li>\n<li>\u300c\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u624b\u9806\u3092\u793a\u3059\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u65e2\u5b58\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u306b\u306f\u3001\u6b21\u306e 2 \u3064\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre><code class=\"hljs bash\">dotfiles \u30ea\u30e2\u30fc\u30c8\u8ffd\u52a0 origin https:\/\/github.com\/\/.git dotfiles push -u origin main\r\n<\/code><\/pre>\n<p>\u306f GitHub \u30e6\u30fc\u30b6\u30fc\u540d\u3067\u3001 \u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u9078\u629e\u3057\u305f\u540d\u524d\u3067\u3059\u3002<\/p>\n<section class=\"emaki-custom-block emaki-custom-warning\">\n<div id=\"custom_block_35\" class=\"emaki-custom warning\">\n<div class=\"custom_block-content warning\">\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092 GitHub \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3068\u304d\u306f\u5341\u5206\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u6a5f\u5bc6\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u7406\u60f3\u7684\u306b\u306f\u3001\u3069\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u3082\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u306e\u6f0f\u6d29\u3092\u907f\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u907f\u3051\u3089\u308c\u306a\u3044\u5834\u5408\u306f\u3001\u5c11\u306a\u304f\u3068\u3082\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8 GitHub \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f7f\u7528\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u306b\u306f\u6599\u91d1\u304c\u304b\u304b\u308a\u307e\u3059\u3002 \u26a0\ufe0f<\/p>\n<\/div>\n<\/div>\n<\/section>\n<h3 id=\"use-on-another-system\">\u5225\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u306e\u4f7f\u7528<\/h3>\n<p>\u5225\u306e\u30de\u30b7\u30f3\u3067\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5171\u6709\u3059\u308b\u306b\u306f\u3001\u4e0a\u8a18\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u7e70\u308a\u8fd4\u3057\u3066\u30d9\u30fc\u30b9 \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8907\u88fd\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u304c 2 \u3064\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u57fa\u672c\u30b3\u30d4\u30fc\u3092\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"hljs bash\"><span class=\"hljs-built_in\">CD<\/span>\u00a0<span class=\"hljs-variable\">$HOME<\/span>\r\n\u30ae\u30c3\u30c8 <span class=\"hljs-built_in\">\u30af\u30ed\u30fc\u30f3<\/span> --bare https:\/\/github.com\/\/.git\r\n<\/code><\/pre>\n<section class=\"emaki-custom-block emaki-custom-note\">\n<div id=\"custom_block_39\" class=\"emaki-custom note\">\n<div class=\"custom_block-content note\">\n<p>\u3053\u308c\u306f\u901a\u5e38\u3001.git \u3068\u547c\u3070\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30af\u30ed\u30fc\u30f3\u3055\u308c\u307e\u3059\u3002\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u81ea\u7531\u306b\u540d\u524d\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<\/section>\n<p>git \u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u518d\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"hljs bash\"><span class=\"hljs-built_in\">\u30a8\u30a4\u30ea\u30a2\u30b9<\/span> \u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb=<span class=\"hljs-string\">&quot;\/usr\/bin\/git --git-dir=<span class=\"hljs-variable\">$HOME<\/span>\/.dotfiles --work-tree=<span class=\"hljs-variable\">$HOME<\/span>\"<\/span>\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea (HOME) \u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3055\u308c\u305f\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre><code class=\"hljs bash\">\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\r\n<\/code><\/pre>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u4f5c\u696d\u30c4\u30ea\u30fc \u30d5\u30a1\u30a4\u30eb\u306e\u4e0a\u66f8\u304d\u306b\u95a2\u3059\u308b\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u304a\u305d\u3089\u304f .bashrc \u306e\u3088\u3046\u306a\u53e4\u3044\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u304c\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u307e\u305f\u306f\u79fb\u52d5\u3057\u3066\u304b\u3089\u3001\u518d\u5ea6\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3059\u308b\u3060\u3051\u3067\u3059\u3002 \ud83d\udd04<\/p>\n<hr \/>\n<p>\u30c9\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8ffd\u8de1\u3057\u3066\u304a\u304f\u3068\u3001\u30b7\u30b9\u30c6\u30e0\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u307e\u305f\u306f\u5207\u308a\u66ff\u3048\u308b\u3068\u304d\u306b\u591a\u304f\u306e\u30c8\u30e9\u30d6\u30eb\u3092\u56de\u907f\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u5b8c\u5168\u306a\u5c65\u6b74\u3092\u78ba\u8a8d\u3057\u3066\u3001\u3044\u3064\u4f55\u3092\u306a\u305c\u5909\u66f4\u3057\u305f\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 \ud83d\udcda<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>GitHub \u306e Dotfiles \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6642\u9593\u3092\u7bc0\u7d04\u3057\u3001\u5b89\u5168\u306a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u3067 Linux \u3092\u5236\u5fa1\u3057\u307e\u3059\u3002 \ud83d\udcbb\ud83d\udd04\u26a1<\/p>","protected":false},"author":1,"featured_media":49304,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ai_generated_summary":"","iawp_total_views":32,"jnews-multi-image_gallery":[],"jnews_single_post":[],"jnews_primary_category":[],"jnews_social_meta":[],"jnews_review":[],"enable_review":"","type":"","name":"","summary":"","brand":"","sku":"","good":[],"bad":[],"score_override":"","override_value":"","rating":[],"price":[],"jnews_override_counter":[],"footnotes":""},"categories":[1435],"tags":[1445,1821,1558],"class_list":["post-33108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutoriales","tag-evergreencontent","tag-linux","tag-techtips"],"_links":{"self":[{"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/posts\/33108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/comments?post=33108"}],"version-history":[{"count":9,"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/posts\/33108\/revisions"}],"predecessor-version":[{"id":110082,"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/posts\/33108\/revisions\/110082"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/media\/49304"}],"wp:attachment":[{"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/media?parent=33108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/categories?post=33108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mastertrend.info\/ja\/wp-json\/wp\/v2\/tags?post=33108"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}