<h1 align="center">git-auto</h1> <div> git-auto 优势 1.git提交推送操作更快捷 一个命令即可做到 2.提交复杂信息前缀可以直接存在本地,设置后提交自动携带 3.遇到冲突时可以自动合并代码 避免了输入git stash等操作 4.合并分支,可以不用切换分支来回操作 5.相同与系统下备份git和还原git项目 </div>


License
ISC
Install
npm install git-auto@2.0.28

Documentation

git-auto

Tiny script to automate your git workflow

Installation

$ npm install -g git-auto

Features

  • One command for your git workflow
  • Automatically adds files to the staging area and generates commits
  • Chooses clean and consistent messages (e.g. 'added index.js')

Usage

Usage: git auto [options]

Options:

  -h, --help     output usage information
  -V, --version  output the version number
  -p, --push     Push to remote repository after generating commits
  -g, --group    Group changes into a single commit

Running $ git auto inside a folder will do the following:

  • If the folder not a git repository, initialize it as one.
  • For each file in the repository, add the file to the staging area and generate a commit message.
  • Adding the -p option will push to origin master at the end.

Note

It is an unbelievably horrible idea to use this script if anyone else is going to look through your commit history.

License

MIT