@acaelum/fluxo 中文文档教程
Installation
无需安装。 您可以从此处运行 bash_scripts/fluxo.sh shell 脚本,或将其符号链接到任何您想要的位置。 如果你想要一个全局的 fluxo 命令,你可以用 npm 或 basher 安装这个东西。 但同样,这并不是真正必要的。
with npm
是的,您可以使用 npm 安装这个完全不基于 Node 的 bash 程序。 为什么 npm 中有一个 bash 程序? 没关系。 比特不判断——正如 isaacs 所说的明智的话
npm install -g @acaelum/fluxo
with basher
basher install artdiniz/fluxo
Install manually
- Clone this repository in any folder of your choice, e.g.
~/the/folder
cd ~/the/folder
git clone https://github.com/artdiniz/fluxo.git
- Enable execution permissions for all cloned files:
chmod -R +x ~/the/folder
- Create a git alias in
~/.gitconfig
pointing to the fluxo bash script file:
[alias]
fluxo = !bash ~/the/folder/fluxo/bash_scripts/fluxo
Usage
你可以运行 -- --help
for usage info:
fluxo <show | diff | rebase | doctor>
fluxo -- <-h|--help>
$(tput bold)ACTIONS$(tput sgr0)
-h | --help Show detailed instructions
$(tput bold)FLUXO COMMANDS$(tput sgr0)
<show | s> Show branches orderes by fluxo
<diff | d> Generate code diff files for each fluxo step
<rebase | r> Rebase after changing any fluxo previous steps
<doctor | dr> Check fluxo health (Are steps synchronized?)
几乎所有命令都提供使用信息。
Installation
No installation is really necessary. You can run the bash_scripts/fluxo.sh shell script from here, or symlink it wherever you want. If you want a global fluxo command, you could install this thing with npm or basher. But again, that's not really necessary.
with npm
Yes, you can install this bash program that's not based in Node at all, using npm. Why is a bash program in npm anyway? It's fine. Bits don't judge – as wisely said by isaacs
npm install -g @acaelum/fluxo
with basher
basher install artdiniz/fluxo
Install manually
- Clone this repository in any folder of your choice, e.g.
~/the/folder
cd ~/the/folder
git clone https://github.com/artdiniz/fluxo.git
- Enable execution permissions for all cloned files:
chmod -R +x ~/the/folder
- Create a git alias in
~/.gitconfig
pointing to the fluxo bash script file:
[alias]
fluxo = !bash ~/the/folder/fluxo/bash_scripts/fluxo
Usage
You can run fluxo -- --help
for usage info:
fluxo <show | diff | rebase | doctor>
fluxo -- <-h|--help>
$(tput bold)ACTIONS$(tput sgr0)
-h | --help Show detailed instructions
$(tput bold)FLUXO COMMANDS$(tput sgr0)
<show | s> Show branches orderes by fluxo
<diff | d> Generate code diff files for each fluxo step
<rebase | r> Rebase after changing any fluxo previous steps
<doctor | dr> Check fluxo health (Are steps synchronized?)
Usage info is available in almost all commands.