/git-flux

git commands for fluent, collaborative workflow

Primary LanguageShellMIT LicenseMIT

git-flux

git commands for fluent, collaborative workflow

prerequisites

this tool relies on bash/mingw32, so:

linux/mac users
just fire up the terminal. you're good to go.

windows people
open your git-bash 'as administrator', please.
(by the way, does it open up in U:\? this might help).

setup

install

curl -O https://raw.githubusercontent.com/eliranmal/git-flux/master/bin/setup.sh
chmod u+x setup.sh
./setup.sh

(windows users can skip the chmod bit).

update

after git-flux is installed, you can use the update subcommand to update git-flux with git-flux (mind = blown):

git flux update [<tag>]

use a tag if you want a specific version.

you can also use the setup script for that, but that's way less cool:

[env REPO_REF=<tag>] ./setup.sh update

uninstall

./setup.sh uninstall

usage

from the terminal, use the -h flag anywhere, or see the usage directory of this repository for the markdown-formatted help.

gotcha's

  • if you git rebase --onto (which you shouldn't), bad stuff will happen. why? because the branch base (for started features, createed teams, etc.) is saved to the git config, and not dynamically resolved via git.

contributing

thank you ❤️ read this.