如何整合崇高的文字与GitHub? [英] How to integrate Sublime Text with GitHub?

查看:177
本文介绍了如何整合崇高的文字与GitHub?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为如果ST有一个插件可以与GitHub帐户上的repo同步,那么这将是完美的,但我找不到这样的事情。



有Github Tools和sublime-github,但它们不提供 commit push 命令。



我总是可以使用GitHub的应用程序进行同步,但插件更方便,因为它可以分配给ST的热键。 方案

众多 git 插件可通过软件包控制获得,所以您只需浏览它们,阅读自述文件,然后决定是否尝试。我使用 SideBarGit (以及 SideBarEnhancements ),它允许您右键单击项目中的文件并访问整个 git 相关任务的数组,从 Add&提交&将转换为分支克隆差异等等。另一个受欢迎的工具是 Git ,它提供了与 SideBarGit ,只需在 Tools 菜单中改为

SublimeGit 是免费试用,购买商业插件10欧元通过包控制),看起来它是非常全功能的,允许你做任何与git相关的任何事情。它包括许多用于编辑提交消息,查看差异,比较分支等的语法定义,并根据其流行度(它是包控制中的前100名之一)来判断,很多人似乎都喜欢它。但是,它不是开源的,并且需要额外的资金才能长期使用。

其中任何一种都可以与Github,Bitbucket或任何其他公共或私人回购协议它使用 git 协议。尝试一下,看看有什么适合你的。


I thought it would be perfect if ST would have a plugin for syncing repo with the one on GitHub account, but I can't find such a thing.

There is Github Tools and sublime-github but they don't provide commit or push commands.

I can always use GitHub's app for syncing but plugin is more convenient, since it can be assigned to ST's hotkeys.

解决方案

There are numerous git plugins available via Package Control, so all you have to do is browse through them, read the READMEs, and decide if you want to try it out. I use SideBarGit (along with SideBarEnhancements), which allows you to right-click on a file in your project and get access to the whole array of git-related tasks, from Add & Commit & Push to Branch to Clone to Diff and more. Another popular tool is Git, which provides essentially the same options as SideBarGit, just in a menu off Tools instead.

SublimeGit is a free-to-try, € 10 to buy commercial plugin (available through Package Control) that looks like it's very full-featured, allowing you to do just about anything related to git. It includes a number of syntax definitions for editing commit messages, looking at diffs, comparing branches, etc., and judging by its popularity (it's one of the Top 100 at Package Control) a lot of people seem to like it. But, it's not open-source, and costs extra money to use long-term.

Any of these will work with Github, Bitbucket, or any other public or private repo that uses the git protocol. Try them out, and see what works for you.

这篇关于如何整合崇高的文字与GitHub?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆