转载

GitSavvy - 一个将 Git 和 GitHub 完整集成的 Sublime Text 3 插件

Sublime Text 3 plugin providing the following features:

  • basic Git functionality; init , add , commit , amend , checkout , pull , push , etc.
  • inline diff viewing, including quick navigation between modified hunks and the ability to (un)stage files by hunk or by line (inspired by SourceTree)
  • GitHub integration
    • issue/collaborator referencing when committing
    • opening the current file on GitHub at the selected line
  • GitHub-style blame view, showing hunk metadata and ability to view the commit that made the change
  • git diff view, allowing user to (un)stage hunks across all files
  • status, branch, and tag dashboards

Note:Sublime Text 2 is not supported. Also, GitSavvy takes advantage of certain features of ST3 that have bugs in earlier ST3 releases. For the best experience, use the latest ST3 dev build.

Documentation

Feature documentation can be foundhere. It can also be accessed from within Sublime by opening the command palette and typing GitSavvy: help .

Highlights

Inline-diff Status dashboard
GitSavvy - 一个将 Git 和 GitHub 完整集成的 Sublime Text 3 插件 GitSavvy - 一个将 Git 和 GitHub 完整集成的 Sublime Text 3 插件
(Un)stage and revert individual lines and hunks. Display and overview and offer actions to manipulate your project state.
Branch dashboard Tags dashboard
GitSavvy - 一个将 Git 和 GitHub 完整集成的 Sublime Text 3 插件 GitSavvy - 一个将 Git 和 GitHub 完整集成的 Sublime Text 3 插件
View and manipulate local and remote branches. View and manipulate local and remote tags.
Github integration
GitSavvy - 一个将 Git 和 GitHub 完整集成的 Sublime Text 3 插件
Reference issues and collaborators in commits. Open files on GitHub in the browser, with lines pre-selected.

Installation

  1. Install the Sublime Text Package Control plugin if you don't have it already.
  2. Open the command palette and start typing Package Control: Install Package .
  3. Enter GitSavvy .

Less simple

If you want more control over what you pull down, or if you'd like to submit changes to GitSavvy, you should pull down the repository directly and restart the editor.

# on a Mac cd "$HOME/Library/Application Support/Sublime Text 3/Packages" # on Linux cd $HOME/.config/sublime-text-3/Packages # on Windows (PowerShell) cd "$env:appdata/Sublime Text 3/Packages/"  git clone git@github.com:divmain/GitSavvy.git 
正文到此结束
Loading...