posts-go/docs/2022-08-10-gitignore.html

62 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.1.0/github-markdown.min.css"
/>
</head>
<style>
/* https://github.com/sindresorhus/github-markdown-css */
.markdown-body {
box-sizing: border-box;
min-width: 200px;
max-width: 980px;
margin: 0 auto;
padding: 45px;
}
@media (max-width: 767px) {
.markdown-body {
padding: 15px;
}
}
</style>
<body class="markdown-body">
<div>
<a href="index">Index</a>
</div>
<h1><a id="user-content-gitignore" class="anchor" aria-hidden="true" href="#gitignore"><span aria-hidden="true" class="octicon octicon-link"></span></a>gitignore</h1>
<p>My quick check for <code>.gitignore</code>.</p>
<h2><a id="user-content-base" class="anchor" aria-hidden="true" href="#base"><span aria-hidden="true" class="octicon octicon-link"></span></a>Base</h2>
<div class="highlight highlight-text-adblock"><pre><span class="pl-c"># macOS</span>
.DS_Store
<span class="pl-c"># Windows</span>
<span class="pl-k">*</span>.exe
<span class="pl-c"># IntelliJ</span>
.idea/
<span class="pl-c"># VSCode</span>
.vscode/</pre></div>
<h2><a id="user-content-go" class="anchor" aria-hidden="true" href="#go"><span aria-hidden="true" class="octicon octicon-link"></span></a>Go</h2>
<div class="highlight highlight-text-adblock"><pre><span class="pl-c"># Go</span>
<span class="pl-c"># Test coverage</span>
coverage.out
<span class="pl-c"># Should ignore vendor</span>
vendor</pre></div>
<h2><a id="user-content-python" class="anchor" aria-hidden="true" href="#python"><span aria-hidden="true" class="octicon octicon-link"></span></a>Python</h2>
<div class="highlight highlight-text-adblock"><pre>venv</pre></div>
<div>
Feel free to ask me via
<a href="mailto:hauvipapro+posts@gmail.com">email</a> or
<a rel="me" href="https://hachyderm.io/@haunguyen">Mastodon</a>
</div>
</body>
</html>