• c5_496517
  • 4.5KB
  • zip
  • 0
  • VIP专享
  • 0
  • 2022-04-03 06:32
  • git-commit-atom-master
  • git-commit-atom.go
  • Makefile
## git-commit-atom Want to use Atom's handy `COMMIT_EDITMSG` syntax highlighting? ���� Tired of waiting on Atom to open a new window with the `--wait` option? :hourglass: :sleeping: Together with [sister Atom package `git-edit-atom`](, this Go script allows Git commit files to be conveniently edited in the current editor pane... avoiding the launch of another instance of Atom! :star2: :smirk: ![A screenshot of git-edit-atom and git-commit-atom in action together]( ## Prerequisites * [Sister Atom package `git-edit-atom`](, highly recommended. ## Installation There are two steps to the installation process: * installing the Go script, and * configuring Git to use the Go script. There are two ways to install the Go script. If you have Go installed on your machine (want it? see [here](, you can use the following commands to install from source. ~~~bash go get go install ~~~ If your are installing from source, be sure your `GOBIN` is included in your `PATH`! If your `PATH` isn't already properly configured, try adding the following lines to your `.bash_profile`. ~~~bash export GOPATH=$HOME/go export GOBIN=$GOPATH/bin export PATH=$PATH:$GOPATH/bin ~~~ If you don't want to build from source, you can find pre-built executable binaries [here]( All you have to do is * download zipped folder appropriate for your operating system and architecture, * unzip it, and * toss the executable into a bin on your `PATH`. To configure Git to use the Go script, use the following command at your terminal. ~~~bash git config --global core.editor "git-commit-atom" ~~~ If you have preexisting Git repositories, you might have to use ~~~bash git config core.editor "git-commit-atom" ~~~ on them. ## Usage Once `git-commit-atom` is configured as Git's editor, Git `COMMIT_EDITMSG`, `TAG_EDITMSG`, `MERGE_MSG`, `git-rebase-todo`, and `.diff` files will open in the current pane of Atom. To complete the message editing process simply close the tab (`cmd-w` is convenient) if the Atom package `git-edit-atom` is installed or, if not, enter `quit` or `done` at the terminal. ## Implementation This project has two components: a standalone Go script that acts as the editor called by Git during the commit process and the Atom package `git-edit-atom`. When the standalone Go script is activated, it opens the `COMMIT_EDITMSG` file in the current Atom pane. When that file is closed, Atom appends a "magic marker" (`## ATOM EDIT COMPLETE##`) to the end of the `COMMIT_EDITMSG` file. The Go script, which is listening to the end of the `COMMIT_EDITMSG` file, recognizes the "magic marker" and terminates, ending the commit edit session. In addition, the Go script listens for user input at the terminal. The commit session can also be ended by entering `quit` or `done`. (This functionality allows the standalone script to function in some capacity without the Atom package in place). This project is directly inspired by AJ Foster's ``, [presented on his personal blog]( It is hoped that this implementation in Go and as an Atom package will yield greater portability and reliability.
    • 编辑器的 Gitbook 集成
      原子书 编辑器的集成。
    • Splitdown, 像 Markdown 编辑器替换一样的
      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 注册表编辑器
    • atom-git-grep:原子编辑器中的git-grep
      原子编辑器中的git grep 。 安装 apm install git-grep 如何使用 根据需要设置keybind.cson。 ' .workspace ' : ' cmd-k cmd-g ' : ' git-grep:grep ' # default git grep根始终是工作空间的当前根。
    • Atom-git-blame,Atom编辑器插件。切换,Plugin for Atom Editor. Toggle git-blame annotations for the current file in the gutter.怪罪,atom是一个用web技术构建的开源文本编辑器
    • livelesson-git
      git commit :打开文本编辑器以编写提交消息 git commit -m "MESSAGE" :将MESSAGE作为提交写入,而没有文本编辑器 git log :显示我们提交的日志(历史) git log --oneline :显示较短的git log --oneline提交 ...
    • 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