]> thyrsus.com Git - src.git/commitdiff
Commands for tags and branching.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 6 Nov 2014 16:17:50 +0000 (11:17 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 6 Nov 2014 16:17:50 +0000 (11:17 -0500)
src.asc

diff --git a/src.asc b/src.asc
index 20d5965c5e52f6cf15f908e9e48fd58c905c7a11..06026ddcfcc4356ce4516da19bc0423d869d79bd 100644 (file)
--- a/src.asc
+++ b/src.asc
@@ -24,24 +24,34 @@ because the committer is always you.
 == COMMAND SUMMARY ==
 
 A revision spec is a 1-origin integer N, or a range literal M..N.
+Revisions can be designated by named tags
+
+src help [command]
+   Displays help for commands.
 
 src init::
    Creates a .src directory if none already exists
 
-src add [files...]
+src add ['file'...]
    Initialize new project histories for specified files.
 
-src commit [files...]
+src commit ['revison-spec'] ['file'...]
    Enters a commit for specified files. Separately to each one.
 
-src log [revision-spec] [files...]
+src branch [delete] ['branchname']
+   Create, switch to, or delete a branch. With no arguments, list branches.
+
+src tag [delete] ['tagname'] ['revspec']
+   Create, switch to, or delete a tag. With no arguments, list tags.
+
+src log ['revision-spec'] ['file'...]
    Sends log information about the specified files to standard output.
 
-src diff [revision-spec] [file...]
+src diff ['revision-spec'] ['file'...]
    Sends a diff listing to standard output
 
-src fast-export [file...]
-   Export one or more project files as a git fast-import stream.
+src fast-export ['file'...]
+   Export one or more projects as a git fast-import stream.
 
 If there is only one project in the directory the file argument need
 not be specified.