git 是否有 gist.github.com 的内部替代方案可以在防火墙后面运行?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3924752/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there an internal alternative to gist.github.com to run behind a firewall?
提问by Chris Adams
gist.github.com is incredibly handy, but I'd like to be able run something similar for sharing code samples internally with other developers behind the firewall where I work, so I don't constantly need to be sanitising my code all the time, just to talk about code examples.
gist.github.com 非常方便,但我希望能够运行类似的东西来与我工作的防火墙后面的其他开发人员在内部共享代码示例,所以我不需要一直不断地清理我的代码,只说代码示例。
Does anything like this exist?
这样的东西存在吗?
I'm not after big project management tools, just a way to make throwaway gists, and share links easily, that also happen to be git repos, just like gist.github.com
我不是在追求大型项目管理工具,只是一种制作一次性要点并轻松共享链接的方法,这也恰好是 git repos,就像 gist.github.com
回答by weakish
You may check pastgit: git backed paste server (gist python clone)
你可以查看过去的git: git backed paste server (gist python clone)
https://github.com/mmikulicic/pastgit
https://github.com/mmikulicic/pastgit
Also gitpaste: (another gist clone based on Django)
还有 gitpaste:(另一个基于 Django 的 gist 克隆)
回答by cweiske
Self-hosted, git-based pastebin in PHP: https://github.com/cweiske/phorkie
PHP 中的自托管、基于 git 的 pastebin:https: //github.com/cweiske/phorkie
回答by Noufal Ibrahim
The killer feature of github's gists in my opinion is their Git integration. You can clone your gists, version control them etc.
在我看来,github 的要点的杀手锏是它们的 Git 集成。您可以克隆您的要点,对其进行版本控制等。
If you need just need something to collaborate, you can choose one of the open source pastebinsand make an install locally inside your intranet. One that comes to mind is dpaste.
如果您只需要进行协作,您可以选择其中一个开源 pastebins并在您的 Intranet 中进行本地安装。一个想到的是dpaste。