• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

timbrel/GitSavvy: Full git and GitHub integration with Sublime Text 3.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

timbrel/GitSavvy

开源软件地址:

https://github.com/timbrel/GitSavvy

开源编程语言:

Python 98.1%

开源软件介绍:

GitSavvy

Build Status AppVeyor branch Coverage Status License

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 (respectfully stolen from SourceTree, GitX, et al)
  • 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, tag, and rebase dashboards

Note: GitSavvy requires Git versions at or greater than 2.18.0.

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 found here. It can also be accessed from within Sublime by opening the command palette and typing GitSavvy: help.

Highlights

Inline-diff Status dashboard
(Un)stage and revert individual lines and hunks. Display and overview and offer actions to manipulate your project state.
Branch dashboard Tags dashboard
View and manipulate local and remote branches. View and manipulate local and remote tags.
Github integration Rebase dashboard
Reference issues and collaborators in commits. Open files on GitHub in the browser, with lines pre-selected. Squash, edit, move, rebase, undo, redo.

Installation

Simple

  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.

Note: If you're using 64-bit Windows, the path to the Git binary may not be as you expect. If GitSavvy fails to operate correctly in this configuration, make sure to confirm the Git path you're using in the config.

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 https://github.com/timbrel/GitSavvy.git

# Package Control need to be installed https://packagecontrol.io/installation
# install dependencies from command line
subl --command 'satisfy_dependencies'
# or open Command Palette and run 'Package Control: Satisfy Dependencies'



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap