Sublime Text 3中无法使用Git插件
新接触Sublime Text 3工具,看到有git插件便安装上去了,今天想提交一些代码,但是不知道怎么配置这个git,按照
github上的wiki
也没有成功使用。
下面是重启ST3后打开Ctrl+`看到的代码:
SyntaxError: invalid syntax
reloading plugin sublime-text-git-master.history
Traceback (most recent call last):
File "D:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Packages\sublime-text-git-master\history.py", line 5, in <module>
from git import GitTextCommand, GitWindowCommand, plugin_file
ImportError: No module named 'git'
抹小布poi
10 years, 12 months ago
Answers
ST3中无法正常使用git插件,无法add。建议换
sublime git
,我现在就是用这个。功能齐全更强大。是带界面的,比git插件强大很多。免费的,偶尔会弹出购买框,可以选择性无视。
官网
甜蜜的血液
answered 10 years, 12 months ago