Skip to content

Commit 33ed49c

Browse files
committed
core(release): 2.0.0 signify new official fork
This release contains a few minor updates from the origional fork. The main purprose for this release though is to clearly differentiate gitflow-cjs from gitflow-avh via the change in the major version.
2 parents 1e05143 + 7b05307 commit 33ed49c

10 files changed

+648
-646
lines changed

CHANGELOG-AVH.md

Lines changed: 607 additions & 0 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 2 additions & 610 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
# git-flow (AVH Edition)
1+
# git-flow (CJS Edition)
22

33
A collection of Git extensions to provide high-level repository operations
44
for Vincent Driessen's [branching model](http://nvie.com/git-model "original
55
blog post"). This fork adds functionality not added to the original branch.
66

7+
## Why another git-flow fork
8+
The last commit to [gitflow-avh](https://github.com/petervanderdoes/gitflow-avh)
9+
was on May 23, 2019. Since then there have been a number of issues opened that have
10+
not be resolved. This fork will address those outstanding issues and open PR's along
11+
with continueing to maintain the git-flow branching model.
712

813
## Getting started
914

@@ -45,7 +50,7 @@ of the project Wiki.
4550
* Version Numbering Scheme.
4651
Starting with version 1.0, the project uses the following scheme:
4752
\<MAJOR\>.\<MINOR\>.\<REVISION\>\
48-
* AVH is the acronym of "A VirtualHome"
53+
* CJS is the acronym of "CJ Systems"
4954

5055
## Please help out
5156

@@ -66,33 +71,22 @@ using the complete version number.
6671

6772
## Contributing
6873

69-
Fork the repository. Then, run:
74+
If you are resubmiting an open pull request see below. If submiting a new pull request addressing an already open issue with gitflow-avh please link the relevant issue in the description. For any new issues please see below
7075

71-
```shell
72-
git clone -b master [email protected]:<username>/gitflow-cjs.git
73-
cd gitflow-cjs
74-
```
75-
76-
The `-b master` switch has to be added since the fork operation automatically
77-
clones the `develop` branch of the official gitflow repository and cloning it
78-
results in a local repository with just a `develop` branch.
79-
80-
If you do not have gitflow installed yet install it by running `make && make install`.
81-
82-
After that initialize the local gitflow repository with gitflow itself:
76+
### Quick Start for new issues
8377

84-
```shell
85-
git flow init -d
86-
git flow feature start <your feature>
87-
```
88-
89-
Then, do work and commit your changes.
78+
* Please fork and clone a local copy of [gitflow-cjs](https://github.com/CJ-Systems/gitflow-cjs).
79+
* Create a seperate issue branch based off develop.
80+
* Commit commit you fix to the local branch.
81+
* Please update your local copy with the latest devlop branch of [gitflow-cjs](https://github.com/CJ-Systems/gitflow-cjs)
82+
* Rebase develop onto your local branch.
83+
* Push your fix to your fork.
84+
* When ready to submit a pull request.
9085

91-
```shell
92-
git flow feature publish <your feature>
93-
```
86+
### How to submit a pull request
87+
When resubmitting an open pull request from [gitflow-avh](https://github.com/petervanderdoes/gitflow-avh) the base repository will need to be changed from petervanderdoes/gitflow-avh to CJ-Systems/gitflow-cjs.
9488

95-
When done, open a pull request to your feature branch.
89+
For any new PRs releated to gitflow-cjs you can use on of the keywords from [Linking a pull request to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) to automatically close the releated issue.
9690

9791
## License terms
9892

git-flow-bugfix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ git flow bugfix rebase
5757
git flow bugfix checkout
5858
git flow bugfix pull
5959
git flow bugfix delete
60+
git flow bugfix rename
6061
6162
Manage your bugfix branches.
6263
@@ -831,7 +832,7 @@ r,[no]remote Delete remote branch
831832

832833
cmd_rename() {
833834
OPTIONS_SPEC="\
834-
git flow bugfix rename <new_name> [<new_name>]
835+
git flow bugfix rename [<old_name>] <new_name>
835836
836837
Rename a given bugfix branch
837838
--

git-flow-feature

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ git flow feature rebase
5757
git flow feature checkout
5858
git flow feature pull
5959
git flow feature delete
60+
git flow feature rename
6061
6162
Manage your feature branches.
6263
@@ -832,7 +833,7 @@ r,[no]remote Delete remote branch
832833

833834
cmd_rename() {
834835
OPTIONS_SPEC="\
835-
git flow feature rename <new_name> [<new_name>]
836+
git flow feature rename [<old_name>] <new_name>
836837
837838
Rename a given feature branch
838839
--

git-flow-hotfix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ git flow hotfix start
5353
git flow hotfix finish
5454
git flow hotfix publish
5555
git flow hotfix delete
56+
git flow hotfix rebase
57+
git flow hotfix track
58+
git flow hotfix rename
5659
5760
Manage your hotfix branches.
5861
@@ -732,7 +735,7 @@ r,[no]remote Delete remote branch
732735

733736
cmd_rename() {
734737
OPTIONS_SPEC="\
735-
git flow hotfix rename <new_name> [<new_name>]
738+
git flow hotfix rename [<old_name>] <new_name>
736739
737740
Rename a given hotfix branch
738741
--

git-flow-release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,10 @@ usage() {
434434
git flow release [list]
435435
git flow release start
436436
git flow release finish
437+
git flow release branch
437438
git flow release publish
438439
git flow release track
440+
git flow release rebase
439441
git flow release delete
440442
441443
Manage your release branches.
@@ -555,7 +557,6 @@ Start a new release branch
555557
h,help! Show this help
556558
showcommands! Show git commands while executing them
557559
F,[no]fetch Fetch from $ORIGIN before performing finish
558-
v,verbose! Verbose (more) output
559560
"
560561
local base
561562

git-flow-support

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ usage() {
5050
OPTIONS_SPEC="\
5151
git flow support [list]
5252
git flow support start
53+
git flow support rebase
5354
5455
Manage your support branches.
5556

git-flow-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#
3939

4040

41-
GITFLOW_VERSION=1.12.5
41+
GITFLOW_VERSION=2.0.0
4242

4343
initialize() {
4444
# A function can not be empty. Comments count as empty.

gitflow-common

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -609,15 +609,17 @@ gitflow_rename_branch() {
609609
# read arguments into global variables
610610
if [ -z $1 ]; then
611611
NEW_NAME=''
612-
else
613-
NEW_NAME=$1
614-
fi
615-
616-
if [ -z $2 ]; then
617612
NAME=''
618613
else
619-
NAME=$2
614+
if [ -z $2 ]; then
615+
NAME=''
616+
NEW_NAME=$1
617+
else
618+
NAME=$1
619+
NEW_NAME=$2
620+
fi
620621
fi
622+
621623
BRANCH=${PREFIX}${NAME}
622624
NEW_BRANCH=${PREFIX}${NEW_NAME}
623625

0 commit comments

Comments
 (0)