From c1062e94d037aa6bbb37ff58d24f37c30bc1e52b Mon Sep 17 00:00:00 2001 From: Leonid Volnitsky Date: Sat, 22 Nov 2008 17:16:54 +0200 Subject: converted wiki to asciidoc --- index.txt | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 index.txt (limited to 'index.txt') diff --git a/index.txt b/index.txt new file mode 100644 index 0000000..2a77e7a --- /dev/null +++ b/index.txt @@ -0,0 +1,38 @@ += GIT Prompt + +Get it from github: http://github.com/lvv/git-prompt/tree/master/git-prompt.sh[git-prompt.sh] + + git clone + +More info in http://github.com/lvv/git-prompt/tree/master/README[README] + + +== Basic Usage + +image:screenshot-prompt-basic.png[basic usage] + +[red]*1* is `false(1)` exit code. Hosts are colored as configured in `git-prompt.sh` file. + + +== GIT + +Branch and files are colored according to state. "M" stands for master. + +[cols="3,8",frame="topbot",options="header"] +|================================================================ +| Color | Meaning +| [green]#green# | Modified or new file. Modifications are in index but not in repo yet. +| [red]#red# | Modified and tracked by repo, but modifications not added to index yet. +| [lightblue]#light blue# | Untracked file. +| [darkblue]#blue branch# | Clean +| [red]#red# or [magenta]#magenta# branch | In middle of doing something or detached head. +|================================================================ + +image:screenshot-prompt-git.png[git module] + +== Subversion + +... + +== Labels + +... -- cgit v1.2.3