Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Bash

git > add repo to github

$ git remote add origin [email protected]:<username>/repo_name.git
$ git push -u origin master
https://snipt.net/embed/48e1b3c2494e74bfbeb48d8947c96311/
https://snipt.net/raw/48e1b3c2494e74bfbeb48d8947c96311/
48e1b3c2494e74bfbeb48d8947c96311
bash
Bash
2
2016-12-03T22:08:58
True
False
False
/api/public/snipt/55962/
git-add-repo-to-github
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ git remote add origin [email protected]:&lt;username&gt;/repo_name.git </span><span id="L-2"><a name="L-2"></a>$ git push -u origin master </span></pre></div> </td></tr></table>
git, github, push, remote, repo

Text only

Close github issue by git commit message

1
2
3
Closes #1.
Closes GH-1.
Closes gh-1.
https://snipt.net/embed/37866784d88c0fc91917d974426aefc4/
https://snipt.net/raw/37866784d88c0fc91917d974426aefc4/
37866784d88c0fc91917d974426aefc4
text
Text only
3
2016-12-07T08:59:37
True
False
False
/api/public/snipt/21619/
close-github-issue-by-git-commit-message
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Closes #1. </span><span id="L-2"><a name="L-2"></a>Closes GH-1. </span><span id="L-3"><a name="L-3"></a>Closes gh-1. </span></pre></div> </td></tr></table>
git, github, issuetracking
Copyrighted, illegal, or inappropriate content? Email [email protected].