forked from nvie/gitflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make git-flow-version a first-class citizen amongst the other subcomm…
…ands.
- Loading branch information
Showing
3 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
# | ||
# git-flow -- A collection of Git extensions to provide high-level | ||
# repository operations for Vincent Driessen's branching model. | ||
# | ||
# Original blog post presenting this model is found at: | ||
# http://nvie.com/archives/323 | ||
# | ||
# Feel free to contribute to this project at: | ||
# http://github.com/nvie/gitflow | ||
# | ||
# Copyright (c) 2010 by Vincent Driessen | ||
# Copyright (c) 2010 by Benedikt Böhm | ||
# | ||
GITFLOW_VERSION=0.2-dirty | ||
|
||
usage() { | ||
echo "usage: git flow version" | ||
} | ||
|
||
cmd_help() { | ||
usage | ||
exit 0 | ||
} | ||
|
||
cmd_default() { | ||
echo "$GITFLOW_VERSION" | ||
} |