eXtend git-flow !
An extension to git-flow, which automatize some usual tasks related to repository operations.
As git xflow extends git flow, it is required to know what git flow is about:
Of course, a knowledge of git is also required:
git xflow automatizes some reccurent tasks with git flow, such as:
git xflow feature/release/hotfix close
to finish and push a feature/release/hotfixgit xflow staging
to merge the content of unfinished features into a staging (demonstration) branchgit xflow hotfix publish/pull
to publish and pull a hotfixTo get help, just type in a terminal : git xflow
git xflow runs on Windows, Linux, and Mac OS. In facts, it runs everywhere git is able to run.
chmod +x git-xflow
git xflow
NB : File gitflow-common
is taken from git-flow directly,
you don’t have to copy it if you use latest version of git-flow and have put file git-xflow
in the same folder as git-flow files.
git-xflow requires Bourne Again Shell (bash).
Simply run this script:
curl -sL https://raw.githubusercontent.com/golflima/git-xflow/master/install/install.sh | sudo bash -
See Command-line Reference.md in docs folder.
git xflow init -d
git xflow init
git xflow patch
or git xflow review
for example):git config --add gitxflow.exec.html '"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"'
git config --add gitxflow.exec.html "google-chrome"
git config --add gitxflow.exec.log "less"
git config --add gitxflow.exec.zip "unzip -t"
git xflow feature start A
git commit
git xflow feature start B
git commit
git xflow staging reset A
(this will reset staging branch)git xflow staging merge B
git xflow feature review A -t html
git xflow feature review B -t less
git xflow feature close A
git xflow feature close B
git xflow staging reset
git xflow release start 1.0.0
git xflow release publish 1.0.0
git xflow release pull 1.0.0
git xflow release close 1.0.0
git xflow tag patch
(will make a patch from previous published tag to the new one)git-xflow is published under the terms of GNU Lesser General Public License v3, see the LICENSE file.
Although the GNU LGPLv3 does not require you to share any modifications you make to the source code,
you are very much encouraged and invited to contribute back your modifications to the community, preferably in a Github fork, of course.
For a list of all contributors, please see the AUTHORS file.