Skip to content

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
Added documentation to show some of the know variables in the files.
  • Loading branch information
petervanderdoes committed Sep 7, 2012
1 parent 62657ec commit 03b61ef
Show file tree
Hide file tree
Showing 34 changed files with 171 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hooks/filter-flow-hotfix-start-version
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# Return VERSION - When VERSION is returned empty, git-flow will stop as the
# version is necessary
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop

VERSION=$1

# Implement your script here.
Expand Down
5 changes: 5 additions & 0 deletions hooks/filter-flow-release-start-version
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# Return VERSION - When VERSION is returned empty, git-flow will stop as the
# version is necessary
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1

# Implement your script here.
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-feature-delete
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-feature-finish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-feature-publish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-feature-pull
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The remote to pull from
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
REMOTE=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-feature-start
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# $3 The full branch name (including the feature prefix)
# $4 The base from which this feature is started
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-feature-track
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-hotfix-delete
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-hotfix-finish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-hotfix-publish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-hotfix-start
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# $3 The full branch name (including the feature prefix)
# $4 The base from which this feature is started
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-release-branch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-release-delete
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-release-finish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-release-publish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-release-start
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# $3 The full branch name (including the release prefix)
# $4 The base from which this release is started
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/post-flow-release-track
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-feature-delete
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-feature-finish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-feature-publish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-feature-pull
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The remote to pull from
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
REMOTE=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-feature-start
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# $3 The full branch name (including the feature prefix)
# $4 The base from which this feature is started
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-feature-track
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-hotfix-delete
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-hotfix-finish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-hotfix-publish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the feature prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-hotfix-start
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# $3 The full branch name (including the feature prefix)
# $4 The base from which this feature is started
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-release-branch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-release-delete
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-release-finish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-release-publish
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
NAME=$1
ORIGIN=$2
BRANCH=$3
Expand Down
5 changes: 5 additions & 0 deletions hooks/pre-flow-release-start
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# $3 The full branch name (including the release prefix)
# $4 The base from which this release is started
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
#
VERSION=$1
ORIGIN=$2
BRANCH=$3
Expand Down
Loading

0 comments on commit 03b61ef

Please sign in to comment.