Atom-git-blame,Atom编辑器插件。切换Git.zip

  • Q4_734402
    了解作者
  • 860KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-22 01:04
    上传日期
Atom-git-blame.zip,Plugin for Atom Editor. Toggle git-blame annotations for the current file in the gutter.怪罪,atom是一个用web技术构建的开源文本编辑器。
Atom-git-blame.zip
内容介绍
# git-blame > Toggle git-blame annotations in Atom. [![Travis](https://img.shields.io/travis/alexcorre/git-blame.svg)](https://travis-ci.org/alexcorre/git-blame) [![apm](https://img.shields.io/apm/v/git-blame.svg)](https://atom.io/packages/git-blame) [![apm](https://img.shields.io/apm/dm/git-blame.svg)](https://atom.io/packages/git-blame) ![screenshot](/images/screenshot2.png?raw=true) ## Usage Use `ctrl-b` to activate blame. Alternatively, right click the file you want to blame and select `Toggle Git Blame` from the dropdown. ![right-click-activate](https://raw.githubusercontent.com/alexcorre/git-blame/master/images/right-click-activate.png) ### See the revision diff Click on the revision hash in the gutter to visit the configured repository diff site. Hosts supported out of the box are: * [GitHub](https://github.com/) * [Bitbucket](https://bitbucket.org/) * [GitLab](https://gitlab.com/) If the remote repo has a URL we don't recognize, or if there is no remote named `origin`, the commit hash will be copied to the clipboard. Custom remotes can be set globally via options. See below. ## Options ### Ignore White Space Diffs If this option is selected, the `git blame` command will be run with `-w` option. ### Show First Names If this option is selected, only the first word of the author's name will be displayed. (If both Show First Names and Show Last Names are enabled, the entire author name will be displayed, regardless of whether it contains only two name parts). ### Show Last Names If this option is selected, only the last word of the author's name will be displayed. (If both Show First Names and Show Last Names are enabled, the entire author name will be displayed, regardless of whether it contains only two name parts). ### Date Format String Default date format is `YYYY-MM-DD`. This feature is backed by [moment.js](http://momentjs.com/). Any formats [supported by moment](http://momentjs.com/docs/#/displaying/format/) are valid here. ### Color commit authors If this option is selected, the commit authors will appear with a unique color to make them easily recognisable. ### Custom Remote Repo Url This plugin will first check to see if your repo is backed by **GitHub**, **Bitbucket**, or **GitLab** so nothing is required if your repo is hosted on one of these. If its not, you can easily set a custom revision URL string like so: - From the settings view go to settings for this package *Git Blame* - Check the box for "Use Custom Url Template If Standard Remotes Fail" - Set your url format string in the box labeled Custom Commit Url String ![url-settings](https://raw.githubusercontent.com/alexcorre/git-blame/master/images/url-settings.png) The URL string should contain the following three placeholder variables wrapped in underscore template delimiters like so: `<%- variable %>`. - `project` - Will be replaced with the name of the project in your remote git repository. For this repo it would be `alexcorre`. - `repo` - Will be replaced with the name of the repository. For this repo it would be `git-blame`. - `revision` - Will be replaced with the full git revision hash you clicked on. I'll use github as an example. Its already supported out of the box, but if it wasn't its custom url string would be: ``` https://github.com/<%- project %>/<%- repo %>/commit/<%- revision %> ``` So when you clicked on hash revision 12345 in this git-blame repository, you would visit the following url: ``` https://github.com/alexcorre/git-blame/commit/12345 ``` You can also set a custom URL in your git config. If present, it will be used insted of the one in the package settings. You can add or change it with this command: ```bash git config --local atom-git-blame.repositoryUrlTemplate "http://my_server/gitweb/?p=<%- repo %>.git;a=commit;h=<%- revision %>" ``` Or by edit your `.git/config` and add an entry like this: ```ini [atom-git-blame] repositoryUrlTemplate = "http://my_server/gitweb/?p=<%- repo %>.git;a=commit;h=<%- revision %>" ``` ## Release History This project uses [standard-version](https://github.com/conventional-changelog/standard-version). Commit messages should use these [conventions](https://github.com/bcoe/conventional-changelog-standard/blob/master/convention.md). `fix`, `feat`, and `perf` commits will show in the [CHANGELOG.md](CHANGELOG.md) generated upon release.
评论
    相关推荐
    • atombook:Atom.io 编辑器的 Gitbook 集成
      原子书 Atom.io 编辑器的集成。
    • Splitdown, 像 Markdown 编辑器替换一样的Ghost.zip
      Splitdown, 像 Markdown 编辑器替换一样的Ghost #Splitdown WordPress的Markdown 编辑器替换安装将插件克隆到插件目录中,通常位于内容/插件。你需要运行 git submodule init 和 git submodule update 来拉 show
    • svgeditor:SVG模式编辑器上的React
      Svg Shcema编辑器 在react svg + redux上进行的原理图编辑器。 版本转换为Immutable.js 事件处理的概念已经改变。 现在,这些组件不处理事件,而是将其转变为高级操作。 所有mouseDown,mouseUp,mouseMove事件均按...
    • mobile 注册表编辑器
      可以查看mobile手机的注册表,相当于windows上面的redegit
    • atom-git-grep:原子编辑器中的git-grep
      原子编辑器中的git grep 。 安装 apm install git-grep 如何使用 根据需要设置keybind.cson。 ' .workspace ' : ' cmd-k cmd-g ' : ' git-grep:grep ' # default git grep根始终是工作空间的当前根。
    • livelesson-git
      git commit :打开文本编辑器以编写提交消息 git commit -m "MESSAGE" :将MESSAGE作为提交写入,而没有文本编辑器 git log :显示我们提交的日志(历史) git log --oneline :显示较短的git log --oneline提交 ...
    • Atom-git-commit-atom,在当前atom窗格中轻松编辑git提交消息.zip
      Atom-git-commit-atom.zip,在当前atom窗格中轻松编辑git提交消息git提交原子,atom是一个用web技术构建的开源文本编辑器
    • git_kv_store_tutorial:探索git
      探索Git:从git init到KV商店 ...如果我们在编辑器中检出.git子目录: $ tree .git .git ├── branches ├── config ├── description ├── HEAD ├── hooks │ ├── applypatch-msg.samp
    • EditAndPublishArticle编辑器
      作者zhaoquntao,源码EditAndPublishArticle,虽然编辑和发布文章,现在很少app用到.由于公司的项目中用到了,我把这部门内容分离出来,写了一个demo分享给大家,还有一些需要完善的地方,多谢理解. gihub:/zhaoquntao/...
    • GaussDB_100_1.0.1-DATABASE-REDHAT-64bit.tar.gz
      guassdb100在redhat上安装包,单机部署的包,安装步骤请看我的文中介绍,经过大量实验搭建总结出来的文档