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
7d703a83
Commit
7d703a83
authored
Jan 26, 2010
by
Benedikt Böhm
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
git://github.com/nvie/gitflow
into develop
Conflicts: gitflow
parents
d2240e40
4aaec2f7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
20 deletions
+59
-20
README.mdown
README.mdown
+39
-17
bump-version
bump-version
+13
-0
git-flow
git-flow
+6
-3
git-flow-version
git-flow-version
+1
-0
No files found.
README.mdown
View file @
7d703a83
...
...
@@ -4,29 +4,51 @@ A collection of Git wrapper scripts to provide high-level repository operations
for Vincent Driessen's [branching model](http://nvie.com/archives/323 "original
blog post").
Please help out
---------------
This project is yet unimplemented. And yes, I mean unimplemented. There are no
scripts yet, but I will use this README file as the "design document" for now,
so people may start collaborating on it.
Feel free to fork this repo and to commit your additions.
Release 0.1
-----------
A quick release of version 0.1 has arrived. The main script are functional and
should be usable under "normal" use.
There have barely been any real-world tests, but I encourage you to start using
it actively. [Feedback](http://github.com/nvie/gitflow/issues) is also very
welcome. See the "Please help out" section below, also.
**Make sure to validate the modifications to your repo after running any of the
`gitflow` commands, before pushing them permanently.**
Installing gitflow
------------------
There isn't a real Unix installer available, but the project is so small that
installing it is easy.
Commands
--------
Initially, the following subcommands to `gitflow` should be created:
Either:
* `start`
* `finish`
- Put the `gitflow` directory anywhere on your Unix `PATH` variable; or
- Run:
Those subcommands could work on branch types:
$ git clone git://github.com/nvie/gitflow
$ cd gitflow
$ cp gitflow* /usr/local/bin
Please help out
---------------
This project is still under development. What is available today is merely its
foundation. However, it is functional in its current form and should be usable
under normal use. (Don't try to create multiple release branches next to each
other and stuff like that, yet.)
Feedback and suggestions are very welcome and I encourage you to use the
[Issues list](http://github.com/nvie/gitflow/issues) on Github to provide that
feedback.
Feel free to fork this repo and to commit your additions.
* `feature`
* `release`
* `hotfix`
Example
s
--------
Example
uses:
--------
-----
* To start a new feature branch, use:
...
...
bump-version
0 → 100755
View file @
7d703a83
#!/bin/sh
usage
()
{
echo
"usage: bump-version <version-id>"
}
if
[
$#
-ne
1
]
;
then
usage
exit
1
fi
echo
"GITFLOW_VERSION=
$1
"
>
gitflow-version
git add gitflow-version
git commit
-m
"Bumped version number to
$1
"
gitflow-version
git-flow
View file @
7d703a83
...
...
@@ -28,11 +28,14 @@ die() { warn "$@"; exit 1; }
has
()
{
[[
"
${
*
:2
}
"
==
*
"
$1
"
*
]]
;
}
usage
()
{
echo
"usage: git flow <cmd> <btype> <args>"
.
"
$GITFLOW_DIR
/git-flow-version"
echo
"gitflow, version
$GITFLOW_VERSION
"
echo
echo
"
<btype> can be any of: feature, release, hotfix, support
"
echo
"
usage: git flow <cmd> <type> <args>
"
echo
echo
"Try 'git flow help <btype>' for details."
echo
"<type> can be any of: feature, release, hotfix, support"
echo
echo
"Try 'git flow help <type>' for details."
}
main
()
{
...
...
git-flow-version
0 → 100644
View file @
7d703a83
GITFLOW_VERSION=0.1
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