{"id":6143,"date":"2021-12-13T22:16:55","date_gmt":"2021-12-13T13:16:55","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=6143"},"modified":"2021-12-13T22:16:57","modified_gmt":"2021-12-13T13:16:57","slug":"post-6143","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2021\/12\/13\/post-6143\/","title":{"rendered":".NET6\u3067\u3001gitignore\u3092\u751f\u6210\u3059\u308b"},"content":{"rendered":"\n<p>.NET6SDK\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067gitignore\u3092\u751f\u6210\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u72b6\u6cc1\u3092\u898b\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u5f8c\u304b\u3089\u5b9f\u614b\u306b\u5408\u308f\u305b\u3066\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u306f\u3042\u308b\u3002\u305d\u308c\u304b\u3089\u3001\u7a7a\u306e\u30d5\u30a9\u30eb\u30c0\u4e0a\u3067\u3082\u3001&#8221;.gitgnore&#8221;\u306f\u751f\u6210\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PS C:\\Dev\\test> dotnet new gitignore \n.NET 6.0 \u3078\u3088\u3046\u3053\u305d! \n--------------------- \nSDK \u30d0\u30fc\u30b8\u30e7\u30f3: 6.0.100 \n\u30c6\u30ec\u30e1\u30c8\u30ea \n--------- \n.NET \u30c4\u30fc\u30eb\u306f\u3001\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306e\u5411\u4e0a\u306e\u305f\u3081\u306b\u5229\u7528\u72b6\u6cc1\u30c7\u30fc\u30bf\u3092\u53ce\u96c6\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u306f Microsoft \u306b\u3088\u3063\u3066\u53ce\u96c6\u3055\u308c\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3068\u5171\u6709\u3055\u308c\u307e\u3059\u3002\u30c6\u30ec\u30e1\u30c8\u30ea\u3092\u30aa\u30d7\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u306b\u306f\u3001\u597d\u307f\u306e\u30b7\u30a7\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001DOTNET_CLI_TELEMETRY_OPTOUT \u74b0\u5883\u5909\u6570\u3092 '1'  \u307e\u305f\u306f 'true' \u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002 \n.NET CLI \u30c4\u30fc\u30eb\u306e\u30c6\u30ec\u30e1\u30c8\u30ea\u306e\u8a73\u7d30\u3092\u3054\u89a7\u304f\u3060\u3055\u3044: https:\/\/aka.ms\/dotnet-cli-telemetry \n---------------- \nASP.NET Core \u306e HTTPS \u958b\u767a\u8a3c\u660e\u66f8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 \n\u8a3c\u660e\u66f8\u3092\u4fe1\u983c\u3059\u308b\u306b\u306f\u3001'dotnet dev-certs https --trust' (Windows \u304a\u3088\u3073 macOS \u306e\u307f) \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 \nHTTPS \u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001https:\/\/aka.ms\/dotnet-https \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 \n---------------- \n\u6700\u521d\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001https:\/\/aka.ms\/dotnet-hello-world \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 \n\u6700\u65b0\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001https:\/\/aka.ms\/dotnet-whats-new \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 \n\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u63a2\u7d22\u3059\u308b\u306b\u306f\u3001https:\/\/aka.ms\/dotnet-docs \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 \nGitHub \u3067\u554f\u984c\u306e\u5831\u544a\u3068\u30bd\u30fc\u30b9\u306e\u691c\u7d22\u3092\u884c\u3046\u306b\u306f\u3001https:\/\/github.com\/dotnet\/core \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044 \n'dotnet --help' \u3092\u4f7f\u7528\u3057\u3066\u4f7f\u7528\u53ef\u80fd\u306a\u30b3\u30de\u30f3\u30c9\u3092\u78ba\u8a8d\u3059\u308b\u304b\u3001https:\/\/aka.ms\/dotnet-cli \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044 \n-------------------------------------------------------------------------------------- \n\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 \"dotnet gitignore \u30d5\u30a1\u30a4\u30eb\" \u304c\u6b63\u5e38\u306b\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002 \nPS C:\\Dev\\test><\/code><\/pre>\n\n\n\n<p>\u521d\u56de\u306e\u307f\u3001\u3044\u308d\u3044\u308d\u3068\u8868\u793a\u3055\u308c\u305f\u3002\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u306e\uff12\u56de\u76ee\u304b\u3089\u306f\u3001\u300c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8 &#8220;dotnet gitignore \u30d5\u30a1\u30a4\u30eb&#8221; \u304c\u6b63\u5e38\u306b\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002\u300d\u3068\u3060\u3051\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>.NET6SDK\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067gitignore\u3092\u751f\u6210\u3067\u304d\u308b\u3002 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u72b6\u6cc1\u3092\u898b\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u5f8c\u304b\u3089\u5b9f\u614b\u306b\u5408\u308f\u305b\u3066\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u306f\u3042 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[246,219],"class_list":["post-6143","post","type-post","status-publish","format-standard","hentry","category-tech-memo","tag-net6","tag-git"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=6143"}],"version-history":[{"count":2,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6143\/revisions"}],"predecessor-version":[{"id":6185,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6143\/revisions\/6185"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=6143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=6143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=6143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}