Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
gitflow
Commits
96f44c07
Commit
96f44c07
authored
Jan 26, 2010
by
Benedikt Böhm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make branch prefixes configurable
parent
350e7159
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
TODO.mdown
TODO.mdown
+0
-2
git-flow-feature
git-flow-feature
+2
-1
git-flow-hotfix
git-flow-hotfix
+2
-1
git-flow-release
git-flow-release
+2
-1
git-flow-support
git-flow-support
+2
-1
No files found.
TODO.mdown
View file @
96f44c07
...
@@ -3,8 +3,6 @@ TODO-list
...
@@ -3,8 +3,6 @@ TODO-list
General configuration
General configuration
---------------------
---------------------
- Support configurable naming conventions (i.e. name prefixes) for supporting
branches, instead of fixed 'release-\*' and 'hotfix-\*'
Release branch support
Release branch support
----------------------
----------------------
...
...
git-flow-feature
View file @
96f44c07
...
@@ -40,7 +40,8 @@ parse_args() {
...
@@ -40,7 +40,8 @@ parse_args() {
usage
usage
exit 1
exit 1
fi
fi
BRANCH=feature/$NAME
PREFIX=$(git config --get gitflow.prefix.feature || echo feature/)
BRANCH=$PREFIX$NAME
}
}
cmd_help() {
cmd_help() {
...
...
git-flow-hotfix
View file @
96f44c07
...
@@ -35,7 +35,8 @@ parse_args() {
...
@@ -35,7 +35,8 @@ parse_args() {
usage
usage
exit 1
exit 1
fi
fi
BRANCH=hotfix/$VERSION
PREFIX=$(git config --get gitflow.prefix.hotfix || echo hotfix/)
BRANCH=$PREFIX$VERSION
}
}
cmd_help() {
cmd_help() {
...
...
git-flow-release
View file @
96f44c07
...
@@ -35,7 +35,8 @@ parse_args() {
...
@@ -35,7 +35,8 @@ parse_args() {
usage
usage
exit 1
exit 1
fi
fi
BRANCH=release/$VERSION
PREFIX=$(git config --get gitflow.prefix.release || echo release/)
BRANCH=$PREFIX$VERSION
}
}
cmd_help() {
cmd_help() {
...
...
git-flow-support
View file @
96f44c07
...
@@ -24,7 +24,8 @@ parse_args() {
...
@@ -24,7 +24,8 @@ parse_args() {
usage
usage
exit 1
exit 1
fi
fi
BRANCH=support/$VERSION
PREFIX=$(git config --get gitflow.prefix.support || echo support/)
BRANCH=$PREFIX$VERSION
}
}
cmd_help() {
cmd_help() {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment