snipt

Ctrl+h for KB shortcuts

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]lkapp.com:/userwish.git
git push beanstalk master
https://snipt.net/embed/e1ba315a8be8e76ea2e715ca36d3d46f/
/raw/e1ba315a8be8e76ea2e715ca36d3d46f/
e1ba315a8be8e76ea2e715ca36d3d46f
bash
Bash
4
2019-07-23T18:26:58
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