From: Dominik Vogt Date: Thu, 27 Dec 2007 12:44:33 +0000 (+0100) Subject: Added examples to tig(1) manpage X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d3e4750b4a590f60076a0def184c48872638d27d;p=tig.git Added examples to tig(1) manpage Signed-off-by: Jonas Fonseca --- 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::