| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
6年前发布

Git紧急事件助手插件:git-fire

git-fire是一个 Git 插件,用于有紧急事件发通过将所有当前的文件,提交,并pushing到一个新的分支上(以避免合并冲突)。

Alias it to git out or git going for comedic effect.

  • git config --global alias.out fire
  • git config --global alias.going fire

What It Does

  • creates new branchfire-<current branch>-<user email>-<current epoch>
  • adds all files
  • commits with"Fire! Branch <new branch>"or custom message
  • pushes to remote

Usage

git-fire <message>

<message>is optional. If not specified,"Fire! Branch fire-<current branch>-<user email>-<current epoch>"will be used.

Installation

Just copygit-fireto your$PATHand ensure it is an executable (chmod +x git-fire) and you're good to go. :+1:

git-fireis also installable via NPM. Just runnpm install -g git-fire, which will copy thegit-firebinary to your$PATH.

Also make sure you have Git installed.


项目主页:http://www.open-open.com/lib/view/home/1444124536104

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1444124536104.html
git-fire Git 版本控制系统