Developing at work and home (on different platforms)

xuanbao · · 463 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi guys,</p> <p>I&#39;d like to start tinkering with my go projects at work (using Windows PC) and perhaps continue at home on Mac.</p> <p>What would be the easiest way to share the code / and other related stuff across the platforms ? I used to use dropbox, I use emacs as my &#34;IDE&#34;.</p> <hr/>**评论:**<br/><br/>dlsniper: <pre><p>Git comes to mind.</p></pre>wjkohnen: <pre><p><code>git push thumbdrive --mirror</code></p></pre>SportingSnow21: <pre><p>If you&#39;re looking for something more automatic than vcs, <a href="https://syncthing.net/" rel="nofollow">syncthing</a> can set up automatic synchronization on a set of folders. You&#39;ll still want vcs to do vcs things, but sync&#39;d folders can help avoid the &#34;forgotten commit&#34; problem.</p></pre>colemickens: <pre><p>Git + <a href="https://github.com/google/hesokuri" rel="nofollow">https://github.com/google/hesokuri</a> might be the best of both worlds.</p> <p>Runs a daemon that tries to fetch and fast-forward unless there are force pushed commits. Haven&#39;t run it myself since I do all of my dev on a cloud VM.</p></pre>bketelsen: <pre><p>+1 this is what I do for source code across 3 computers. Works great.</p></pre>warmans: <pre><p>If you want to keep it private bitbucket still has unlimited private repos. You can use git or mercurial AFAIK. You could also just use Vagrant and/or virtualbox if you want a consistent emacs experience across platforms.</p></pre>ChristophBerger: <pre><blockquote> <p>bitbucket still has unlimited private repos. </p> </blockquote> <p>Bitbucket and, afaik, also Gitlab. You also can create and use remote Git repos on any server that you can reach via ssh.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

463 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传