summaryrefslogtreecommitdiff
path: root/git-demo
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2009-06-01 06:59:36 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2009-06-01 07:53:12 +0300
commit064bee710b23d87ccdb4a65bed3ed4cbc55c07e9 (patch)
tree3ded07f45953989772d835cd6dc4630abd96861a /git-demo
parent-- optimization: one time processing moved to post-config (diff)
downloadgit-prompt-064bee710b23d87ccdb4a65bed3ed4cbc55c07e9.tar.gz
git-prompt-064bee710b23d87ccdb4a65bed3ed4cbc55c07e9.tar.bz2
git-prompt-064bee710b23d87ccdb4a65bed3ed4cbc55c07e9.zip
-- dir, docs cleanup
Diffstat (limited to 'git-demo')
-rw-r--r--git-demo37
1 files changed, 0 insertions, 37 deletions
diff --git a/git-demo b/git-demo
deleted file mode 100644
index ca33522..0000000
--- a/git-demo
+++ /dev/null
@@ -1,37 +0,0 @@
-set +xv
-. /t/prompt/prompt
-test -d demo && rm -rf demo/
-test -d ../demo && cd .. && rm -rf demo/
-clear
-: ------------------------------------------------------------------------
-mkdir demo
-cd demo
-git init
-echo 'main() {puts("Hello World!");}' > hello.c
-make hello && ./hello
-git add hello.c
-git commit -q -m "1st hello"
-git checkout -b universe; git clean -f
-echo 'main() {puts("Hello Universe!");}' > hello.c
-git add hello.c
-echo "// FIXME: includes" >> hello.c
-git add hello.c
-git commit -q -m "notes to self"
-git checkout master
-cat hello.c
-echo 'main() {puts("Hello Universe!"); exit(0);}' > hello.c
-git add hello.c
-git commit -q -m "fixed exit code"
-git merge universe
-git cat-file -p universe:hello.c > hello.c
-git add hello.c
-git commit -q -m "merged"
-cat hello.c
-git checkout HEAD^
-git checkout HEAD^
-cat hello.c
-git checkout master
-sleep 2; echo "this emulates unsaved vim session" > .hello.c.swp
-git clean -f
-: ------------------------------------------------------------------------
-cd ..