From: Eric S. Raymond Date: Thu, 6 Nov 2014 16:17:50 +0000 (-0500) Subject: Commands for tags and branching. X-Git-Tag: 0.1~36 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=454a2f61cf8f008c76acb6404caec69ba5d3007b;p=src.git Commands for tags and branching. --- diff --git a/src.asc b/src.asc index 20d5965..06026dd 100644 --- 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.