summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <bremner@unb.ca>2011-11-12 00:48:49 -0500
committerDavid Bremner <bremner@unb.ca>2011-11-12 00:48:49 -0500
commitf760d9c3671f054afc10ff4fbba5fab413613982 (patch)
tree302a987c921ef81f70606b78c4933f4bbae5e2f9
parent2dd16cdbcb40ef75184bc2accd506a5ad9d2f1c8 (diff)
give an expanded version of nmbug example
show the use of status, and fetch+merge in place of pull
-rw-r--r--nmbug.mdwn33
1 files changed, 28 insertions, 5 deletions
diff --git a/nmbug.mdwn b/nmbug.mdwn
index 43290b2..2b217cc 100644
--- a/nmbug.mdwn
+++ b/nmbug.mdwn
@@ -13,7 +13,7 @@
git clone --bare git://pivot.cs.unb.ca/nmbug.git $HOME/.nmbug
-## Using nmbug
+## Using nmbug, simple example
# get the latest version of the tags
$ nmbug pull
@@ -22,13 +22,36 @@
$ notmuch tag +notmuch::patch $id
- # optionally inspect your changes
- $ nmbug status
- A tags/$id/patch
-
# write the tag changes from the notmuch
$ nmbug commit
+
+## Using nmbug, doing the same thing with more steps
+
+ # get the latest version of the tags
+ $ nmbug fetch
+
+ # Optionally inspect the fetched changes
+
+ $ nmbug status
+ a tags/id1/patch
+ d tags/id2/pushed
+
+ # merge the fetched tags into notmuch
+ $ nmbug merge
+ # observe status is clear now,
+ $ nmbug status
+
+ # make the tag changes
+ $ notmuch tag +notmuch::patch id
+
+ # double checkout your changes
+ $ nmbug status
+ A tags/id/patch
+
+ # write the tag changes
+ $ nmbug commit
+
## Submitting tags.
For the moment, we are using a central repo, hosted at