summaryrefslogtreecommitdiff
path: root/demo-script
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-19 01:19:42 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-19 01:19:42 +0300
commit65b4503050ae57b86abe9f0442d8e6bb71e70653 (patch)
tree11707f86a89564436fe4876dfa4bf9335c362421 /demo-script
parentadded renamed files detection (diff)
downloadgit-prompt-65b4503050ae57b86abe9f0442d8e6bb71e70653.tar.gz
git-prompt-65b4503050ae57b86abe9f0442d8e6bb71e70653.tar.bz2
git-prompt-65b4503050ae57b86abe9f0442d8e6bb71e70653.zip
demo-script
Diffstat (limited to 'demo-script')
-rw-r--r--demo-script9
1 files changed, 2 insertions, 7 deletions
diff --git a/demo-script b/demo-script
index 99e952c..43f1c7f 100644
--- a/demo-script
+++ b/demo-script
@@ -2,13 +2,8 @@
test -d demo && rm -rf demo/
test -d ../demo && cd .. && rm -rf demo/
clear
-################################################################
-# prompt part related to git is inside (). "M" stands for master.
-# Intersting files are shown and colored according to git state.
-# Red - modified, green - added to index, blue - untracked,
-# magenta - operation in progress (merge, rebase, ...)
-#################################################################
-mkdir demo; cd demo
+mkdir demo
+cd demo
git init
echo "1st line" > file
git add file