Skip to content

Commit eb776e2

Browse files
Add hook files
1 parent a218db3 commit eb776e2

6 files changed

Lines changed: 128 additions & 0 deletions

hooks/post-flow-bugfix-delete

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
#
3+
# Runs at the end of git flow bugfix delete
4+
#
5+
# Positional arguments:
6+
# $1 The version (including the version prefix)
7+
# $2 The origin remote
8+
# $3 The full branch name (including the bugfix prefix)
9+
#
10+
# The following variables are available as they are exported by git-flow:
11+
#
12+
# MASTER_BRANCH - The branch defined as Master
13+
# DEVELOP_BRANCH - The branch defined as Develop
14+
#
15+
VERSION=$1
16+
ORIGIN=$2
17+
BRANCH=$3
18+
19+
# Implement your script here.
20+
21+
exit 0

hooks/post-flow-bugfix-finish

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
#
3+
# Runs at the end of git flow bugfix finish
4+
#
5+
# Positional arguments:
6+
# $1 The friendly name of the branch
7+
# $2 The origin remote
8+
# $3 The full branch name (including the bugfix prefix)
9+
#
10+
# The following variables are available as they are exported by git-flow:
11+
#
12+
# MASTER_BRANCH - The branch defined as Master
13+
# DEVELOP_BRANCH - The branch defined as Develop
14+
#
15+
NAME=$1
16+
ORIGIN=$2
17+
BRANCH=$3
18+
19+
# Implement your script here.
20+
21+
exit 0

hooks/post-flow-bugfix-publish

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
#
3+
# Runs at the end of git flow bugfix publish
4+
#
5+
# Positional arguments:
6+
# $1 The friendly name of the branch
7+
# $2 The origin remote
8+
# $3 The full branch name (including the bugfix prefix)
9+
#
10+
# The following variables are available as they are exported by git-flow:
11+
#
12+
# MASTER_BRANCH - The branch defined as Master
13+
# DEVELOP_BRANCH - The branch defined as Develop
14+
#
15+
NAME=$1
16+
ORIGIN=$2
17+
BRANCH=$3
18+
19+
# Implement your script here.
20+
21+
exit 0

hooks/post-flow-bugfix-pull

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
#
3+
# Runs at the end of git flow bugfix pull.
4+
#
5+
# Positional arguments:
6+
# $1 The friendly name of the branch
7+
# $2 The remote to pull from
8+
# $3 The full branch name (including the bugfix prefix)
9+
#
10+
# The following variables are available as they are exported by git-flow:
11+
#
12+
# MASTER_BRANCH - The branch defined as Master
13+
# DEVELOP_BRANCH - The branch defined as Develop
14+
#
15+
NAME=$1
16+
REMOTE=$2
17+
BRANCH=$3
18+
19+
# Implement your script here.
20+
21+
exit 0

hooks/post-flow-bugfix-start

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/sh
2+
#
3+
# Runs at the end of git flow bugfix start
4+
#
5+
# Positional arguments:
6+
# $1 The friendly name of the branch
7+
# $2 The origin remote
8+
# $3 The full branch name (including the bugfix prefix)
9+
# $4 The base from which this bugfix is started
10+
#
11+
# The following variables are available as they are exported by git-flow:
12+
#
13+
# MASTER_BRANCH - The branch defined as Master
14+
# DEVELOP_BRANCH - The branch defined as Develop
15+
#
16+
NAME=$1
17+
ORIGIN=$2
18+
BRANCH=$3
19+
BASE=$4
20+
21+
# Implement your script here.
22+
23+
exit 0

hooks/post-flow-bugfix-track

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/sh
2+
#
3+
# Runs at the end of git flow bugfix track
4+
#
5+
# Positional arguments:
6+
# $1 The friendly name of the branch
7+
# $2 The origin remote
8+
# $3 The full branch name (including the bugfix prefix)
9+
#
10+
# The following variables are available as they are exported by git-flow:
11+
#
12+
# MASTER_BRANCH - The branch defined as Master
13+
# DEVELOP_BRANCH - The branch defined as Develop
14+
#
15+
NAME=$1
16+
ORIGIN=$2
17+
BRANCH=$3
18+
19+
# Implement your script here.
20+
21+
exit 0

0 commit comments

Comments
 (0)