Merge pull request #160 from Zoramite/feature/Issue50
Adding the `eval` to force variable expansion.
diff --git a/README.mdown b/README.mdown
index 70d944d..45b8965 100644
--- a/README.mdown
+++ b/README.mdown
@@ -83,13 +83,15 @@
To initialize a new repo with the basic branch structure, use:
- git flow init
+ git flow init [-d]
This will then interactively prompt you with some questions on which branches
you would like to use as development and production branches, and how you
would like your prefixes be named. You may simply press Return on any of
those questions to accept the (sane) default suggestions.
+The ``-d`` flag will accept all defaults.
+
### Creating feature/release/hotfix/support branches
@@ -101,6 +103,11 @@
For feature branches, the `<base>` arg must be a commit on `develop`.
+* To push/pull a feature branch to the remote repository, use:
+
+ git flow feature publish <name>
+ git flow feature pull <remote> <name>
+
* To list/start/finish release branches, use:
git flow release
diff --git a/gitflow-common b/gitflow-common
index fb515de..4834cf1 100644
--- a/gitflow-common
+++ b/gitflow-common
@@ -45,7 +45,7 @@
die() { warn "$@"; exit 1; }
escape() {
- echo "$1" | sed 's/\([\.\+\$\*]\)/\\\1/g'
+ echo "$1" | sed 's/\([\.\$\*]\)/\\\1/g'
}
# set logic