snipt

Ctrl+h for KB shortcuts

Text only

Git clone from http

$git clone http://example.com/PATH_TO_GIT_FOLDER/.git
https://snipt.net/embed/d2f042a29997f70d950c33e99a7dfbd5/
/raw/d2f042a29997f70d950c33e99a7dfbd5/
d2f042a29997f70d950c33e99a7dfbd5
text
Text only
1
2019-06-26T06:12:28
True
False
False
Feb 11, 2015 at 04:30 PM
/api/public/snipt/104665/
git-clone-from-http
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$git clone http://example.com/PATH_TO_GIT_FOLDER/.git </span></pre></div> </td></tr></table>
clone, git

Bash

clone svn repo into git

1
2
3
4
git svn clone http://account.svn.beanstalkapp.com/my-project my-project
cd my-project
git remote add beanstalk [email protected]:/userwish.git
git push beanstalk master
https://snipt.net/embed/e1ba315a8be8e76ea2e715ca36d3d46f/
/raw/e1ba315a8be8e76ea2e715ca36d3d46f/
e1ba315a8be8e76ea2e715ca36d3d46f
bash
Bash
4
2019-06-20T22:58:28
True
False
False
/api/public/snipt/23087/
clone-svn-repo-into-git
<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> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>git svn clone http://account.svn.beanstalkapp.com/my-project my-project </span><span id="L-2"><a name="L-2"></a><span class="nb">cd</span> my-project </span><span id="L-3"><a name="L-3"></a>git remote add beanstalk [email protected]:/userwish.git </span><span id="L-4"><a name="L-4"></a>git push beanstalk master </span></pre></div> </td></tr></table>
clone, git, svn

Bash

clone new copy of Chyrp

git clone git://github.com/vito/chyrp.git
https://snipt.net/embed/48df2bab4f2cd088377cd9d1fe7313ca/
/raw/48df2bab4f2cd088377cd9d1fe7313ca/
48df2bab4f2cd088377cd9d1fe7313ca
bash
Bash
1
2019-06-23T19:27:27
True
False
False
/api/public/snipt/1094/
clone-new-copy-of-chyrp
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>git clone git://github.com/vito/chyrp.git </span></pre></div> </td></tr></table>
chyrp, clone, git, terminal