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.
Via Package Control, you can install sublime-github. It's simple and works fine for me.
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 useSideBarGit
(along withSideBarEnhancements
), which allows you to right-click on a file in your project and get access to the whole array ofgit
-related tasks, fromAdd & Commit & Push
toBranch
toClone
toDiff
and more. Another popular tool isGit
, which provides essentially the same options asSideBarGit
, just in a menu offTools
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.All you need are the extensions 'Git', 'Git Gutter', and 'Sublimerge'
Git: I use it to open git gui and perform all the other git operations right inside Sublime Text.
Git Gutter I use this to display the new changes that are not committed yet on the current working file.
Sublimerge I use this to compare the current working file with any previous revisions of the same file