From d3e4750b4a590f60076a0def184c48872638d27d Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Thu, 27 Dec 2007 13:44:33 +0100 Subject: [PATCH] Added examples to tig(1) manpage Signed-off-by: Jonas Fonseca --- tig.1.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/tig.1.txt b/tig.1.txt index ea85954..778be9b 100644 --- a/tig.1.txt +++ b/tig.1.txt @@ -76,6 +76,39 @@ show:: $ tig tag-1.0..HEAD +EXAMPLES +-------- + +Display the current branch: +----------------------------------------------------------------------------- +$ tig +----------------------------------------------------------------------------- + +Display one or more specific branches: +----------------------------------------------------------------------------- +$ tig test master +----------------------------------------------------------------------------- + +Display all branches: +----------------------------------------------------------------------------- +$ tig -- --all +----------------------------------------------------------------------------- + +Display differences between two branches: +----------------------------------------------------------------------------- +$ tig test..master +----------------------------------------------------------------------------- + +Display changes for a single file: +----------------------------------------------------------------------------- +$ tig -- README +----------------------------------------------------------------------------- + +Display revisions between two dates for a specific file: +----------------------------------------------------------------------------- +$ tig -- --after "2004-01-01" --before="2006-05-16" -- README +----------------------------------------------------------------------------- + ENVIRONMENT VARIABLES --------------------- TIG_LS_REMOTE:: -- 2.30.2