Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated guard_ docs for clarity

  • Loading branch information...
commit a30f84a94e72958624fa8cc7f95c6321ab8fde89 1 parent f3b7577
@jrochkind authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 README.md
View
11 README.md
@@ -51,11 +51,12 @@ your recipe in deploy.rb:
before "deploy", "git:guard_committed", "git:guard_pushed"
-Or use just one or the other -- `guard_committed` makes sure you have no
-uncommitted changes, and makes sure your current working copy branch matches
-the branch Cap is using (if any). `guard_pushed` makes sure the current working
-copy branch (or local branch matching Cap :branch, if set) matches the upstream
-remote version.
+Or use just one or the other
+
+* `guard_committed` makes sure you have no uncommitted changes. _IF_ you have a :branch set
+ in your cap recipe, it will also make sure your curent checkout matches that branch.
+* `guard_pushed` makes sure the current working copy branch (or local branch matching Cap
+ :branch, if set) matches the upstream remote version.
## Automatically tag on deploy
Please sign in to comment.
Something went wrong with that request. Please try again.