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

90 lines
2.4 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.2.0/github-markdown-dark.min.css"
/>
<title>haunt98 posts</title>
</head>
<style>
.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.html">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>. Source
code is available on
<a href="https://github.com/haunt98/posts-go">GitHub</a>
</div>
</body>
</html>