{"id":5424,"date":"2024-01-09T09:58:24","date_gmt":"2024-01-09T00:58:24","guid":{"rendered":"http:\/\/www.code-plus.jp\/240909\/?p=5424"},"modified":"2024-01-09T09:58:24","modified_gmt":"2024-01-09T00:58:24","slug":"post-5424","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/post-5424\/","title":{"rendered":"Mac\u3067\u306eGit\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u65b9\u6cd5"},"content":{"rendered":"<div><span>Git\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306b\u4e0d\u53ef\u6b20\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/span><\/div>\n<div><span>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Mac\u3067Git\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u307e\u3067\u306e\u624b\u9806\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/div>\n<p>&nbsp;<\/p>\n<h3><span>1. Mac\u306bGit\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b<\/span><\/h3>\n<div><span>\u6700\u521d\u306b\u3001\u65e2\u306bGit\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/span><\/div>\n<p>&nbsp;<\/p>\n<h4><span>\u624b\u9806<\/span><\/h4>\n<div><span>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304f: \u300c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u2192\u300c\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u300d\u2192\u300c\u30bf\u30fc\u30df\u30ca\u30eb\u300d<\/span><\/div>\n<div><span>\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b:<\/span><\/div>\n<pre class=\"language-bash\"><code>git --version\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<div><span>\u7d50\u679c\u3092\u78ba\u8a8d: Git\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/span><\/div>\n<div><\/div>\n<h3><span>2. Homebrew\u3092\u4f7f\u7528\u3057\u3066Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/h3>\n<div><span>Git\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001Homebrew\u3092\u901a\u3058\u3066\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/span><\/div>\n<div><\/div>\n<h4><span>\u624b\u9806<\/span><\/h4>\n<div><span>Homebrew\u306e\u78ba\u8a8d: \u30bf\u30fc\u30df\u30ca\u30eb\u3067 brew --version \u3092\u5b9f\u884c\u3057\u3066Homebrew\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/span><\/div>\n<div><span>Git\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb: \u30bf\u30fc\u30df\u30ca\u30eb\u3067 brew install git \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/span><\/div>\n<pre class=\"language-bash\"><code>brew install git\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h3><span>3. Git\u3067\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b<\/span><\/h3>\n<div><span>Git\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/span><\/div>\n<p>&nbsp;<\/p>\n<h4><span>\u624b\u9806<\/span><\/h4>\n<div><span>\u30af\u30ed\u30fc\u30f3\u3057\u305f\u3044\u30ea\u30dd\u30b8\u30c8\u30ea\u306eURL\u3092\u30b3\u30d4\u30fc<\/span><\/div>\n<div><span>\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u30af\u30ed\u30fc\u30f3\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c: git clone [URL]<\/span><\/div>\n<pre class=\"language-bash\"><code>git clone [URL]\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<div><span>\u30af\u30ed\u30fc\u30f3\u304c\u5b8c\u4e86\u3059\u308b\u306e\u3092\u5f85\u3064<\/span><\/div>\n<div><span>\u30af\u30ed\u30fc\u30f3\u3057\u305f\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u79fb\u52d5:<\/span><\/div>\n<pre class=\"language-bash\"><code>cd [\u30ea\u30dd\u30b8\u30c8\u30ea\u540d]\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h3><span>\u307e\u3068\u3081<\/span><\/h3>\n<div><span>\u3053\u308c\u3067\u3001Mac\u3067Git\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u65b9\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u307e\u3057\u305f\u3002Git\u306f\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u3092\u52b9\u7387\u5316\u3057\u3001\u30c1\u30fc\u30e0\u3067\u306e\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5bb9\u6613\u306b\u3059\u308b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u306e\u57fa\u672c\u7684\u306a\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u308b\u3053\u3068\u3067\u3001\u3042\u306a\u305f\u306e\u958b\u767a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3088\u308a\u30b9\u30e0\u30fc\u30ba\u306b\u9032\u3080\u3067\u3057\u3087\u3046\u3002<\/span><\/div>","protected":false},"excerpt":{"rendered":"Git\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306b\u4e0d\u53ef\u6b20\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Mac\u3067Git\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u307e\u3067\u306e\u624b\u9806\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u307e\u3059\u3002 &nbsp; 1. Mac\u306bGit\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044[...]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14],"tags":[],"group":[],"pg":[],"class_list":["post-5424","post","type-post","status-publish","format-standard","category-develop-env"],"acf":[],"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/5424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=5424"}],"version-history":[{"count":0,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/5424\/revisions"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=5424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=5424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=5424"},{"taxonomy":"group","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/group?post=5424"},{"taxonomy":"pg","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pg?post=5424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}