From 454a2f61cf8f008c76acb6404caec69ba5d3007b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 6 Nov 2014 11:17:50 -0500 Subject: [PATCH] Commands for tags and branching. --- src.asc | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) 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. -- 2.43.0